How would you forward all traffic from your laptop to your home computer in order to use your home internet connection?

Posted on 2008-06-25
Last Modified: 2013-12-26
I've been on several networks that have their firewalls set to prevent UDP traffic, this of course effectively prevents a couple of programs I would like to use from running.
I'm not sure what I'm thinking of is the best way to do things, but I'd like to set up some way where I could pass all the traffic from my laptop to my home server and then shoot it out over my home internet connection.
I've been able to establish openVPN TCP tunnels to my home computer so I know I can at least create a basic VPN over these networks.
However, I'm unsure what I need to do to past that point... I don't have any experience with proxies so I'm not sure if that's the best route to take or what programs I would need to set something like that up.

Using windowsXP on the laptop, server 2003 on the home server. The programs I'm trying to get to work include video/chat clients and a couple games, everquest 2 in particular.
Question by:FirebornX
  • 4
  • 3

Expert Comment

ID: 21868098
Go to your VPN connection on your client, go to Properties, Networking, TCP/IP, Advanced, and check the box labeled, "Use default gateway on remote network".

This will send all packets not destined for a locally attached network via the VPN.

If you then can't ping the router on your home network, you may need to add a route on it telling it to send packets meant for the VPN to go to the Win2k3 server.

Author Comment

ID: 21880627
I just tried your suggestion but the native windows VPN connection does not connect.

I used openVPN to create a TCP tunnel using the --proto tcp-client and --proto tcp-server switches and that completes successfully, but I'm not sure how to pass UDP traffic over the tunnel, if that's even possible.

any other programs or ideas on how to use openVPN to solve this problem?

Expert Comment

ID: 21885439
The OpenVPN "--redirect-gateway" argument does the same thing.
Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.


Author Comment

ID: 21885637
I tried the --redirect-gateway switch last night but that didn't work either.

I think it worked in that all the traffic was being redirected to the server but the server wasn't forwarding it to the internet connection. After I used --redirect-gateway my browser wouldn't work and I couldn't ping Google.

There's something missing but I'm not sure what it could be...

Expert Comment

ID: 21891040
If your vpn assigns IP addresses from a different subnet, you may have to add a route at your gateway to tell your gateway to forward all VPN packets to your server.

Author Comment

ID: 21918720
Wouldn't the gateway be the router on the network that I have no control over? The only points I can control are the server and my laptop. I could set up a static route in RRAS on my server, but I don't understand routing well enough to create a proper rule for the static route.
When creating a static route the server asks for the network interface (I set the openVPN interface) then a destination, a network mask, a gateway, and metric.

would the destination be my ISP subnet? say the the VPN interface is set to subnet 10.1.1.x and my static IP provided by the ISP is (this would be assigned to my physical NIC). Would I set the destination to with a mask of and try to forward to that network segment or would I set the destination to with mask of, or would I instead try to point the destination directly at the ISP's router IP address?

Accepted Solution

dbanttari earned 300 total points
ID: 21937635
If your VPN subnet is 10.1.1.x then you must configure your server to do NAT between the VPN and the "real" interface.  Then you'll have no issues with routing on devices you don't control.

Featured Post

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Sophos UTM Endpoint VPN 2 69
ASA - RV130 VPN tunnel, cannot pass traffic 8 79
Setting up new vpn 15 67
Trouble with VPN DENY rules on sonicwall 1 40
When you connect to your workplace's VPN, you may not notice that you are using your workplace's servers to serve up webpages.  This might be undesirable since the workplace can log all the places you've been.  It also might be very slow to load pag…
Some of you may have heard that SonicWALL has finally released an app for iOS devices giving us long awaited connectivity for our iPhone's, iPod's, and iPad's. This guide is just a quick rundown on how to get up and running quickly using the app. …
After creating this article (, I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question