Restart OpenVPN / re read host address - command line



  • Hi

    Does openVPN read the remote server hosts address from config.xml or is there another file it reads from ?

    Is it possible to restart the openVPN either via PHP or the command line ?
    If I script the update of the server hosts address in config.xml, when I restart openVPN will it use the new host address ?

    Any issues with doing this ?

    Thanks



  • Hi

    My script is correctly editing config.xml and client1.conf

    OpenVPN is restarted and it appears to connect to the new server, but the GUI still shows the old host address and after a minute or so the VPN appears to be connected back to the old host.

    Can this be done?
    Thanks