Firewall is a network security system that monitors and controls incoming and outgoing network traffic based on predetermined security rules.
Overview
외부에서 홈 서버로 접근이 가능하다면 서버의 보안을 위해 방화벽을 설정하는 것이 좋다. 우분투는 기본적으로 ufw를 라는 방화벽 관리 툴을 제공하는데, 이는 iptables 를 쉽게 설정하도록 하는 역활을 할 뿐이다.
The Uncomplicated Firewall (ufw) is a frontend for iptables and is particularly well-suited for host-based firewalls. ufw aims to provide an easy to use interface for people unfamiliar with firewall concepts, while at the same time simplifies complicated iptables commands to help an adminstrator who knows what he or she is doing.
ufw를 통해 방화벽 설정을 하는 것보다 iptables를 직접 다루는게 직관적이므로 ufw를 제거하고 iptables로 방화벽을 직접 설정할 것이다.