Send pritunl source NAT method to SNAT instead MASQ


For pritunl VPN would be nice to use SNAT with --to-source instead of MASQUERADE
It has a much granular control on source NAT outbound IP
For example I would like to use IPs from same network as alias IPs on same interface as different outbound SNAT IPs which is not possible with MASQ which requires different interfaces (no interface alias like eth0:1)
Using IPs from same network on different interfaces is not a solution on linux.

This option may be added in the future.

1 Like