discussions
discussions copied to clipboard
How do you change OpenVPN IP pool assigned to interface (tun0,tun1) and clients?
Hello, My OpenVPN client already has several interfaces that are on the 10.0.0.0 subnet and this is causing routing issues. I would like to use the 172.0.0.1 subnet for OpenVPN. To do so I assumed changing the server lines in server.conf and server-udp.conf lines would do the trick. See illustration below:
server 10.8.0.0 255.255.255.0 -----> server 172.18.0.0 255.255.255.0 push "dhcp-option DNS 10.8.0.1" ------> push "dhcp-option DNS 172.18.0.1"
Restarted OpenVPN, no errors.
However, when I have a look at the tun interfaces they still contain the old IP (10.8.0.1,10.9.0.1)
What am I missing/doing wrong?
Thanks
Duncan