TCP/UDP: Socket bind failed on local address



  • Hi,
    I have a problem with a vpn client

    Mar 5 06:00:18 openvpn[19058]: Inactivity timeout (–ping-restart), restarting
    Mar 5 06:00:18 openvpn[19058]: SIGUSR1[soft,ping-restart] received, process restarting
    Mar 5 06:00:20 openvpn[19058]: NOTE: the current –script-security setting may allow this configuration to call user-defined scripts
    Mar 5 06:00:20 openvpn[19058]: Re-using pre-shared static key
    Mar 5 06:00:20 openvpn[19058]: TCP/UDP: Socket bind failed on local address [AF_INET]79.158.1.1: Can't assign requested address
    Mar 5 06:00:20 openvpn[19058]: Exiting due to fatal error
    Mar 5 06:00:20 openvpn[19058]: /usr/local/sbin/ovpn-linkdown ovpnc2 1500 1560 10.10.10.2 10.10.10.1 init

    This client have a gateway group. When my ISP changes my public IP it happens that open VPN client processes can't restablish connection to the server
    How I can renew the ip and restart the  openvpn service?

    pf: 2.2.6-RELEASE (amd64)

    Thanks


Log in to reply