How to allow just the specific IP Addresses to access ssh

Filed in Centos 0 comments

please provide the following rul in iptables to accomplish so

iptables -I INPUT -p tcp --dport 22 -s [THE IP ADDRESS YOU WANT TO ALLOW, WITHOUT BRACKETS] -j ACCEPT
iptables -I INPUT -p tcp --dport 22 -j DROP

No related posts.

Posted by voshka   @   31 January 2010 0 comments

Share This Post

RSS Digg Twitter StumbleUpon Delicious Technorati

0 Comments

No comments yet. Be the first to leave a comment !
Leave a Comment

Previous Post
«
Next Post
»
CrossBlock designed by DeltaManual.Com  |  In conjunction with Web Hosting   |   Web Hosting   |   Reverse phone