Simple firewall in CentOs
I need help to setup a simple firewall for my webserver.
I have install httpd on my server make a index.html and so on.
There are 2 pc's
PC 1: ip range 192.168.4.0-63 | 255.255.255.192
PC 2: ip range 192.168.4.64-127 | 255.255.255.192
My plan with the firewall on the webserver is:
PC 1 can se the index.html or rather is allowed on the webserver.
PC 2 will be block/locked out from the webserver, so PC 2 can't se the index.html.
Can someone make just a simple firewall for that with iptables..?
Please say if you need some more information for helping me, i will hand it to you.
In advance thank you very much ;-)