Re: Red Hat Firewall

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx [mailto:redhat-list-bounces@xxxxxxxxxx] On Behalf Of Shane Presley Sent: Tuesday, February 22, 2005 6:46 AM To: redhat-list@xxxxxxxxxx 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




-- redhat-list mailing list unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux