Re: IPTABLES question

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

 



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