• 2 Posts
  • 462 Comments
Joined 1 year ago
cake
Cake day: June 12th, 2023

help-circle





  • Seems fine to me except for all the firewall and special routing stuff, I’m not familiar with that. Does the wg command show received or only sent data? For the record, this is my config:

    spoiler
    # /etc/systemd/network/mullvad.netdev
    [NetDev]
    Description=Mullvad
    Kind=wireguard
    Name=mullvad
    
    [WireGuard]
    PrivateKeyFile=/var/keys/mullvad/pk
    
    [WireGuardPeer]
    AllowedIPs=::/0
    AllowedIPs=0.0.0.0/0
    Endpoint=146.70.126.194:51820
    PublicKey=ApOUMLFcpTpj/sDAMub0SvASFdsSWtsy+vvw/nWvEmY=
    
    # /etc/systemd/network/mullvad.network
    [Match]
    Name=mullvad
    
    [Network]
    Address=10.64.130.96/32
    Address=fc00:bbbb:bbbb:bb01::1:825f/128
    
    [Route]
    Destination=::/0
    Metric=16384
    
    [Route]
    Destination=0.0.0.0/0
    Metric=16384