Advertisement
Guest User

Untitled

a guest
Apr 17th, 2014
37
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.72 KB | None | 0 0
  1. root@ubuntu:/home/sam# iptables -n -t nat -L
  2. Chain PREROUTING (policy ACCEPT)
  3. target prot opt source destination
  4.  
  5. Chain INPUT (policy ACCEPT)
  6. target prot opt source destination
  7.  
  8. Chain OUTPUT (policy ACCEPT)
  9. target prot opt source destination
  10.  
  11. Chain POSTROUTING (policy ACCEPT)
  12. target prot opt source destination
  13. MASQUERADE tcp -- 192.168.122.0/24 !192.168.122.0/24 masq ports: 1024-65535
  14. MASQUERADE udp -- 192.168.122.0/24 !192.168.122.0/24 masq ports: 1024-65535
  15. MASQUERADE all -- 192.168.122.0/24 !192.168.122.0/24
  16. MASQUERADE all -- 10.0.3.0/24 !10.0.3.0/24
  17.  
  18. ssh sam@10.0.2.2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement