Difference between revisions of "/etc/wireguard/"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
[[/etc/]]wireguard/ | [[/etc/]]wireguard/ | ||
[[/etc/wireguard/wg0.conf]] | [[/etc/wireguard/wg0.conf]] | ||
+ | |||
+ | == Client example configuration == | ||
+ | [Interface] | ||
+ | Address = 10.0.0.2/32 | ||
+ | PrivateKey = <contents-of-client-privatekey> | ||
+ | DNS = 1.1.1.1 | ||
+ | |||
+ | [Peer] | ||
+ | PublicKey = <contents-of-server-publickey> | ||
+ | Endpoint = <server-public-ip>:51820 | ||
+ | AllowedIPs = 0.0.0.0/0, ::/0 | ||
+ | |||
== See also == | == See also == | ||
Line 8: | Line 20: | ||
− | |||
[[Category:WireGuard]] | [[Category:WireGuard]] | ||
[[Category:Tunneling protocols]] | [[Category:Tunneling protocols]] | ||
[[Category:Virtual private networks]] | [[Category:Virtual private networks]] | ||
[[Category:Security]] | [[Category:Security]] |
Revision as of 12:53, 25 January 2024
/etc/wireguard/ /etc/wireguard/wg0.conf
Client example configuration
[Interface] Address = 10.0.0.2/32 PrivateKey = <contents-of-client-privatekey> DNS = 1.1.1.1 [Peer] PublicKey = <contents-of-server-publickey> Endpoint = <server-public-ip>:51820 AllowedIPs = 0.0.0.0/0, ::/0
See also
wg
,wg-quick
[up
| down | strip ],wg genkey
,wg show
- WireGuard,
wg
,wg-quick
, Curve25519,wireguard-tools
, Pritunl - Edge Security LLC
Advertising: