Re: Iptables

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

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thu, 16 Jan 2003 10:38:58 +0700, David Sudjiman wrote:

> # Default Policy I/O DROP
> iptables -P INPUT DROP
> iptables -P OUTPUT DROP
> 
> # Rules
> iptables -A INPUT -i eth0 -p tcp -d your_ip --dport 80 -j ACCEPT
> iptables -A OUTPUT -o eth0 -p tcp -d your_ip --dport 80 -j ACCEPT
> 
> thx
> .dave
> 
> ps. I'm not really sure about what you ask for

Hence reply packets are dropped in above example. ;)

I think the original poster should travel to

  http://www.netfilter.org 
  
and read one of the fine tutorials. How are we supposed to answer
one-line questions without know anything about his network topology
and configuration?

- -- 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+JoXV0iMVcrivHFQRAno6AKCDicTZhovpxkU7ivOXRmssHni4OwCfYelf
P1fAxu5m8S4OOGA8s4EDY0I=
=R5wo
-----END PGP SIGNATURE-----



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