search for: lan_scop

Displaying 1 result from an estimated 1 matches for "lan_scop".

Did you mean: lan_scope
2006 Jan 30
1
Shared ADSL SHAPER
...iptables -X iptables -t nat -F iptables -t nat -X iptables -t mangle -F iptables -t mangle -X #Setup default policies to handle unmatched traffic iptables -P INPUT ACCEPT iptables -P OUTPUT ACCEPT iptables -P FORWARD DROP #Copy and paste these examples ... export LAN=eth0 export WAN=eth1 export LAN_SCOPE="10.0.0.0/24" #Then we lock our services so they only work from the LAN iptables -I INPUT 1 -i ${LAN} -j ACCEPT iptables -I INPUT 1 -i lo -j ACCEPT iptables -A INPUT -p UDP --dport bootps -i ! ${LAN} -j REJECT iptables -A INPUT -p UDP --dport domain -i ! ${LAN} -j REJECT #(Optional) Al...