home *** CD-ROM | disk | FTP | other *** search
/ chilidog.highland.cc.ks.us / chilidog.highland.cc.ks.us.zip / chilidog.highland.cc.ks.us / backup / bradford.20100913.bsc-siteConfiguration.tar.gz / bradford.20100913.bsc-siteConfiguration.tar / bsc / siteConfiguration / firewall.original < prev    next >
Text File  |  2008-03-28  |  652b  |  26 lines

  1. #!/bin/sh
  2.  
  3. # Start with a clean slate
  4. iptables --flush
  5.  
  6. # Allow DNS
  7. #iptables -A INPUT --in-interface eth1 -p UDP --dport 53 -j ACCEPT
  8.  
  9. # Allow DHCP
  10. #iptables -A INPUT --in-interface eth1 -p UDP --dport 67 -j ACCEPT
  11.  
  12. # Allow HTTP
  13. #iptables -A INPUT --in-interface eth1 -p TCP --dport 80 -j ACCEPT
  14.  
  15. # Allow HTTPS
  16. #iptables -A INPUT --in-interface eth1 -p TCP --dport 443 -j ACCEPT
  17.  
  18. # Allow RADIUS (Is this necessary?)
  19. #iptables -A INPUT --in-interface eth1 -p UDP --dport 1812 -j ACCEPT
  20.  
  21. # Allow Agent protocol
  22. #iptables -A INPUT --in-interface eth1 -p UDP --dport 4567 -j ACCEPT
  23.  
  24. # Drop Any other packets
  25. #iptables -A INPUT --in-interface eth1 -j DROP
  26.