android 8 vpn setup in virtualbox

Post your questions about SoftEther VPN software here. Please answer questions if you can afford.
Post Reply
Posts: 1
Joined: Wed Jan 29, 2020 2:55 am

android 8 vpn setup in virtualbox

Post by myuser1 » Wed Jan 29, 2020 2:58 am

can anyone help with getting the vpn to work in a VM of android
does not seem to work

anything different from the normal setup guide?


Posts: 1
Joined: Tue Feb 18, 2020 11:46 am
Location: Indonesia

Re: android 8 vpn setup in virtualbox

Post by brankaspedia » Tue Feb 18, 2020 11:56 am

1. Enable Paravirtualization in NAT Adapter
Launch VirtualBox > Settings and then navigate to Network.
Locate and click on Adapter.
Under Adapter, set Attached to NAT.
Click on Advanced and set Adapter type: Paravirtualized Network.
Enable VPN service (on host PC) and start the virtual machine.
Once this is done, you should now be able to use the Virtual Private Network of the host computer on the guest computer or virtual machine.

2. Switch to DNS Proxy
To run this procedure, ensure your VirtualBox is running on the default NAT setup.
Input the following command in the terminal to enable DNS Proxy:
“VBoxManage modifyvm “VM name” –natdnsproxy1 on“.

Once this is done, check if the problem is resolved. If it persists, try the next fix.

3. Set up 2 Network Adapters (NAT & Host-Only)
Set up “Network Address Translation” (NAT) adapter. This allows the guest computer to share the host computer’s VPN network and other network settings. However, your virtual engine (guest computer) would still be unable to access connections on the host computer.
To correct the deficiency in the first step, set up a Host-Only networking adapter. This provides you with an IP that is accessible from the host computer. And you can then connect to the host‘s VPN network.
With the above procedure – setting up NAT adapter and Host-Only adapter, you should now have a two-way connection, between both computers (virtual and actual). Consequently, VPN network sharing is made easy.

Post Reply