1. pico masquerade
#!/bin/bash
iptables -F
iptables -X
iptables -P INPUT ACCEPT
iptables -P OUTPUT ACCEPT
iptables -P FORWARD ACCEPT
iptables -t nat -A POSTROUTING -s 192.168.7.0/24 -d 0/0 -j MASQUERADE
2.chmod u+x masquerade
3. ./masquerade
Thursday, February 9, 2012
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment