Add Wireguard
parent
370979816f
commit
a6f27fedf5
1 changed files with 34 additions and 0 deletions
34
Wireguard.md
Normal file
34
Wireguard.md
Normal file
|
|
@ -0,0 +1,34 @@
|
||||||
|
# Wireguard
|
||||||
|
|
||||||
|
## Linux client config example
|
||||||
|
|
||||||
|
```
|
||||||
|
[connection]
|
||||||
|
id=Homelab
|
||||||
|
uuid=SOME-UUID-STRING
|
||||||
|
type=wireguard
|
||||||
|
autoconnect=false
|
||||||
|
interface-name=WG0
|
||||||
|
permissions=user:YOUR-USER-HERE:;
|
||||||
|
timestamp=1724076025
|
||||||
|
|
||||||
|
[wireguard]
|
||||||
|
listen-port=51820
|
||||||
|
private-key=THIS-HOST-PRIVATE-KEY
|
||||||
|
|
||||||
|
[wireguard-peer.PEER-PUBLIC-kEY]
|
||||||
|
endpoint=domain.net:port
|
||||||
|
persistent-keepalive=25
|
||||||
|
allowed-ips=0.0.0.0/0;::/0;
|
||||||
|
|
||||||
|
[ipv4]
|
||||||
|
address1=IP-CONFIGURED-IN-SERVER/32
|
||||||
|
dns=YOUR-INTERNAL-LAN-DNS-PROVIDER;
|
||||||
|
method=manual
|
||||||
|
|
||||||
|
[ipv6]
|
||||||
|
addr-gen-mode=default
|
||||||
|
method=disabled
|
||||||
|
|
||||||
|
[proxy]
|
||||||
|
```
|
||||||
Loading…
Add table
Add a link
Reference in a new issue