I can connect clients and I have communication in both directions. Good.
In one use-case I want one client to always get the same ip number. I have looked at several guides for openvpn and tried the following modifications in VeeamPN but not got it to work. Anyone have any suggestions?
This have I done:
1) ssh to veeampm
2) Added those two lines to file
Code: Select all
file: /etc/veeampn/EndpointOVPN.cfg
ifconfig-pool-persist /etc/veeampn/ccd/ipp.txt
client-config-dir /etc/veeampn/ccd
Code: Select all
mkdir /etc/veeampn/ccd
cat /etc/veeampn/ccd/507508433207194602s
ifconfig-push 10.9.0.4 255.255.255.0
push "dhcp-option DOMAIN example.se"
Code: Select all
cat /etc/veeampn/ccd/ipp.txt
5075084332071946027,10.9.0.4
When I test this I know that the client specific part is executed because I see the "DOMAIN example.se" in the client log file. But the static ip number is not set. I always get the lowest free ip numbers in the 10.9.0.0/24 when expecting the ip number 10.9.0.4 at the client.