Opening SSH ports

Protecting your Linux box
Post Reply
ilias
Lance Naik
Posts: 42
Joined: Tue Jul 05, 2005 9:18 pm

Opening SSH ports

Post by ilias »

Hi all

Due to security reasons, i have diabled ssh ports on RHEL 3 box but now i want to enable that but not for all. How to open /allow ssh port access for particular IP ex example 192.168.10.10.
LinuxFreaK
Site Admin
Posts: 5132
Joined: Fri May 02, 2003 10:24 am
Location: Karachi
Contact:

Re: Opening SSH ports

Post by LinuxFreaK »

Dear ilias,
Salam,
ilias wrote:Due to security reasons, i have diabled ssh ports on RHEL 3 box but now i want to enable that but not for all. How to open /allow ssh port access for particular IP ex example 192.168.10.10.
# iptables -I INPUT -s 192.168.10.10 -p tcp --dport 22 -j ACCEPT

Best Regards.
Farrukh Ahmed
ilias
Lance Naik
Posts: 42
Joined: Tue Jul 05, 2005 9:18 pm

Post by ilias »

tks a ton
Post Reply