- iptables -N wanout
- iptables -I FORWARD -i `nvram get lan_ifname` -j wanout
- iptables -I wanout -s 192.168.1.2 -j ACCEPT
- iptables -I wanout -s 192.168.1.3 -j ACCEPT
- iptables -I wanout -s 192.168.1.4 -j ACCEPT
- iptables -I wanout -s 192.168.1.5 -j ACCEPT
- iptables -I wanout -s 192.168.1.6 -j ACCEPT
- iptables -I wanout -s 192.168.1.7 -j ACCEPT
- iptables -I wanout -s 192.168.1.8 -j ACCEPT
- iptables -I wanout -s 192.168.1.9 -j ACCEPT
- iptables -I wanout -s 192.168.1.10 -j ACCEPT
- iptables -I wanout -s 192.168.1.11 -j ACCEPT
- iptables -I wanout -s 192.168.1.12 -j ACCEPT
- iptables -I wanout -s 192.168.1.13 -j ACCEPT
- iptables -I wanout -s 192.168.1.14 -j ACCEPT
- iptables -I wanout -s 192.168.1.15 -j ACCEPT
- iptables -I wanout -s 192.168.1.16 -j ACCEPT
- iptables -I wanout -s 192.168.1.17 -j ACCEPT
- iptables -I wanout -s 192.168.1.18 -j ACCEPT
- iptables -I wanout -s 192.168.1.19 -j ACCEPT
- iptables -I wanout -s 192.168.1.20 -j ACCEPT
- iptables -I wanout -d videos.pctv76.org -j ACCEPT
- iptables -I wanout -d admin.sample.com -j ACCEPT
- iptables -I wanout -d sample.net -j ACCEPT
- iptables -I wanout -d sample.com -j ACCEPT
- iptables -I wanout -d echo.sample.org -j ACCEPT
- iptables -I wanout -d www.sample.org -j ACCEPT
- iptables -A wanout -i `nvram get lan_ifname` -j REJECT --reject-with icmp-proto-unreachable
SHARE
TWEET
Untitled
a guest
Sep 9th, 2012
13
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
RAW Paste Data

