VPN into VPS with static ip

Post your questions about SoftEther VPN software here. Please answer questions if you can afford.
Post Reply
ostlere
Posts: 1
Joined: Tue Mar 16, 2021 1:43 pm

VPN into VPS with static ip

Post by ostlere » Tue Mar 16, 2021 1:53 pm

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

nobody12
Posts: 139
Joined: Sat Feb 13, 2021 10:22 pm

Re: VPN into VPS with static ip

Post by nobody12 » Tue Mar 16, 2021 7:36 pm

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.

Post Reply