Page 1 of 1

VPN into VPS with static ip

Posted: Tue Mar 16, 2021 1:53 pm
by ostlere
Hi!

I would like to setup VPN for our office computers. The goal would be to reach the internet through our VPS server, which has a static IP. The VPS runs windows server 2012 I already have set up the softether VPN server according to this tutorial:

https://www.softether.org/4-docs/2-howt ... VPN_to_LAN

I have managed to connect from a computer to the VPS on VPN however I cannot see anything from the VPS's lan and I can't use/see it's IP address either.

It seems obvious that some parameters haven't been configured yet. Could someone please point me in the right direction?

Thanks

Re: VPN into VPS with static ip

Posted: Tue Mar 16, 2021 7:36 pm
by nobody12
When a client connects to the VPN server, do you get any error messages?
If the connection is sucessful, does the client gets an IP assigned? What is the IP?

VPS:
You have a Server hosted somwhere in a Cloud and then you want to use a VPN to this server so that the clients can use the Internet through the VPS servers Internet connection?
How does the VPS server gets its IP?
My guess:
Your VPS server only has one IP which is assigned by the cloud provider. There is no DHCP server present which will hand out IP adresses for your VPN users. Also you cannot manage the properties of the VPS network card. to allow MAC Address spoofing.
If my guess is correct, You could overcome this problem by Using the Secure NAT option of SoftEther.
https://www.softether.org/index.php?tit ... CP_Servers
VPN Clients will get an IP Assigned by a DHCP server running inside a virtual network on your VPN server, and will use NAT to access the Internet throug the Internet connection of the VPS.