LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   VPN connectivity help (https://www.linuxquestions.org/questions/linux-networking-3/vpn-connectivity-help-626960/)

tsaravan 03-10-2008 07:21 AM

VPN connectivity help
 
Dear All,

We have two ADSL broadband connections. One of these connections is used for VPN connectivity between our local office and head office for intranet purpose. The other one connection is being used for Internet.

The VPN setup is done using Netgear hardware. The Netgear has been configured with usename and password of broadband connection.

The Internet setup is done on Linux Server using pppoe-setup and being provided connection through squid proxy for the users.

I do not enabled any firewall on the above two setups.

Both the system has static public IP.

In the above scenario, I want to route all the traffic of VPN box through Linux Proxy Server in case of broadband connection is down. In this regard, i request anyone of you who have a solution like whether by implenting firewall on Linux proxy Server, if so, a guide would be highly helpfull or any other method.

regards,

T. Saravan.

Nathanael 03-10-2008 09:02 AM

Quote:

i request
that is a slightly not so friendly way of asking for help, but i give you the benifit of the doubt on how much purpose was/is behind that :-P

what you want is a metric setting in the routing table
you will have 2 routing table entries for default (destination 0.0.0.0)
the first entry has metric = 0 and points to your ppp device (for the broadband connection)
the second entry has metric > 0, perhaps 10 and points to the ip of the netgear device

at least i am assuming that would work :-P

rossonieri#1 03-10-2008 05:52 PM

Quote:

Originally Posted by Nathanael (Post 3083891)
at least i am assuming that would work :-P

yup - that generally do the trick for connection backup except that you need to create another VPN config if you want to re-route the primary vpn connection.


All times are GMT -5. The time now is 10:56 AM.