On Friday 29 October 2004 16:02, Neil White wrote:
I have been asked by my boss to firewall a server that we have down in a datacentre, but I am a bit lost as to where to start.
I have looked on the internet for sample scripts but they all seem to be related to people running NAT based firewalls. I simply need a script that will restrict access to certain ports and services, and block everything else.
Can anyone point me in the direction of some sample scripts that I can look at to learn / adapt to my use ?
This is the gold standard for learning how to set up a Linux firewall: http://iptables-tutorial.frozentux.net/ It's an excellent tutorial and includes some sample scripts for different configurations. This page has some other good links: http://www.netfilter.org/documentation/index.html Jeff