SRC-NAT Private To Multiple Public
Posted: Thu Jun 16, 2022 7:28 am
Hello everyone,
wondering If I could get some helping hand here.
I have server with a /25 subnet
So basically I have 165.XXX.XXX.2 - 165.XXX.XXX.127 available for use on this server (public)
Softether DHCP server assigns 192.168.30.10-192.168.30.200 to connected clients. (private)
Problem is, connected clients get their outbound traffic routed via 165.XXX.XXX.2 which is the primary public IP of my sofether VPN server.
I want to be able to set up a nat rule, that will utilize the entire block for outbound traffic.
In Mikrotik I simply do this with a NAT rule with src-nat as 192.168.30.10-192.168.30.200, action as src-nat and to address as 165.XXX.XXX.2 - 165.XXX.XXX.127 and it simply uses this public range for outbound traffi. And dynamically changes this for vpn client traffic.
How Do I accomplish this on softether?
wondering If I could get some helping hand here.
I have server with a /25 subnet
So basically I have 165.XXX.XXX.2 - 165.XXX.XXX.127 available for use on this server (public)
Softether DHCP server assigns 192.168.30.10-192.168.30.200 to connected clients. (private)
Problem is, connected clients get their outbound traffic routed via 165.XXX.XXX.2 which is the primary public IP of my sofether VPN server.
I want to be able to set up a nat rule, that will utilize the entire block for outbound traffic.
In Mikrotik I simply do this with a NAT rule with src-nat as 192.168.30.10-192.168.30.200, action as src-nat and to address as 165.XXX.XXX.2 - 165.XXX.XXX.127 and it simply uses this public range for outbound traffi. And dynamically changes this for vpn client traffic.
How Do I accomplish this on softether?