Re: DNAT doesn't work

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

 



Holger Kinkelin a écrit :
Hi Guillaume

Thanx for your reply

The first thing I'm thinking about is that you need a corresponding rule
in the "filter" table !

In this example, you should had a rule:
iptables -A INPUT -p tcp --dport 80 -d 127.0.0.1 -j ACCEPT

Of course, it's needed only if you set the default policy to "DROP" in
all chains of table "filter".
hmmmm, ... no, the default policy is set to "ACCEPT"... Otherwise, I
think, I coundn't open http://localhost in my webbrowser, too -- Or am
I wrong?

Regards,
Holger

hhhmmm...
It sounds you are right !

Don't know what to tell you at the moment....

Please post on the list more details like the network setup, and so on...


--
Guillaume
E-mail: silencer_<at>_free-4ever_<dot>_net
Blog: http://guillaume.free-4ever.net
----
Site: http://www.free-4ever.net



[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux