Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now
 
Reply to this topicStart new topic
> Firewall/routing Question
Elfstone
post Jul 3 2003, 11:56 AM
Post #1


Whats this Lie-nix Thing?
*

Group: Members
Posts: 10
Joined: 3-July 03
From: NJ, USA
Member No.: 1,045



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
Go to the top of the page
 
+Quote Post
Joey
post Jul 3 2003, 01:41 PM
Post #2


LinuxHelp Admin
*******

Group: Admin
Posts: 1,096
Joined: 18-September 02
Member No.: 1



theres iptables firewall scripts on the guides page. that would be a good start.
Go to the top of the page
 
+Quote Post
Elfstone
post Jul 3 2003, 01:51 PM
Post #3


Whats this Lie-nix Thing?
*

Group: Members
Posts: 10
Joined: 3-July 03
From: NJ, USA
Member No.: 1,045



Thanks a lot, that looks like it'll do it. Will have to mess around with it later tonight. cool.gif
Go to the top of the page
 
+Quote Post
Elfstone
post Jul 3 2003, 04:45 PM
Post #4


Whats this Lie-nix Thing?
*

Group: Members
Posts: 10
Joined: 3-July 03
From: NJ, USA
Member No.: 1,045



Just an update, set everything up and its working perfectly, thanks again for the quick response.
Go to the top of the page
 
+Quote Post
Joey
post Jul 4 2003, 04:07 PM
Post #5


LinuxHelp Admin
*******

Group: Admin
Posts: 1,096
Joined: 18-September 02
Member No.: 1



Glad to hear it and you're very welcome.
Go to the top of the page
 
+Quote Post
snabber
post Jul 6 2003, 01:08 PM
Post #6


Whats this Lie-nix Thing?
*

Group: Members
Posts: 4
Joined: 20-December 02
Member No.: 260



Try the /etc/hosts.allow and hosts.deny.
put lines like:
ssh:<iprange>
ftp:<iprange>

in hosts.allow and a line like:
ALL:ALL

in hosts.deny. Of cource, replace <iprange> with the range to allow. I think this will work.
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 18th October 2017 - 08:14 AM