Skip to content

Commit

Permalink
Add Cloudflare IPv6 and alternate DNS addresses (#325)
Browse files Browse the repository at this point in the history
  • Loading branch information
ourgta authored Sep 6, 2023
1 parent e04ae16 commit 7741ebd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion wireguard/profile.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ var profileTemplate = `[Interface]
PrivateKey = {{ .PrivateKey }}
Address = {{ .Address1 }}/32
Address = {{ .Address2 }}/128
DNS = 1.1.1.1
DNS = 1.1.1.1, 1.0.0.1, 2606:4700:4700::1111, 2606:4700:4700::1001
MTU = 1280
[Peer]
PublicKey = {{ .PublicKey }}
Expand Down
2 changes: 1 addition & 1 deletion wireguard/profile_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ func TestGenerateProfile(t *testing.T) {
PrivateKey = 1
Address = 2/32
Address = 3/128
DNS = 1.1.1.1
DNS = 1.1.1.1, 1.0.0.1, 2606:4700:4700::1111, 2606:4700:4700::1001
MTU = 1280
[Peer]
PublicKey = 4
Expand Down

0 comments on commit 7741ebd

Please sign in to comment.