Two internet connections in combination with DNAT

Linux Advanced Routing and Traffic Control

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

 



Hi all,
I hope someone here can help me with the following problem:
we have a router/firewall machine which connects our local network to the
internet. As there are also some servers in the local network working as
mail- and webservers, we are using DNAT to make this machines reachable from
the internet.
The firewall-machine is connected to the internet with two connections, one
ADSL connection and one ISDN-link. So NAT only seems to work with the
connection which is also the default gateway.
Example:
this is the shorewallrule for our web-server
DNAT    net             loc:192.168.0.161  tcp  www
which works fine as the default gateway is the ADSL-link known to shorewall
as net.
But the rule
DNAT    isdn             loc:192.168.0.161  tcp  ssh
won't work, because it sends it's answers out over the dsl-link. Everything
works fine for the services running at the firewall, they send their packets
back over the correct connection, but it doesn't work with nat.
ist there any trick to make this possible?
thanks in advance
Ralf Glauberman


_______________________________________________
LARTC mailing list / LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux