Slackware, openvpn and two wan connections!
I need some help and some advices also.
I have 2 connections from 2 different ISP's on my vpn machine. One of them is connected trough my LAN's firewall the other one is connected trough a router(dsl modem) directly to wan.
The connection that comes from the firewall will be referred as LAN1
................................. dsl router ............... LAN2
My vpn clients connect to the server trough LAN2. The openvpn server does not allow the clients to use LAN1 as GATEWAY. The only way that I can connect a client to the vpn server is trhough LAN2. I have no option in my scripts to use two gateways. I tried to use some routing commands, to use both my connections in the same time, for redundancy, but I don't seem to be skillful enough with the "route" command.
The ip class is different.
The questions are:
1. How could I force all the traffic that comes from LAN2 to pass trough LAN1?
2. Could I use both of my lines for redundancy and the openvpn server to listen on?
Thanks and excuse my poor english.
Last edited by planoru; 06-21-2007 at 09:03 AM.