On Monday 24 February 2003 09:49, Leonard Miller wrote:
> How do I allow incoming http port 80 from only one machine and
> deny all others? Is it easy to turn off when testing is finished?

iptables -a INPUT -p tcp --dport 80 -s XXX.XXX.XXX.XXX

Where XXX.XXX.XXX.XXX is the IP of the machine you want to allow in to port 
80.

Whenyou're done, just service iptables restart.

-- 
Jesse Keating RHCE MCSE
http://geek.j2solutions.net
Mondo DevTeam (www.mondorescue.org)

Was I helpful?  Let others know:
 http://svcs.affero.net/rm.php?r=jkeating



-- 
Psyche-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/psyche-list

Reply via email to