Re: Surf outside Internet through VPN



Darren Pilgrim wrote:
Noah Silverman wrote:
I want to find a way to pass ALL traffic from my laptop THROUGH my
office VPN and then out to the Internet. This is a "road warrior"
setup. This gives me a few benefits: 1) I can check my email
securely through VPN. 2) No matter where I am, I will always have
the external IP of my VPN server when accessing the web.

I have setup a VPN. Was able to get it working with either tun or
tap interfaces. That part seems OK.

Now what?? (I can see and connect to the VPN server with '10.0.8.1'
easily. I can't see or connect to the outside world.) Do I need to
add some kind of special route in the routing table?

If you can talk to arbitrary hosts on your office network--not just
the VPN server--setting your default router to the office's gateway
will achieve what you want.
_______________________________________________

If you meant the internal address of the office's gateway, then changing
the default route to that means that you will no longer be able to reach
the public IP of the VPN peer.

What you need to do is,

i) Add a host route to the VPN peer address, via your current default
gateway on whatever network you happen to be on
ii) Change your default route to be something on your office net that is
willing to router traffic out the Internet for you. This potentially
could the internal address of your office firewall, if it knows how to
route back to you via the VPN terminating box. Alternatively just the
other end of your tunnel, I'm guessing from the above that it's '10.0.8.1'


If you're using OpenVPN, then the "redirect-gateway" directive tries to
do the above for you.

Cheers,

Dunc
_______________________________________________
freebsd-net@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: Using a Linksys router, should I also use Zonealarm? Internet Acceptable Use Policy
    ... depending on your VPN client when you connect to VPN server client will ... As soon as you connect to VPN server that will be default route. ... other network address. ... I created new default route for my internet traffic that points to my ISP. ...
    (microsoft.public.security)
  • Re: Unusual VPN setup, ISA/Cyberguard
    ... I've just been asked to consult to a company who have had a VPN setup by ... VPN Subnets: ... there is a switch in the way that is dropping the traffic. ... have you tried going to CMD and typing ROUTE PRINT? ...
    (microsoft.public.windows.server.sbs)
  • Re: Since when are Work and The Internet Network Settings????
    ... If you don't need to use a VPN, ... > basic home wireless lan setup behind a linksys wrt54g. ... > -If I set the wireless setting to 'Work', ... > -If I setup the wireless setting to 'The Internet' I can connect to ...
    (microsoft.public.pocketpc.wireless)
  • Re: Two Internet Gateways
    ... local internet connection and the route for your headquarter to be the VPN. ... As far as adding a Cisco VPN client I don't know what that guy was thinking. ...
    (microsoft.public.windowsxp.general)
  • Re: RPC Publishing and Internal Network routing.
    ... But I also want to route to another internal networkon my internal ... network and I feel if I can get this working then since the vpn is another ... network internal to isa I should be able to get that running too once I ... Microsoft Internet Security & Acceleration Server: ...
    (microsoft.public.isa.configuration)