Firewalls
ok Hey i dont know if this is the right form but here i go ok i have a apache server running and its using port 80 right.... ok i have a firewall the default one that came with Mandrake 8.2 and when i put it on the littlest settings it blocks out port 80 but i dont want port 22 and port 21 and the rest of the the ones that i dont need open how would i close these with leaving open port 80???
Matt3333 |
If this apache server is serving a webpage that is not internal, ie. you and your friends are not the only ones accessing it, then you will have to leave it at port 80. but if this does not apply to you, I recommend changing the default port since you will most likely get a little less scanned (and hence be slightly more secure) - you will need to explicitly state the new port when accessing it (eg. www.domain.com:811) but since this is internal, you will know this....so no problem.
As for the firewall, if you are running apache...you should really ditch the default one and look into learning iptables. This way you can block off everything except what you explicitly want. BTW, what is the default firewall in MDK? I'm sure you can google for documentation to it, which should help you figure out the appropriate steps. |
thanks for that help i believe the firewall is bastile-firewall i believe not to sure do u recommend any websites for learning iptables??
thanx Matt3333 |
Not particularly. You can start by googling for 'iptables'...
; ) |
Here's a good link that helped me get started writing a good firewall :
http://www.linuxguruz.com/iptables/ Lots of examples, tutorials and such .. |
All times are GMT -5. The time now is 09:41 PM. |