how to enable static port mapping in securenat
Posted: 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.
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.