Skip to content

Commit

Permalink
fix: temporarily removed DNS
Browse files Browse the repository at this point in the history
  • Loading branch information
Rikpat committed Apr 4, 2024
1 parent eaad522 commit b970f34
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,9 @@ COPY --chmod="111" ./purevpnwg-${TARGETOS}-${TARGETARCH} /bin/purevpnwg

ENV PUREVPN_USERNAME=""
ENV PUREVPN_PASSWORD=""
ENV PUREVPN_SERVER_COUNTRY="DE"
ENV PUREVPN_SERVER_CITY="2762"
ENV PUREVPN_SERVER_COUNTRY="US"
# New York
ENV PUREVPN_SERVER_CITY="8778"
ENV PUREVPN_WIREGUARD_FILE="/out/wg0.conf"

ENTRYPOINT ["/bin/purevpnwg", "full"]
2 changes: 1 addition & 1 deletion pkg/wireguard/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ func UpdateConfig(newConfig []byte, config *util.Config) error {
iface := wgConfFile.Section("Interface")
iface.Key("Address").SetValue(wgConf.Interface.Address)
iface.Key("PrivateKey").SetValue(wgConf.Interface.PrivateKey)
iface.Key("DNS").SetValue(wgConf.Interface.DNS)
// iface.Key("DNS").SetValue(wgConf.Interface.DNS)

peer := wgConfFile.Section("Peer")
peer.Key("PublicKey").SetValue(wgConf.Peer.PublicKey)
Expand Down

0 comments on commit b970f34

Please sign in to comment.