Hi, I despair
I have a physical machine with a virtual machine, I want to express something simple (but difficult to achieve):
- On my physical machine, when I go on whatismyip.com with any browser/Application, get the IP from my provider
- On my virtual machine, when I go on whatismyip.com with any browser/Application, have the public IP of my VPN (vpntunnel.se) (I want to ensure that this environment, even if the VPN crash all applications don't directly use the IP provider)
Here is my environment:
- Windows 7 Ultimate 64 bit X 2
- TAP-Win32 Adapter V9 on my physical machine
- Home client of vpntunnel.se use OpenVpn (but i belive i can use official openvpn client)
- VMWare 8 (I bind VMnet4 interface with the interface adapter VPN)
I tried to change the order of interfaces and their metrics, use a bridge, creating a persistent router ... but my skills are limited by network
I therefore appeal to you, it is the best way to get there?
Thanks guys !
How don't use the default VPN interface / only on my VM
Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech
-
- OpenVpn Newbie
- Posts: 2
- Joined: Thu Nov 24, 2011 12:47 pm
How don't use the default VPN interface / only on my VM
Last edited by alavoler on Fri Dec 02, 2011 6:34 pm, edited 1 time in total.
- Mimiko
- Forum Team
- Posts: 1564
- Joined: Wed Sep 22, 2010 3:18 am
Re: How don't use the default VPN interface / only on my VM
Do you want the virtual machine always have the public IP of VPN server?
-
- OpenVpn Newbie
- Posts: 2
- Joined: Thu Nov 24, 2011 12:47 pm
Re: How don't use the default VPN interface / only on my VM
Yes, i wish :Mimiko wrote:Do you want the virtual machine always have the public IP of VPN server?
Provider IP Public for my physical PC
VPN IP Public for my VM
- Bebop
- Forum Team
- Posts: 301
- Joined: Wed Dec 15, 2010 9:24 pm
Re: How don't use the default VPN interface / only on my VM
Heya Mimiko I think I know the answer to this.. tell me what you think.
I suggest that avolver should simply install OpenVPN inside the virtual machine OS. Then configure OpenVPN inside the virtual machine OS.
This will achieve the goal that VM will get VPN IP (when you visit whatismyip.com) and PC will get regular ISP ip
Just a note: be aware not to bind the adapter. Instead, set the VM to be DHCP client, so it gets a regular LAN ip from the router.
I suggest that avolver should simply install OpenVPN inside the virtual machine OS. Then configure OpenVPN inside the virtual machine OS.
This will achieve the goal that VM will get VPN IP (when you visit whatismyip.com) and PC will get regular ISP ip
Just a note: be aware not to bind the adapter. Instead, set the VM to be DHCP client, so it gets a regular LAN ip from the router.
The cure for boredom is curiosity
- Mimiko
- Forum Team
- Posts: 1564
- Joined: Wed Sep 22, 2010 3:18 am
Re: How don't use the default VPN interface / only on my VM
The OpenVPN server must use 'push "redirect-gateway def1"' and also forward all internet requests to the client.