Hey All!
I have a complex situation that I need to solve, I'll try to describe it the best I can, but if you need more details just let me know.
I have Ubuntu 9.10 SERVER installed on my home server here in California, I have installed Virtualbox 3.1.4, and have created a virtual machine called MICRO, running Ubuntu Hardy JeOS. I'm using bridged network across my server eth0 nic. I can access MICRO throughout my network without any problems.
My goal is to establish a persistent VPN connection across PPTP within the virtual machine, and route all it's traffic through the vpn tunnel. I have installed the appropriate PPTP server on my server in Europe, I have tested it on Windows XP and Mac, it works on both (routing all network traffic.)
Within the Virtual Machine, I have already installed the apt-get package: pptp-linux, I followed the instructions found here:
http://www.cyberciti.biz/tips/howto-...tp-client.html
and used this as a reference:
http://pptpclient.sourceforge.net/routing.phtml
I've successfully managed to install the client software, setup the correct peer in /etc/ppp/peers/., and connect to my vpn such that I can access the VPN server, and all clients connected to it.
The problem I'm having is this, my virtual machine cannot access the outside network. When I run this command while connected to the vpn:
It shows the path from my virtual machine, to my router, to my modem, to my ISP and to google.com. It SHOULD show the path from my virtual machine, to my VPN server, to my dedicated servers routers, and then to google.Code:traceroute google.com
This tells me that not all network traffic is not being routed.
I found this section regarding "routing all network traffic through the VPN"
http://pptpclient.sourceforge.net/ro...#all-to-tunnel
I've followed their instructions, but nothing has worked.
A few preliminary questions:
1.) They describe two scripts, which belong in /etc/ppp/ip-up.d/ and ip-down.d/ respectively. Following the previous tutorial, I created a route-traffic script, (which i made executable.) Should I add this code to my existing route-traffic script? Or make a new script? Does it matter what I name it?
2.) Does the fact that this machine is a virtual machine using bridged networking add some nuance I'm not recognizing and not able to read a tutorial about appropriately?
NOTE: I have done NOTHING in terms of networking commands locally, either on my router or the host machine. If there is some routing that needs to occur WITHIN my network in order for this to work, I have no idea what needs to be done.



Adv Reply


Bookmarks