Skip to content

Commit

Permalink
profile: Add subnets to config
Browse files Browse the repository at this point in the history
  • Loading branch information
syphyr committed Apr 14, 2020
1 parent fa4545d commit 37ea9a4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions wireguard/profile.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ import (
var profileTemplate = `[Interface]
PrivateKey = {{ .PrivateKey }}
DNS = 1.1.1.1
Address = {{ .Address1 }}
Address = {{ .Address2 }}
Address = {{ .Address1 }}/24
Address = {{ .Address2 }}/128
[Peer]
PublicKey = {{ .PublicKey }}
AllowedIPs = 0.0.0.0/0
Expand Down

0 comments on commit 37ea9a4

Please sign in to comment.