Re: route/nat
From: Hendrik Greving (hendrik.greving_at_iss.rwth-aachen.de)
Date: 10/26/05
- Previous message: David Goodenough: "Re: Debian hostap USB prism2 : HELP"
- In reply to: Tauno Voipio: "Re: route/nat"
- Next in thread: Tauno Voipio: "Re: route/nat"
- Reply: Tauno Voipio: "Re: route/nat"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 26 Oct 2005 13:07:59 +0200
Are you sure, that nat is done prior routing? I thought it's different
because I'm in the POSTROUTING chain using iptables. Currently,
everything works like that.
The problem is, currently, the default route goes to interface "vpnlink"
(interface of vpnc) and I use
iptables -t nat POSTROUTING [..] -o vpnlink MASQUERADE
What I'd like to have is, to determine a certain group of ip addresses,
say 0-127 is applied with nat and are routed to vpnlink, and the rest,
say 128-254 shuold be routed (and nat) to my DSL (ppp) interface ppp0.
I'm not very familiar with this stuff, hope everything is correct. Is
the rule above possible to achieve?
Regards,
Hendrik
- Previous message: David Goodenough: "Re: Debian hostap USB prism2 : HELP"
- In reply to: Tauno Voipio: "Re: route/nat"
- Next in thread: Tauno Voipio: "Re: route/nat"
- Reply: Tauno Voipio: "Re: route/nat"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|