Displaying 1 result from an estimated 1 matches for "network_scheme".
2005 Apr 16
6
wishlist: ''none'' as source address in rules
...in different networks and use the following hack to
configure automatically shorewall for trusted/untrusted networks:
In /etc/shorewall/params:
# none is a dummy zone associated to the loopback interface
NONE="none:0.0.0.0"
# Network scheme, automatically detected by intuitively
NETWORK_SCHEME="$(cat /etc/network/scheme 2>/dev/null)"
case "$NETWORK_SCHEME" in
home)
TRUSTED_FTP="net:192.168.0.1"
TRUSTED_SMB="net:192.168.0.1,192.168.0.2"
;;
work)
TRUSTED_FTP="$NONE"
TRUSTED_...