mirror of
https://github.com/iiab/iiab.git
synced 2025-02-14 20:22:08 +00:00
Merge pull request #1691 from holta/firewall-usability
Fix Typo: enable masquerade only when "$lan" != "none" (typo fixed)
This commit is contained in:
commit
b254d8a7c0
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