Update fluxion
This commit is contained in:
parent
b8541a70d7
commit
0eb4c6b5f6
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue