Red Hat Firewall

Alexey Fadyushin fab at s-tunnel.com
Thu Feb 24 13:45:53 UTC 2005


If you need to allow inbound access from only one IP address (not from 
any host on Internet) you should also add qualifier '-s' and specify the 
IP address, for example:

-A INPUT -s <IP_address> -m tcp --dport 5801:5810 -j ACCEPT

Alexey Fadyushin
Brainbench MVP for Linux.
http://www.brainbench.com

Ryan Golhar wrote:

>Your rule would look something like the following:  
>
>-A INPUT -p tcp -m tcp --dport 5801:5810 -j ACCEPT
>-A INPUT -p tcp -m tcp --dport 5901:5910 -j ACCEPT
>
>This will allow anyone to connect to the first 10 sessions for VNC.
>
>Ryan
>
>
>-----Original Message-----
>From: redhat-list-bounces at redhat.com
>[mailto:redhat-list-bounces at redhat.com] On Behalf Of Shane Presley
>Sent: Tuesday, February 22, 2005 6:46 AM
>To: redhat-list at redhat.com
>Subject: Red Hat Firewall
>
>
>Hello,
>
>Does anyone have any links to tutorials on the Red Hat firewall (I
>assume it's ipfilter)?
>
>I turned it on using the GUI, and several other services broke (like
>VNC).  So I need to allow inbound access to 5901 from a certain IP
>address.  What would be the command line way to do that?
>
>Thanks
>Shane
>
>  
>




More information about the redhat-list mailing list