Help - Search - Members - Calendar
Full Version: Firewall/routing Question
Linuxhelp > Support > Technical Support
Hi all,

I want to set my box up so that it will only accept connects on certain ports(i.e. SSH, FTP, etc.) from only certain IP addresses. Being a bit of a newb, I'm not entirely sure how to go about this, though I am pretty sure it's possible. A solution or pointing me in the right direction of the solution would be greatly appreciated.

Thanks smile.gif
theres iptables firewall scripts on the guides page. that would be a good start.
Thanks a lot, that looks like it'll do it. Will have to mess around with it later tonight. cool.gif
Just an update, set everything up and its working perfectly, thanks again for the quick response.
Glad to hear it and you're very welcome.
Try the /etc/hosts.allow and hosts.deny.
put lines like:

in hosts.allow and a line like:

in hosts.deny. Of cource, replace <iprange> with the range to allow. I think this will work.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2018 Invision Power Services, Inc.