[CentOS] A little iptables help

MAHAYUDIN MOHD HASHIM mmhas at kuantanport.com.my
Thu Sep 29 05:35:56 UTC 2005

Quoting James Pifer <jep at obrien-pifer.com>:

> Wondering if anyone is willing to give me a little assistance with some
> firewall rules. I think what I'm looking for is fairly simple, and I've
> been trying to use webmin's firewall module without success.
> I have a web server that I'd like to open up port 80 and forward a
> specific port for a select number of allowed ips. That's it. Everything
> else is dropped.
> allow: port 80
> allow: forward port 8000 for x.x.x.x to y.y.y.y
> Anyone willing to assist with the rules? And lastly, how would I apply
> it in a way that it will always be in affect? If the machine reboots for
> example.
There is a solution where you can use a firewall script at

Mahayudin Mohd Hashim
Web Mail with Horde 3.0 + ClamAV + SpamAssassin + ASSP
System Maintained by : KPC-ITDept at +609.583.3205.271

All E-mail Filtered Through Our Mail Scanner System. 
Kuantan Port Consortium Sdn Bhd
+609.583.3205 http://www.kuantanport.com.my 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-keys
Size: 1377 bytes
Desc: PGP Public Key
Url : http://lists.centos.org/pipermail/centos/attachments/20050929/740fffde/attachment.bin

More information about the CentOS mailing list