Page 1 of 1

Secure nat and rdp connection

Posted: Mon Jan 28, 2019 8:31 am
by pomestnik
Hello, help me please
I have HOME PC with
192.168.0.5
255.255.255.0
192.168.0.1

i have WORK SERVER with Win server 2008 R2
10.11.101.230
255.255.255.0
10.11.101.1

I have installed SoftEther server on WORK SERVER, created local bridge and setup Secure nat with settings:

Image


VPN connection works fine. My ip in vpn is 192.168.100.10
Also i can ping 192.168.100.1 but
i cant connet via rdp to it

I don't know how to setup static routing table in SECURE NAT setting may this is a reason

Re: Secure nat and rdp connection

Posted: Sun Feb 03, 2019 3:33 pm
by cmd wh0ami
I'm pretty sure you dont want to use SecureNAT with a bridged connection. I use Softether on my server at home to connect to LAN to remote into my mining rigs. I bridge to eth0 (my router) which handles the dhcp for the connecting clients, so I DO NOT enable DHCP server or SecureNAT..

Also Im not sure if you can RDP into the same machine running the VPN server while connected to VPN... I know for a fact you cant ssh into a machine running the VPN server while connected to the VPN with out using local loopback. The machine is expecting a connection coming from LAN but your trying to connect from inside the machine to it's self.

Re: Secure nat and rdp connection

Posted: Mon Feb 04, 2019 7:11 am
by pomestnik
remind my situation
Remote lan COMP_SERVER ip = 10.11.101.230
Softether vpn server installed on it
Secure NAT on this server = 192.168.101.1

I have setup routing table in Secure NAt:
10.11.101.1/255.255.255.0/192.168.100.1

now i can ping 10.11.101.230 and connect via rdp from my HOME COMP ( still can't connect via rdp to ip 192.168.101.1).

I have a new problem :D
Secure NAT DHCP gives ip adresses to computers in his network!!! I need virtual DHCP works only for vpn clients...


cmd wh0ami, i need to use SECURE NAT with DHCP because i will connect from my HOME to many remote networks at the same time and they can have same network space ( for example 2 remote networks with : 192.168.0.1 - 192.168.0.255 range)

Re: Secure nat and rdp connection

Posted: Thu Mar 28, 2019 6:19 am
by thisjun
If all VPN destinations use the same network address, the client's operating system can not determine which SecureNAT to send the packet to.
I think your final goal is hard to an archive.

Re: Secure nat and rdp connection

Posted: Fri May 10, 2019 11:06 pm
by harrYforD
pomestnik wrote:
Mon Feb 04, 2019 7:11 am
remind my situation
Remote lan COMP_SERVER ip = 10.11.101.230
Softether vpn server installed on it
Secure NAT on this server = 192.168.101.1

I have setup routing table in Secure NAt:
10.11.101.1/255.255.255.0/192.168.100.1

now i can ping 10.11.101.230 and connect via rdp from my HOME COMP ( still can't connect via rdp to ip 192.168.101.1).

I have a new problem :D
Secure NAT DHCP gives ip adresses to computers in his network!!! I need virtual DHCP works only for vpn clients...


cmd wh0ami, i need to use SECURE NAT with DHCP because i will connect from my HOME to many remote networks at the same time and they can have same network space ( for example 2 remote networks with : 192.168.0.1 - 192.168.0.255 range)
Yes, I'm also looking for a solution with the nat secure on, but I only find solutions by adding a DHCP server as a solution, but as this sends broadcast I return to the same.
Has anyone found a solution?