Error in rules DNAT
Oskar Andreasson,
Verifies that rule DNAT this incorrect one:
iptables - t nat - the PREROUTING - p tcp - d 15,45,23,67 -- dport 80 - j DNAT -- to-destination 192,168,1,1
the correct one is:
iptables - t nat - the PREROUTING - p tcp - i ethX - d 15,45,23,67 -- dport - 80 j DNAT -- to-destination 192,168,1,1
being that ethX is entrance interface
Articles write iam:
http://www.linuxit.com.br/modules.php?name=Sections&op=viewarticle&artid=21
bye,
====================
William da Rocha Lima
[email protected]
www.linuxit.com.br
Hi William,
Sorry to say this, but I must ask, what are you talking about?
Quoted 25 lines · William da Rocha Lima
Oskar Andreasson,
Verifies that rule DNAT this incorrect one:
iptables - t nat - the PREROUTING - p tcp - d 15,45,23,67 -- dport 80 - j DNAT -- to-destination 192,168,1,1the correct one is:
iptables - t nat - the PREROUTING - p tcp - i ethX - d 15,45,23,67 -- dport - 80 j DNAT -- to-destination 192,168,1,1
being that ethX is entrance interface
Articles write iam:
http://www.linuxit.com.br/modules.php?name=Sections&op=viewarticle&artid=21bye,
====================
William da Rocha Lima
[email protected]
www.linuxit.com.br
Signature · 6 lines
---- Oskar Andreasson http://www.frozentux.net http://iptables-tutorial.frozentux.net http://ipsysctl-tutorial.frozentux.net mailto:[email protected]
It leaves me to be more direct, for that I understand the rule without - i ethX does not connect the IP that requisite and yes gateway.
====================
William da Rocha Lima
[email protected]
www.linuxit.com.br
----- Original Message -----
From: "Oskar Andreasson" <[email protected]>
To: "William da Rocha Lima" <[email protected]>
Cc: <[email protected]>
Sent: Sunday, June 29, 2003 11:03 AM
Subject: Re: Error in rules DNAT
Quoted 10 lines
Hi William,
Sorry to say this, but I must ask, what are you talking about?
Quoted 4 lines · William da Rocha Lima
Oskar Andreasson,
Verifies that rule DNAT this incorrect one:
iptables - t nat - the PREROUTING - p tcp - d 15,45,23,67 -- dport 80 -
j
Quoted 11 lines
Quoted 11 lines
DNAT -- to-destination 192,168,1,1
the correct one is:
iptables - t nat - the PREROUTING - p tcp - i ethX - d 15,45,23,67 -- dport - 80 j DNAT -- to-destination 192,168,1,1
being that ethX is entrance interface
Articles write iam:
http://www.linuxit.com.br/modules.php?name=Sections&op=viewarticle&artid=21
Quoted 23 lines
Quoted 10 lines
bye,
====================
William da Rocha Lima
[email protected]
www.linuxit.com.brSignature · 6 lines
---- Oskar Andreasson http://www.frozentux.net http://iptables-tutorial.frozentux.net http://ipsysctl-tutorial.frozentux.net mailto:[email protected]