Reply To: static NAT not working

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

#51185

mirza
Member

Hi ppalias, here is the output, i am sorry to say the counter is 0, i tried nat with my cisco router it’s working fine but with zeroshell it not. maybe is it with the version of zeroshell 13 beta? or maybe some settings in the firewall which i am missing.

root@gateway root> iptables -t nat -L -v
Chain PREROUTING (policy ACCEPT 1358 packets, 161K bytes)
pkts bytes target prot opt in out source destination
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
77 17118 Proxy tcp — any any anywhere anywhere tcp dpt:http

Chain POSTROUTING (policy ACCEPT 699 packets, 51903 bytes)
pkts bytes target prot opt in out source destination
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
699 51903 SNATVS all — any any anywhere anywhere

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

Chain Proxy (1 references)
pkts bytes target prot opt in out source destination
77 17118 REDIRECT tcp — ETH01 any anywhere anywhere redir ports 8080

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