I'm looking to setup VPN so that I can restrict who can see the database on a server. so that I dont have to open the ports to half the known universe/Internet
I've setup softether VPN in server mode, I have created an account, I can connect to the vpn. now comes the next part.
As the server only has one IP address, how do I restrict things just to the vpn ? If I open the port on the ip, its global ? As its a hosted virtual private server, I dont get to add addresses to the ethernet card.
I appreciate any suggestions you can offer.
Thanks
Chris
VPN to run private database
-
- Posts: 137
- Joined: Mon Mar 24, 2014 3:59 am
Re: VPN to run private database
Create a new tap interface on the database server, bind the database server to it, run a RFC1918 private network on it using the SoftEther DHCP feature, and bridge VPN clients there.
Reusing the public IP address on the virtual machine is much more difficult.
Reusing the public IP address on the virtual machine is much more difficult.
-
- Posts: 2
- Joined: Tue Nov 18, 2014 11:32 pm
Re: VPN to run private database
Thank you for your answer.
I found the stuff to add a TAP on windows in the openvpn stuff. Turns out that using a 1and 1.com VPS server is a no go. THey ae supposedly shared kernel, so they wont let you modify the network settings. Turns out this is the biggest problem. So we will have to change that first.
I found the stuff to add a TAP on windows in the openvpn stuff. Turns out that using a 1and 1.com VPS server is a no go. THey ae supposedly shared kernel, so they wont let you modify the network settings. Turns out this is the biggest problem. So we will have to change that first.
-
- Posts: 137
- Joined: Mon Mar 24, 2014 3:59 am
Re: VPN to run private database
Note that the SoftEther client package for Windows installs a generic TAP driver. The SoftEther client and the SoftEther server can be installed on the same Windows computer.