Guest User

Untitled

a guest
Sep 9th, 2012
49
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.29 KB | None | 0 0
  1. iptables -N wanout
  2. iptables -I FORWARD -i `nvram get lan_ifname` -j wanout
  3. iptables -I wanout -s 192.168.1.2 -j ACCEPT
  4. iptables -I wanout -s 192.168.1.3 -j ACCEPT
  5. iptables -I wanout -s 192.168.1.4 -j ACCEPT
  6. iptables -I wanout -s 192.168.1.5 -j ACCEPT
  7. iptables -I wanout -s 192.168.1.6 -j ACCEPT
  8. iptables -I wanout -s 192.168.1.7 -j ACCEPT
  9. iptables -I wanout -s 192.168.1.8 -j ACCEPT
  10. iptables -I wanout -s 192.168.1.9 -j ACCEPT
  11. iptables -I wanout -s 192.168.1.10 -j ACCEPT
  12. iptables -I wanout -s 192.168.1.11 -j ACCEPT
  13. iptables -I wanout -s 192.168.1.12 -j ACCEPT
  14. iptables -I wanout -s 192.168.1.13 -j ACCEPT
  15. iptables -I wanout -s 192.168.1.14 -j ACCEPT
  16. iptables -I wanout -s 192.168.1.15 -j ACCEPT
  17. iptables -I wanout -s 192.168.1.16 -j ACCEPT
  18. iptables -I wanout -s 192.168.1.17 -j ACCEPT
  19. iptables -I wanout -s 192.168.1.18 -j ACCEPT
  20. iptables -I wanout -s 192.168.1.19 -j ACCEPT
  21. iptables -I wanout -s 192.168.1.20 -j ACCEPT
  22. iptables -I wanout -d videos.pctv76.org -j ACCEPT
  23. iptables -I wanout -d admin.sample.com -j ACCEPT
  24. iptables -I wanout -d sample.net -j ACCEPT
  25. iptables -I wanout -d sample.com -j ACCEPT
  26. iptables -I wanout -d echo.sample.org -j ACCEPT
  27. iptables -I wanout -d www.sample.org -j ACCEPT
  28. iptables -A wanout -i `nvram get lan_ifname` -j REJECT --reject-with icmp-proto-unreachable
Advertisement
Add Comment
Please, Sign In to add comment