server (1) 썸네일형 리스트형 [Ubuntu Server] NAT Ubuntu Server 14.04 NAT 위의 그림처럼 서버1 에서 오른쪽 서버2 를 통하여 WAN을 사용하고 싶은 경우 서버1$ route add default gw 192.168.0.1route -n 을 통해 routing table 조회을 할 경우 default gateway가 192.168.0.1이여야 함 서버2$ modprobe iptable_nat서버2$ vi /etc/sysctl.confnet.ipv4.ip_forward=1 이전 1 다음