linux:vpn:wireguard
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
linux:vpn:wireguard [2023/04/01 17:19] – [Internetzugriff] admin | linux:vpn:wireguard [2024/02/25 14:28] (current) – gsys | ||
---|---|---|---|
Line 26: | Line 26: | ||
</ | </ | ||
- | < | + | < |
[Interface] | [Interface] | ||
PrivateKey = <private key server> | PrivateKey = <private key server> | ||
Line 46: | Line 46: | ||
==== Client ==== | ==== Client ==== | ||
- | < | + | < |
[Interface] | [Interface] | ||
PrivateKey = <private key client> | PrivateKey = <private key client> | ||
Line 76: | Line 76: | ||
Server | Server | ||
- | IPv4 Packet Forwarding aktivieren | + | IPv4/IPv6 Packet Forwarding aktivieren |
< | < | ||
sudo sysctl -w net.ipv4.ip_forward=1 | sudo sysctl -w net.ipv4.ip_forward=1 | ||
+ | sudo sysctl -w net.ipv6.ip_forward=1 | ||
sudo sysctl -p # Änderung anwenden | sudo sysctl -p # Änderung anwenden | ||
</ | </ | ||
+ | Server | ||
<code bash> | <code bash> | ||
[Interface] | [Interface] | ||
Line 124: | Line 126: | ||
Endpoint = vpn.example.com: | Endpoint = vpn.example.com: | ||
PersistentKeepalive = 25 | PersistentKeepalive = 25 | ||
+ | </ | ||
+ | |||
+ | ==== Windows Client ==== | ||
+ | |||
+ | < | ||
+ | wireguard / | ||
+ | wireguard / | ||
+ | wireguard / | ||
+ | wireguard / | ||
+ | wireguard /update 2> C: | ||
</ | </ |
linux/vpn/wireguard.1680362353.txt.gz · Last modified: 2024/02/17 19:03 (external edit)