je me suis tromp de ligne pour la destination
darcs-hash:20041114104040-4ec08-16f9912cd63f621daf79f66e7f076009358bb469.gz
This commit is contained in:
parent
8e278a8127
commit
b7a06a5a28
1 changed files with 2 additions and 2 deletions
|
@ -106,8 +106,8 @@ iptables -F -t nat
|
|||
iptables -X -t nat
|
||||
iptables -P FORWARD ACCEPT
|
||||
iptables -t nat -P PREROUTING DROP
|
||||
iptables -t nat --protocol icmp -j ACCEPT
|
||||
iptables -t nat -A PREROUTING -i vlan0 -d 192.169.0.1 -j ACCEPT
|
||||
iptables -t nat --protocol icmp -d 192.169.0.1 -j ACCEPT
|
||||
iptables -t nat -A PREROUTING -i vlan0 -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