[Ilugc] Routing through VPN connected machine

  • From: mohan.tux@xxxxxxxxx (Mohan Sundaram)
  • Date: Wed, 19 Oct 2011 16:11:34 +0530

On Wed, Oct 19, 2011 at 12:02 PM, JAGANADH G <jaganadhg at gmail.com> wrote:

Hi
Is it possible to route a bunch of machines through a VPN connected machine?
If so what are the precautions I have to take ?
The scenario is like . I will get access to a web app through a VPN
connection. After establishing VPN connection in a machine the application
has to be accessible for some 10 20 machines in my net work.
If it is a dumb question forgive me

The question needs to be framed and asked with more information. E.g.
It would've helped a great deal if you had a network diagram that
describes how machines are connected.

I'm assuming you have a machine that has established a VPN connection
to another network. This means the routing on the other side is set to
proper working order. It is also assumed that the VPN machine can
reach the web while connected to the VPN.

In such a case, all machines in your network can set the VPN machine
as their gateway. The VPN machine, once connected to the VPN should
have the default route pointing to the VPN interface or to the IP of
the fartherside endpoint of the VPN. On the network on the other side,
the route must be set up to send packets destined to your local
network via the VPN tunnel.

Then what you want should work.
-- Mohan Sundaram

Other related posts: