Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root@ubuntu:/home/sam# iptables -n -t nat -L
- Chain PREROUTING (policy ACCEPT)
- target prot opt source destination
- Chain INPUT (policy ACCEPT)
- target prot opt source destination
- Chain OUTPUT (policy ACCEPT)
- target prot opt source destination
- Chain POSTROUTING (policy ACCEPT)
- target prot opt source destination
- MASQUERADE tcp -- 192.168.122.0/24 !192.168.122.0/24 masq ports: 1024-65535
- MASQUERADE udp -- 192.168.122.0/24 !192.168.122.0/24 masq ports: 1024-65535
- MASQUERADE all -- 192.168.122.0/24 !192.168.122.0/24
- MASQUERADE all -- 10.0.3.0/24 !10.0.3.0/24
- ssh sam@10.0.2.2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement