Re[2]: IPTABLES question

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

 



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:hans@jiffie.nl




-- 
Psyche-list mailing list
Psyche-list@redhat.com
https://listman.redhat.com/mailman/listinfo/psyche-list

[Index of Archives]     [Fedora General Discussion]     [Red Hat General Discussion]     [Centos]     [Kernel]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat 9]     [Gimp]     [Yosemite News]

  Powered by Linux