mirror of
https://github.com/iiab/iiab.git
synced 2025-02-13 11:42:08 +00:00
enable masquerade only when "$lan" != "none" (typo fixed)
This commit is contained in:
parent
7fa7d1d40a
commit
a55c7150e8
1 changed files with 1 additions and 1 deletions
|
@ -164,7 +164,7 @@ if [ "$wan" != "none" ]; then
|
|||
fi
|
||||
|
||||
# Typically False, to keep client machines (e.g. students) off the Internet
|
||||
if [ "$iiab_gateway_enabled" == "True" ] && [ "$lan" == "none" ]; then
|
||||
if [ "$iiab_gateway_enabled" == "True" ] && [ "$lan" != "none" ]; then
|
||||
$IPTABLES -A POSTROUTING -t nat -o $wan -j MASQUERADE
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in a new issue