Yes that is my default configuration but I don't think it is coincidence that 
it's the one with the hostname that goes down.
Just need to find out why.

Regards
Michael Knill

On 9/12/20, 12:04 pm, "Lonnie Abelbeck" <li...@lonnie.abelbeck.com> wrote:

    Did you have this option checked in the WireGuard Config over PPPoE ?
    --
    DNS Update:  _x_  Continually Update DNS Endpoints for peers 
    --

    As long as the DNS A record did not change, the PPPoE connection could go 
down and return and all would be fine.  Without the need for the "DNS Update" 
option to be checked. 

    But, if the PPPoE connection was down, AND you restarted WireGuard, then 
the WG Endpoint would be unknown, and later if PPPoE returned, without the 
above option checked, the DNS endpoint would never be found.

    Understand, the cause of the above scenario is restarting WireGuard.

    If the only problem was the PPPoE connection was down, and it eventually 
returned, the WireGuard tunnel should come back as well without the need for 
the "DNS Update" option to be checked.

    But, if the WG DNS endpoint was some sort of dynamic DNS or could easily 
change, then the "DNS Update" option should be checked.

    Bottom line, if this ever happens again, first determine if the PPPoE 
connection under WireGuard is active and working before taking any actions.

    Lonnie



    > On Dec 8, 2020, at 6:27 PM, Michael Knill 
<michael.kn...@ipcsolutions.com.au> wrote:
    > 
    > Hmm just had a thought on this one.
    > The secondary WG VPN is different to the primary in that is uses a 
hostname rather than an IP Address.
    > Wonder if PPPoE was down then no DNS resolution and maybe cannot find 
Endpoint? 
    > 
    > Regards
    > Michael Knill
    > 
    > On 8/12/20, 9:28 am, "Michael Knill" <michael.kn...@ipcsolutions.com.au> 
wrote:
    > 
    >    Hi Lonnie
    > 
    >    Network connectivity was fine. I remotely accessed the box and the 
other Wireguard VPN was active!
    >    I will try a pppoe-restart directly next time but I'm not hopeful.
    >    Weird one.
    > 
    >    Regards
    >    Michael Knill
    > 
    >    On 8/12/20, 9:24 am, "Lonnie Abelbeck" <li...@lonnie.abelbeck.com> 
wrote:
    > 
    > 
    > 
    >> On Dec 7, 2020, at 3:29 PM, Michael Knill 
<michael.kn...@ipcsolutions.com.au> wrote:
    >> 
    >> Hi Group
    >> 
    >> I use Wireguard VPN to connect to both my primary and secondary 
softswitch from Astlinux.
    >> Two of my sites went down last night (same provider and at the same 
time) and for both of them the secondary Wireguard VPN did not re-establish.
    >> I tried the following to no avail:
    >>  • Wireguard restart
    >>  • Firewall reload
    >>  • service network restart
    >>  • pppoe-restart
    >> 
    >> I eventually had to reboot the box before it came up again. Any ideas 
for next time it happens rather than a reboot?
    >> 
    >> Thanks
    >> 
    >> Regards
    >> Michael Knill
    > 
    >        Off hand, I'm not sure, but don't do a "service network restart", 
that may have caused issues requiring a reboot.
    > 
    >        I would typically blame PPPoE :-)  Using "pppoe-restart" is a good 
idea.
    > 
    >        If you knew if the link had an active internet connection (or not) 
that would be great info.
    > 
    >        Lonnie
    > 
    > 
    > 
    > 
    > 
    > 
    >        _______________________________________________
    >        Astlinux-users mailing list
    >        Astlinux-users@lists.sourceforge.net
    >        https://lists.sourceforge.net/lists/listinfo/astlinux-users
    > 
    >        Donations to support AstLinux are graciously accepted via PayPal 
to pay...@krisk.org.
    > 
    > 
    >    _______________________________________________
    >    Astlinux-users mailing list
    >    Astlinux-users@lists.sourceforge.net
    >    https://lists.sourceforge.net/lists/listinfo/astlinux-users
    > 
    >    Donations to support AstLinux are graciously accepted via PayPal to 
pay...@krisk.org.
    > 
    > 
    > _______________________________________________
    > Astlinux-users mailing list
    > Astlinux-users@lists.sourceforge.net
    > https://lists.sourceforge.net/lists/listinfo/astlinux-users
    > 
    > Donations to support AstLinux are graciously accepted via PayPal to 
pay...@krisk.org.



    _______________________________________________
    Astlinux-users mailing list
    Astlinux-users@lists.sourceforge.net
    https://lists.sourceforge.net/lists/listinfo/astlinux-users

    Donations to support AstLinux are graciously accepted via PayPal to 
pay...@krisk.org.


_______________________________________________
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to 
pay...@krisk.org.

Reply via email to