Page 1 of 1

What would be the rigth ip configuration.

Posted: Sun Sep 27, 2015 3:47 pm
by cjs1976
Hi!

I have a linux server which hosts three virtual machines. This virtual machines have a static ip address in the 10.0.0.x range. I need to connect my clients over vpn so that they can see this virtual servers, and that the virtual servers can see them.

So far I was able with SecureNAT to see the servers from the clients, but I can't see the clients from the server. I also configured split tunneling to use the local neetwork to go to the internet. The split tunneling is also working fine.

I think, that I have an understanding problem and a misconfiguration. Maybe someone can give me the right hint?

Thanks,
Christian.

Re: What would be the rigth ip configuration.

Posted: Thu Oct 08, 2015 8:42 am
by thisjun
If VM and VPN server is on same host, please use user mode NAT.
And, I think 0.0.0.x is not valid IP address.
http://stackoverflow.com/questions/3655 ... ip-address

Re: What would be the rigth ip configuration.

Posted: Thu Oct 08, 2015 2:33 pm
by cjs1976
hi thisjun!

yes, you are right, 0.0.0.x is not a valid ip. It was a typo. correct is 10.0.0.x. i corrected it also in the original posting.

how can i do user mode nat? i can't find anything in the configuration called 'user mode nat'.

at the moment i use securenat. it was very easy to do. but if i change the ip-addresses in the securenat-configuration it doesn't work anymore.

thanks,
christian.

Re: What would be the rigth ip configuration.

Posted: Thu Oct 22, 2015 6:37 am
by thisjun
Set "DisableKernelModeSecureNAT" in Virtual Hub Extended Option List.

Re: What would be the rigth ip configuration.

Posted: Wed Nov 04, 2015 2:32 pm
by cjs1976
hi thisjun,

sorry for the delay... i found the option. it is disabled. the description i found was not very helpful.

which value should i set instead of the 0? and what exactly is this option doing?

thanks,
christian.

Re: What would be the rigth ip configuration.

Posted: Thu Nov 19, 2015 6:52 am
by thisjun
Please set the value to "1".

Kernelmode NAT uses built-in TCP/IP stack and localbridge.
Usermode NAT uses TCP/IP stack of OS.

Client can't communicate with VPN server itself due to Linux limitation with kernelmode NAT.

Re: What would be the rigth ip configuration.

Posted: Thu Nov 19, 2015 10:02 am
by cjs1976
hi thisjun,

i changed the configuration like you described, but there is no change. the virtual servers are still not able to see (ping) the connected clients, but the clients can connect and see the servers.

is the ip-adress range also important? do i need to use the same ip-address range on the clients? by devault they are getting somthing like 192.168.30.*

thanks,
christian.

Re: What would be the rigth ip configuration.

Posted: Thu Dec 03, 2015 7:55 am
by thisjun
If you use a SoftEther VPN server later build 9582, please disable raw IP mode NAT by "DisableIpRawModeSecureNAT" in Virtual Hub Extended Option.