Access local server using VPN

Post your questions about SoftEther VPN software here. Please answer questions if you can afford.
Post Reply
cSaller
Posts: 2
Joined: Tue Mar 23, 2021 5:35 pm

Access local server using VPN

Post by cSaller » Tue Mar 23, 2021 5:45 pm

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

solo
Posts: 66
Joined: Sun Feb 14, 2021 10:31 am

Re: Access local server using VPN

Post by solo » Tue Mar 23, 2021 9:25 pm

Add another hub with SecureNAT including VNAT and VDHCP.

cSaller
Posts: 2
Joined: Tue Mar 23, 2021 5:35 pm

Re: Access local server using VPN

Post by cSaller » Wed Mar 24, 2021 12:45 am

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

solo
Posts: 66
Joined: Sun Feb 14, 2021 10:31 am

Re: Access local server using VPN

Post by solo » Wed Mar 24, 2021 8:51 am

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.

Post Reply