NAT 구현중 궁금사항 [IPTables 관련]
NAT를 구현하려고 하는데 참조하고 있는 target을 보니까 아래와 같이 DNAT가 없네요.
어떻게 된건지 설명좀 부탁드립니다.~
/proc/net/nat # iptables -L -v -t nat
Chain PREROUTING (policy ACCEPT 12105 packets, 709K bytes)
pkts bytes target prot opt in out source destination
11072 621K MINIUPNPD all -- wan any anywhere anywhere
10897 609K NAT_FOR_NAPT all -- wan any anywhere anywhere
Chain POSTROUTING (policy ACCEPT 94 packets, 24243 bytes)
pkts bytes target prot opt in out source destination
11 866 LOCAL_PUBLIC all -- any any anywhere anywhere
11 866 WAN_DUAL_IP all -- any any anywhere anywhere
Chain OUTPUT (policy ACCEPT 321 packets, 75297 bytes)
pkts bytes target prot opt in out source destination
Chain LOCAL_PUBLIC (1 references)
pkts bytes target prot opt in out source destination
Chain MINIUPNPD (1 references)
pkts bytes target prot opt in out source destination
Chain NAT_FOR_NAPT (1 references)
pkts bytes target prot opt in out source destination
Chain WAN_DUAL_IP (1 references)
pkts bytes target prot opt in out source destination
0 0 DROP udp -- any wan anywhere anywhere udp spt:bootps
0 0 ACCEPT udp -- any wan anywhere anywhere udp spt:bootpc
0 0 ACCEPT all -- any wan 150.132.140.3 anywhere
2 142 ACCEPT all -- any wan 192.168.10.145 anywhere
7 342 SNAT all -- any wan anywhere anywhere to:150.132.140.3
/proc/net/nat #
댓글 달기