Open Kalimeiro opened 7 months ago
correct is : push "route 10.255.250.1 255.255.255.255"
you need also to uncomment ifconfig-pool-persistent.
And, i think instead using CCD, you need to create the client file "openmptcprouter" and inside this file put the directive :
if using OpenVPN TCP : ifconfig-push 10.255.252.2 255.255.255.0 else if using OpenVPN UDP : ifconfig-push 10.255.250.2 255.255.255.0
i found a bug on OpenVPN DHCP Lease and OMR ADMIN and time to time the IP of the tunnel change and port forwarding not working, the client file fix this problem.
For the UDP part, same cn is used if all WANs are using MPTCP over VPN. So no pool persist can be defined. For the client file I will make some tests, this mean to also make some changes in the API for multi users support.
https://github.com/Ysurac/openmptcprouter-vps/blame/96775408d7d40e917f190cf9d60744f0bcb83fdb/openvpn-tun1.6.1.conf#L25