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
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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.
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!


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

Don't Miss ATEN at InfoComm 2017!

Visit booth #2167 to see the  new ATEN VM3200 32 x 32 Modular Matrix Switch. Other highlights include the VE8950 4K HDMI Over IP Extender, VS1912 12-Port DP Video Wall Media Player  and VK2100 ATEN Control System. Register now with Free Pass Code ATEN288!

Question has a verified solution.

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

Article by: ErwindeVries
Released on the 7th of September this real time strategy game sets a new bar for any real time strategy game. R.U.S.E. is a game made by Eugen Systems and published by Ubisoft and released for the PC, Playstation 3 and the Xbox 360. The setting o…
I recently attended Cisco Live! in Las Vegas, a conference that boasted over 28,000 techies in attendance, and a week of hands-on learning hosted by a solid partner with which Concerto goes to market.  Every year, Cisco displays cutting-edge technol…
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…

688 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