편집
905
번
(새 문서: iptables -t nat -A POSTROUTING ! -d 192.168.1.0/24 -o enp3s0 -j MASQUERADE enp3s0 는 외부 네트워크로 연결된 어댑터의 이름이다.) |
|||
| 1번째 줄: | 1번째 줄: | ||
iptables -t nat -A POSTROUTING ! -d 192.168.1.0/24 -o enp3s0 -j MASQUERADE | iptables -t nat -A POSTROUTING ! -d 192.168.1.0/24 -o enp3s0 -j MASQUERADE | ||
/etc/rc.local 에 넣어 준다. | |||
enp3s0 는 외부 네트워크로 연결된 어댑터의 이름이다. | enp3s0 는 외부 네트워크로 연결된 어댑터의 이름이다. | ||