Page 1 of 1

Access local server using VPN

Posted: Tue Mar 23, 2021 5:45 pm
by cSaller
I have SoftEther Server running on a Windows machine on AWS and I want to use the same machine to host another application that needs to be accessible only by VPN customers, but I'm having trouble doing this.

My current scenario is:
AWS Machine
|-> SoftEther Server
|-> Another publicly accessible server

And I need:
AWS Machine
|-> SoftEther Server
|-> Another server accessible only by VPN clients

Re: Access local server using VPN

Posted: Tue Mar 23, 2021 9:25 pm
by solo
Add another hub with SecureNAT including VNAT and VDHCP.

Re: Access local server using VPN

Posted: Wed Mar 24, 2021 12:45 am
by cSaller
solo wrote:
Tue Mar 23, 2021 9:25 pm
Add another hub with SecureNAT including VNAT and VDHCP.
Hey @solo, thanks for replying

I currently have a hub with SecureNAT enabled with all these items configured like this

Image

Do I need to create another one with the same configuration, but changing some parameters? I couldn't quite understand the method you went through

Re: Access local server using VPN

Posted: Wed Mar 24, 2021 8:51 am
by solo
cSaller wrote:
Wed Mar 24, 2021 12:45 am
I couldn't quite understand the method you went through
The reasoning method is simple. When you say "use the same machine to host another application that needs to be accessible only by VPN customers, but I'm having trouble" means that you either are not using SecureNAT, or don't understand it.

As we now know that you use SecureNAT already, access an app on the host via VPN with server-IP:app-port address. No trouble at all, but check the firewall.