Fix #364
This commit is contained in:
parent
bb824a0934
commit
d1a5d666f4
|
@ -1090,8 +1090,6 @@ captive_portal_set_routes() {
|
||||||
# Activate system IPV4 packet routing/forwarding.
|
# Activate system IPV4 packet routing/forwarding.
|
||||||
sysctl -w net.ipv4.ip_forward=1 &>$FLUXIONOutputDevice
|
sysctl -w net.ipv4.ip_forward=1 &>$FLUXIONOutputDevice
|
||||||
|
|
||||||
iptables-save >"$FLUXIONWorkspacePath/iptables-rules"
|
|
||||||
|
|
||||||
iptables --flush
|
iptables --flush
|
||||||
iptables --table nat --flush
|
iptables --table nat --flush
|
||||||
iptables --delete-chain
|
iptables --delete-chain
|
||||||
|
|
2
fluxion
2
fluxion
|
@ -202,6 +202,8 @@ source "$FLUXIONPath/language/en.sh"
|
||||||
fluxion_startup() {
|
fluxion_startup() {
|
||||||
if [ "$FLUXIONDebug" ]; then return 1; fi
|
if [ "$FLUXIONDebug" ]; then return 1; fi
|
||||||
|
|
||||||
|
# Make sure that we save the iptable files
|
||||||
|
iptables-save >"$FLUXIONWorkspacePath/iptables-rules"
|
||||||
local banner=()
|
local banner=()
|
||||||
|
|
||||||
format_center_literals \
|
format_center_literals \
|
||||||
|
|
Loading…
Reference in New Issue