From: "Cristian Seva \(VOIPLAB\)" <cristian.seva@voiplab.com>
To: netfilter@lists.netfilter.org
Subject: problem with 2 NAT and 2 ROUTE
Date: Mon, 23 Aug 2004 11:38:06 -0300 [thread overview]
Message-ID: <007e01c4891e$ce602c50$0800000a@pc08infierno> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 781 bytes --]
I have a problem with mi linux BOX
.
Eth0 = 192.168.0.254 (RED A)
Eth1 = 200.69.123.177/130 (LINK A)
Eth2 = 192.168.0.100 (RED B)
Eth3 = 192.168.1.1 para el PPPOE
ppp0= DynamicIP (LINK B)
-------------------------------------------------------------------
DEFAULT ROUTE
200.69.123.178 (LINKA)
ppp0 (cdo establece el PPPOE)
-------------------------------------------------------------------
IPTABLES NAT RULES
iptables -t nat -A POSTROUTING -s 192.168.0.0/255.255.255.128 -o ppp0 -j MASQUERADE
iptables -t nat -A POSTROUTING -s 192.168.0.128/255.255.255.128 -o eth1 -j MASQUERADE
-------------------------------------------------------------------
My problem is the only NAT works is the NAT with march with de default route..
Can any one helme?
[-- Attachment #1.2: Type: text/html, Size: 2175 bytes --]
[-- Attachment #2: diagrama.jpg --]
[-- Type: image/jpeg, Size: 16659 bytes --]
next reply other threads:[~2004-08-23 14:38 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-08-23 14:38 Cristian Seva (VOIPLAB) [this message]
-- strict thread matches above, loose matches on Subject: below --
2004-08-23 14:42 Problem with 2 NAT and 2 ROUTE Cristian Seva (VOIPLAB)
2004-08-24 5:17 ` Jose Maria Lopez
2004-08-24 5:24 Jose Maria Lopez
2004-08-24 12:13 problem " Jason Opperisano
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='007e01c4891e$ce602c50$0800000a@pc08infierno' \
--to=cristian.seva@voiplab.com \
--cc=netfilter@lists.netfilter.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox