?
Solved

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
7
Medium Priority
?
284 Views
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.
0
Comment
Question by:FirebornX
[X]
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
7 Comments
 
LVL 2

Expert Comment

by:dbanttari
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.
0
 

Author Comment

by:FirebornX
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?
0
 
LVL 2

Expert Comment

by:dbanttari
ID: 21885439
The OpenVPN "--redirect-gateway" argument does the same thing.
0
Industry Leaders: 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

by:FirebornX
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...
0
 
LVL 2

Expert Comment

by:dbanttari
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.
0
 

Author Comment

by:FirebornX
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 208.127.66.50 (this would be assigned to my physical NIC). Would I set the destination to 208.127.66.0 with a mask of 255.255.255.0 and try to forward to that network segment or would I set the destination to 208.127.66.50 with mask of 255.255.255.255, or would I instead try to point the destination directly at the ISP's router IP address?
0
 
LVL 2

Accepted Solution

by:
dbanttari earned 1200 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.
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

Question has a verified solution.

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

OpenVPN is a great open source VPN server that is capable of providing quick and easy VPN access to your network on the cheap.  By default the software is configured to allow open access to your network.  But what if you want to restrict users to on…
Programming  of  forecasting lottery numbers for self use  on Turbo C++ is done by use of random number generator code by a program algorithm logic. Random numbers usually generates numbers between definite interval. Therefore, when entering the c…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), 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…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), 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…

764 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