Update README.md
This commit is contained in:
@@ -623,9 +623,6 @@ For wg0.conf and server_private.key, you should see the following:
|
||||
>-rw-------
|
||||
|
||||
|
||||
IPV6 eklenecek
|
||||
|
||||
|
||||
## Enable the service
|
||||
systemctl enable wg-quick@wg0
|
||||
systemctl start wg-quick@wg0
|
||||
@@ -644,6 +641,39 @@ sudo ss -lun | grep 51820
|
||||
>*:51820
|
||||
|
||||
|
||||
(Optional) Enable IPv6 support (VPS)
|
||||
Verify that the server has working IPv6 connectivity
|
||||
ip -6 addr show
|
||||
>A global IPv6 address (inet6 2a01:c303:2456:2954::1/64 scope global, ipv6 is 2a01:c303:2456:2954::1)
|
||||
|
||||
ip -6 route
|
||||
>default via ...
|
||||
|
||||
ping -6 google.com
|
||||
>0% packet loss
|
||||
|
||||
If IPv6 is working, you can assign a Unique Local IPv6 (ULA) prefix to the WireGuard network
|
||||
Generate a ULA prefix:
|
||||
1)
|
||||
openssl rand -hex 5
|
||||
>a1b2c3d4e5
|
||||
ULA -> fda1:b2c3:d4e5::/64
|
||||
|
||||
2)
|
||||
uuidgen
|
||||
>f81d4fae-7dec-11d0-a765-00a0c91e6bf6
|
||||
>First 10 character -> f81d4fae7d
|
||||
ULA -> fdf8:1d4f:ae7d::/64
|
||||
|
||||
|
||||
Server
|
||||
Address = 10.8.0.1/24, fdf8:1d4f:ae7d::1/64
|
||||
|
||||
Phone
|
||||
Address = 10.8.0.2/24, fdf8:1d4f:ae7d::2/64
|
||||
|
||||
Desktop
|
||||
Address = 10.8.0.3/24, fdf8:1d4f:ae7d::3/64
|
||||
|
||||
|
||||
<details>
|
||||
|
||||
Reference in New Issue
Block a user