how to enable static port mapping in securenat

Post your questions about SoftEther VPN software here. Please answer questions if you can afford.
Post Reply
黄禄轩
Posts: 1
Joined: Mon Feb 27, 2023 3:16 pm

how to enable static port mapping in securenat

Post by 黄禄轩 » Mon Feb 27, 2023 3:27 pm

I want to implement a reverse proxy with softether, and I tried to use securenat. So now the NAT gateway is working, but I cannot figure out how to enable static port mapping in it.

so I have some servers running on the machine with vpnclient for example 192.168.2.2:21. and another machine 192.168.1.2 running other servers as well as a vpnserver with securenat enabled. The gateway ip of securenat is 192.168.2.1. and I hope the securenat maps 0.0.0.0:21 to 192.168.2.2:21 so I can access to the server 192.168.2.2:21 by connecting to port 21 of 192.168.1.2.

Is that possible.

By the way, i don't want to create a bridge because i want to keep 192.168.2.0/24 and 192.168.1.0/24 isolated.

solo
Posts: 1264
Joined: Sun Feb 14, 2021 10:31 am

Re: how to enable static port mapping in securenat

Post by solo » Tue Feb 28, 2023 5:26 am

To access different subnets use L3 switch
https://www.softether.org/4-docs/1-manu ... Routing%29
If you still can't, then start describing your OS and LAN or VPS network topology.

Post Reply