Hello Jesse,
What about outgoing?

iptables -a OUTPUT -p tcp --sport 80 -d XXX.XXX.XXX.XXX
maybe even including state=ESTABLISHED?

Monday, February 24, 2003, 6:57:17 PM, you wrote:

JK> 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?

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

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

JK> Whenyou're done, just service iptables restart.

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

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






-- 
Best regards,
 Hans                            mailto:[EMAIL PROTECTED]




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

Reply via email to