Page 1 of 1

Accessing VPN Server with Virtual NAT DHCP IP

Posted: Sat Apr 11, 2015 12:44 pm
by b2never
Hi everybody

im using softether vpn server as proxy, softether client vpn is installed on home and server is somewhere on internet.
i also have IIS service installed on server.

when it connect to server and it shows me connected, i get 192.168.30.*** and server will be 192.168.30.1.
the ping is okay without timeout.

now here is my question

1- why i cannot get server remote desktop by 192.168.30.1 ?

2-i can access to iis directory by valid ip (http://validip) but i cannot download anything from it when vpn is connected. i also cannot access to iis by vpn assigned ip like http://192.168.30.1

how should i resolve these issue ?
thanks in advance

Re: Accessing VPN Server with Virtual NAT DHCP IP

Posted: Sun Apr 12, 2015 1:38 am
by yumemi5k
b2 - I somehow doubt that the success in directory listing is just browser history, which also gave me false hope when trying to setup SecureNAT as well, maybe try refreshing to see if it really worked when trying to connect to "valid ip"?

I deployed softether server on a linux box, and was ultimately unsuccessful trying to setting up secureNAT. I ended up setting up a TAP interface, which is bridged to the virtual hub. It goes without mentioning that DNS, DHCP and packet forwarding needed to be set up as well.

Another solution would be to have the server machine connect to the VPN server with secureNAT enabled as well, and getting an 192.168.30.10~ IP address. This way a virtual interface would be created on the server machine, which your IIS can listen on.

About not being able to connect to .30.1: From what I understood, the server machine OS is not aware of the .30.1 IP address at all, it exists only inside the softether VPN virtual hub. If you ping .30.1 from a client, the VPN server tells the client that a machine with address .30.1 responded. However trying to connecting to service run on the server won't work since the services aren't even aware that the IP exists, let alone listening to it.

Re: Accessing VPN Server with Virtual NAT DHCP IP

Posted: Sun Apr 12, 2015 3:55 am
by b2never
Hi yumemi5k
Thanks for your reply

i found a workaround based on your information on last paragraph

thanks god, softether has a bridge function.

i assigned an ip in vpn dhcp range (i.e 192.168.30.100) to local ethernet ( network card with internet ) and then i made a bridge inside softether server between my virtual hub and local ethernet

now i can browse iis with 192.168.30.100 and also get server remote with the same ip

yay :D