route all internet traffic through dummy device?

Andreas Mimz Andreas.Mimz at kos2.de
Fri Apr 22 09:48:59 CEST 2005


Hello there!

I'm trying to route all internet traffic through a dummy network device.
Unfortunately, I wasn't able to do that yet :-(

my setup is:

eth0: 172.20.39.1 (netmask 255.255.255.0)
dummy0: 172.25.79.1 (netmask 255.255.255.0)
ppp0: <dynmic-ip>

currently, all outgoing traffic from the clients (connected to eth0) is
masqueraded and then send via the ppp0 device. what I'm trying to do is
that outgoing data through ppp0 is first routed through dummy0, basically
just adding one hop.

can anybody point me to the right direction?

thanks in advance,

andreas




More information about the netfilter mailing list