Advertisement
Guest User

Untitled

a guest
Jul 20th, 2017
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.81 KB | None | 0 0
  1.  iptables -t nat -L
  2. Chain PREROUTING (policy ACCEPT)
  3. target     prot opt source               destination
  4. DNAT       tcp  --  anywhere             192.168.0.104       tcp dpt:4499 to:172.16.235.10:4499
  5. DNAT       udp  --  anywhere             192.168.0.104       udp dpt:4499 to:172.16.235.10:4499
  6. DNAT       tcp  --  anywhere             192.168.0.104       tcp dpt:webcache to:172.16.235.10:8080
  7. DNAT       udp  --  anywhere             192.168.0.104       udp dpt:webcache to:172.16.235.10:8080
  8. DNAT       tcp  --  anywhere             172.16.1.6          tcp dpt:acr-nema to:192.168.0.125:104
  9.  
  10. Chain POSTROUTING (policy ACCEPT)
  11. target     prot opt source               destination
  12. MASQUERADE  all  --  192.168.0.0/24       anywhere
  13.  
  14. Chain OUTPUT (policy ACCEPT)
  15. target     prot opt source               destination
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement