1
1
I would like to setup a gaming VPN. Ie. I have some games that work over LAN and would like to play them with people that are not on my LAN. I know I can do this with OpenVPN.
My ultimate goal would be to run OpenVPN portably on my host OS and not even need any virtualization. As such I don't want to install it on my host, but I'm fine with running it portably. I'm even fine with temporarily adding registry keys, and then running a .reg file to remove these entries once I'm done. To this effect I have installed OpenVPN on a virtual machine and diffed the registry. I then manually (using a .reg file) added all the keys that seem important on my host OS and copied the installation folder of OpenVPN onto my host machine. Then I tried to run openVPN GUI 1.0.3 as a test and it says "Error opening registy for reading (HKLM\SOFTWARE\OpenVPN). OpenVPN is probably not installed". I verified that that key is indeed in the registry with all subkeys and it looks correct. I have tried running the GUI as an administrator and in compatibility mode with no success. I am running Windows 7.
If this fails then i would be happy with installing OpenVPN on a virtual machine in VMWare but they key is that i will be running the game installed on my host machine. The first question for this option is if this is even possible. The second is, that I can't get the VM to have internet access if I use bridging but i can if i use NAT. Is it possible to do this game VPN setup with VMWare guest OS running using NAT?
Summary of questions: -Is it possible to run openVPN portably and if so what did i miss above? -If it's not possible to run it portably, then can setup a gaming LAN by installing OpenVPN in a guest OS with NAT and how can i do this? -If the above is not possible then can i install OpenVPN in a guest using bridging and if so how can i set this up with a Windows 7 host and Windows XP guest as currently i can't get the guest to be able to access the internet in bridging mode, but it working in NAT mode. -In general is there any good documentation on setting up a gaming LAN with OpenVPN (i am using 2.1.4) as i have never set up a VPN of any sort before so any help would be much appreciated.
I believe there is only one thing missing from this is the fact that you will need to "bind" the game to your TAP device. Normally the game will "look" for games on the Local Area Network device. I remember such a program that allows you to do this. – naisanza – 2011-04-07T13:22:02.720
link: http://www.r1ch.net/stuff/forcebindip/
– naisanza – 2011-04-07T13:23:09.257Oh and be sure to add proper ports that the game requires to the firewall on you computer. – naisanza – 2011-04-07T13:25:56.603
And be sure to port forward port 1194 from your router to your computer as well. – naisanza – 2011-04-07T13:27:02.203
use dyndns.org to sign up for an account. register a domain name and use that in place of "home.game-server.com" in the client.ovpn config file. and set your router to update its IP to dyndns.org as well. – naisanza – 2011-04-07T13:28:20.657