Skip to content

Commit

Permalink
fix: ensure mtu works on all networks, closes #40
Browse files Browse the repository at this point in the history
  • Loading branch information
ViRb3 committed Aug 25, 2020
1 parent bde19e7 commit bd80ecf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions wireguard/profile.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ PrivateKey = {{ .PrivateKey }}
Address = {{ .Address1 }}/32
Address = {{ .Address2 }}/128
DNS = 1.1.1.1
MTU = 1280
[Peer]
PublicKey = {{ .PublicKey }}
AllowedIPs = 0.0.0.0/0
Expand Down
1 change: 1 addition & 0 deletions wireguard/profile_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ PrivateKey = 1
Address = 2/32
Address = 3/128
DNS = 1.1.1.1
MTU = 1280
[Peer]
PublicKey = 4
AllowedIPs = 0.0.0.0/0
Expand Down

0 comments on commit bd80ecf

Please sign in to comment.