Private IP for SoftEther VPN

Post your questions about SoftEther VPN software here. Please answer questions if you can afford.
Post Reply
thetech
Posts: 3
Joined: Fri Sep 16, 2016 4:05 pm

Private IP for SoftEther VPN

Post by thetech » Fri Sep 16, 2016 4:16 pm

I'm new to using a VPN. But I have a question.

I have setup a SoftEther VPN server on a dedicated server at a colocation data center. On that server I have setup IIS with a website. I would like IIS on this server to only bind to a private IP address on that server so the only way you could get to the website would be if a VPN client would login to the server and point to the servers private IP address, that way the website would not be publicly available.
But I can't figure out how to assign a private IP address to the server that runs SoftEther VPN.

The server's OS is windows 2012 R2.

Thanks,
Randall

thetech
Posts: 3
Joined: Fri Sep 16, 2016 4:05 pm

Re: Private IP for SoftEther VPN

Post by thetech » Fri Sep 16, 2016 7:49 pm

I will answer my own question.

If anyone has a better answer, please reply.

As a work around I installed a client on the SoftEther VPN server, created a user and login. Now the server has a IP address and I can bind IIS to that address only, that way only someone that is login to the vpn server can view the website.

It works fine.

moatazelmasry
Posts: 336
Joined: Sat Aug 15, 2015 7:41 pm

Re: Private IP for SoftEther VPN

Post by moatazelmasry » Fri Sep 16, 2016 8:25 pm

I think you need to create a bridge between SoftEther and your internal IP

So assume that the network address of SoftEther is 192.168.30.1/24
and your local subnet of eth0 is 192.168.0.1/24

Then you can create a bridge using the "bridge" linux command. You can also use the bridge functionality inside SoftEther, but I'm not sure
Good luck

thetech
Posts: 3
Joined: Fri Sep 16, 2016 4:05 pm

Re: Private IP for SoftEther VPN

Post by thetech » Fri Sep 16, 2016 8:27 pm

I tried that, and it won't work.
I'm using windows 2012.

pschmehl
Posts: 6
Joined: Sun Sep 18, 2016 5:38 am

Re: Private IP for SoftEther VPN

Post by pschmehl » Mon Sep 19, 2016 4:22 am

The whole purpose of VPN is to make private IPs available to networks outside the private one. It isn't completely clear to me what you're trying to do, but you should be able to view the IIS server using a web browser once you connect to the VPN server. If what you want to do is run the IIS Manager, then you would connect to the VPN server, then remote to the server using RDC.

Or maybe I don't understand what you're trying to do at all.

Post Reply