~fkooman/vpn-documentation

ref: 9d22c514a9f893498f2c8bf8688d2e8a6c9adb4d vpn-documentation/PUBLIC_ADDR.md -rw-r--r-- 880 bytes
9d22c514François Kooman hopefully fix IPv6 when deploying on VM using RA 4 months ago

#title: Public Addresses description: Use Public IP Addresses for VPN Clients category: advanced

By default, NAT is used and RFC 1918 addresses are assigned to the clients for IPv4 and RFC 4193 addresses for IPv6.

In case you want to use routable IPv4 and/or IPv6 addresses you need to modify the configuration and make sure your upstream router routes the appropriate range(s) to your VPN server's IP address(es).

First edit /etc/vpn-server-api/config.php and set the range and/or range6 addresses as appropriate.

Next, modify the firewall according to these instructions.

To apply the configuration changes:

$ sudo vpn-maint-apply-changes

If the command is not available, install the vpn-maint-scripts package first.