Secure nat and rdp connection

Post your questions about SoftEther VPN software here. Please answer questions if you can afford.
Post Reply
pomestnik
Posts: 3
Joined: Mon Jan 28, 2019 7:58 am

Secure nat and rdp connection

Post by pomestnik » Mon Jan 28, 2019 8:31 am

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

cmd wh0ami
Posts: 125
Joined: Sun Jul 16, 2017 6:58 pm

Re: Secure nat and rdp connection

Post by cmd wh0ami » Sun Feb 03, 2019 3:33 pm

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.
VPN Discord invite: https://discord.gg/QByKXA9

pomestnik
Posts: 3
Joined: Mon Jan 28, 2019 7:58 am

Re: Secure nat and rdp connection

Post by pomestnik » 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)

thisjun
Posts: 2458
Joined: Mon Feb 24, 2014 11:03 am

Re: Secure nat and rdp connection

Post by thisjun » Thu Mar 28, 2019 6:19 am

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.

harrYforD
Posts: 1
Joined: Fri May 10, 2019 10:56 pm

Re: Secure nat and rdp connection

Post by harrYforD » Fri May 10, 2019 11:06 pm

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?

Post Reply