Update fluxion

This commit is contained in:
William Todt 2016-03-08 19:17:45 +04:00
parent b8541a70d7
commit 0eb4c6b5f6
1 changed files with 1 additions and 1 deletions

View File

@ -1471,8 +1471,8 @@ function routear {
iptables --delete-chain iptables --delete-chain
iptables --table nat --delete-chain iptables --table nat --delete-chain
iptables -P FORWARD ACCEPT iptables -P FORWARD ACCEPT
iptables -t nat -A PREROUTING -p tcp --dport 80 -j DNAT --to-destination $IP:80 iptables -t nat -A PREROUTING -p tcp --dport 80 -j DNAT --to-destination $IP:80
iptables -t nat -A PREROUTING -p tcp --dport 443 -j DNAT --to-destination $IP:443
iptables -t nat -A POSTROUTING -j MASQUERADE iptables -t nat -A POSTROUTING -j MASQUERADE
} }