Re: Where to add own rules in /etc/sysconfig/iptables

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

 



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

On 31 Oct 2002 08:58:02 -0600, Alejandro González Hernández - Imoq
wrote:

> Unfortunatelly I already had ip_forward enabled:
> 
> [root@imoqland root]# cat /etc/sysctl.conf | grep forw
> # Controls IP packet forwarding
> net.ipv4.ip_forward = 1
> [root@imoqland root]# cat /proc/sys/net/ipv4/ip_forward
> 1
> 
> But still doesn't work :(. I left the whole previous message on
> purpouse so the original question doesn't get lost.
> 
> Why is it so hard? I have read the documentation, tried to follow the
> instructions but it still doesn't work. I think it has been one of the
> more difficult task latelly. Three days and still no luck :(.

You cannot try it from inside your network. Try it from an external
host with e.g. "wget YOUR_EXT_IP".

For debugging, add this rule on your Linux router

  iptables -I FORWARD -p tcp --dport 80 -j LOG

and on your internal web server add:

  iptables -I INPUT -p tcp --dport 80 -j LOG
  
- -- 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)

iD8DBQE9wWPu0iMVcrivHFQRAkXmAJ9ydU6kGcudZfOG9ZfKO+lQHOARagCfbGhm
29dmKO1f2G0JP7FXjbLQFvM=
=z9zO
-----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