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:18] – 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 |
| + | < | ||
| [Interface] | [Interface] | ||
| PrivateKey = <private key server> | PrivateKey = <private key server> | ||
| Line 97: | Line 99: | ||
| Client | Client | ||
| - | < | + | < |
| [Interface] | [Interface] | ||
| PrivateKey = <private key client> | PrivateKey = <private key client> | ||
| 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.1680362303.txt.gz · Last modified: (external edit)