on laisse le ping vers la borne
darcs-hash:20041114092820-4ec08-d1b70fcbb4ef213a6af2e7e2fd3a5fa2e3e6a123.gz
This commit is contained in:
parent
1252255ac0
commit
8e278a8127
1 changed files with 2 additions and 1 deletions
|
@ -106,7 +106,8 @@ iptables -F -t nat
|
|||
iptables -X -t nat
|
||||
iptables -P FORWARD ACCEPT
|
||||
iptables -t nat -P PREROUTING DROP
|
||||
iptables -t nat -A PREROUTING -i vlan0 -j ACCEPT
|
||||
iptables -t nat --protocol icmp -j ACCEPT
|
||||
iptables -t nat -A PREROUTING -i vlan0 -d 192.169.0.1 -j ACCEPT
|
||||
iptables -t nat -A PREROUTING -i vlan1 -s ! 138.231.136.10 -p tcp --dport 80 -j DNAT --to 138.231.136.10:3128
|
||||
EOF
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue