Jump to content

booppy

Members
  • Posts

    2
  • Joined

  • Last visited

Posts posted by booppy

  1. Hello there, I have troubles connecting to my custom wireguard server using the image.
    It used to work perfectly but then something has happened. I noticed that after Docker Desktop update.
    Host OS: macOS 11.2.3 (20D91)
     

    Please help to resolve the issue.

     

    The gist of it looks like that (full supervisord.log is attached)
     

    2021-04-23 21:41:03,626 DEBG 'start-script' stderr output:
    [#] ip link add wg0 type wireguard
    
    2021-04-23 21:41:03,629 DEBG 'start-script' stderr output:
    Error: Unknown device type.
    
    2021-04-23 21:41:03,632 DEBG 'start-script' stderr output:
    Unable to access interface: Protocol not supported
    
    2021-04-23 21:41:03,633 DEBG 'start-script' stderr output:
    [#] ip link delete dev wg0
    
    2021-04-23 21:41:03,638 DEBG 'start-script' stderr output:
    Cannot find device "wg0"
    
    2021-04-23 21:41:03,639 DEBG 'start-script' stdout output:
    [warn] WireGuard interface failed to come 'up', exit code is '1'

     

    supervisord.log

  2. Hello there! I've used the image for quite some time and it worked like a charm. But after Docker Desktop (Mac OS) update to 3.3.0 (62916) the logs are like this:
     

    2021-04-11 21:34:34,395 DEBG 'start-script' stdout output:
    --------------------
    2021-04-11 21:34:34,399 DEBG 'start-script' stdout output:
    [info] Attempting to bring WireGuard interface 'up'...
    2021-04-11 21:34:34,411 DEBG 'start-script' stderr output:
    Warning: `/config/wireguard/wg0.conf' is world accessible
    2021-04-11 21:34:34,418 DEBG 'start-script' stderr output:
    [#] ip link add wg0 type wireguard
    2021-04-11 21:34:34,420 DEBG 'start-script' stderr output:
    Error: Unknown device type.
    2021-04-11 21:34:34,423 DEBG 'start-script' stderr output:
    Unable to access interface: Protocol not supported
    2021-04-11 21:34:34,423 DEBG 'start-script' stderr output:
    [#] ip link delete dev wg0
    2021-04-11 21:34:34,427 DEBG 'start-script' stderr output:
    Cannot find device "wg0"
    2021-04-11 21:34:34,428 DEBG 'start-script' stdout output:
    [warn] WireGuard interface failed to come 'up', exit code is '1'

     

    The "config/wireguard/wg0.conf" is like that:

    [Interface]
    PostUp = '/root/wireguardup.sh'
    PostDown = '/root/wireguarddown.sh'
    Address = ???.???.???.???/24
    DNS = ???.???.???.???, ???.???.???.???
    PrivateKey = ???
    
    [Peer]
    PublicKey = ???
    PresharedKey = ???
    AllowedIPs = 0.0.0.0/0
    Endpoint = ???.???.???.???:???
    PersistentKeepalive = 25
    

    (of course there are real values instead of ???)

     

    Any ideas on how to fix that or what to look for in the logs?

×
×
  • Create New...