Reply To: static NAT not working

Home Page Forums Network Management Networking static NAT not working Reply To: static NAT not working

#51180

mirza
Member

Sorry the forgot to post the output of iptables -t nat -L -v

here it is:–

root@gateway root> iptables -t nat -L -v
Chain PREROUTING (policy ACCEPT 224 packets, 15722 bytes)
pkts bytes target prot opt in out source destination
0 0 DNAT all — ETH00 any anywhere 87.101.232.34 to:172.26.1.1
0 0 DNAT all — ETH00 any anywhere 87.101.232.37 to:172.26.1.38
0 0 DNAT all — ETH00 any anywhere 87.101.232.36 to:172.26.1.61

Chain POSTROUTING (policy ACCEPT 289 packets, 21092 bytes)
pkts bytes target prot opt in out source destination
0 0 SNAT all — any ETH00 172.26.1.0/24 anywhere to:87.101.232.34
0 0 SNAT all — any ETH00 172.26.1.38 anywhere to:87.101.232.37
0 0 SNAT all — any ETH00 172.26.1.61 anywhere to:87.101.232.36
289 21092 SNATVS all — any any anywhere anywhere

Chain OUTPUT (policy ACCEPT 289 packets, 21092 bytes)
pkts bytes target prot opt in out source destination

Chain SNATVS (1 references)
pkts bytes target prot opt in out source destination