mirror of https://github.com/OpenIPC/wiki.git
Fix typo in package-wireguard.md
parent
16ce4d9f2b
commit
f2a4403804
|
@ -16,8 +16,8 @@ Use [this guide](https://ruvds.com/ru/helpcenter/nastroyka-vpn-s-ispolzovaniem-w
|
||||||
```shell
|
```shell
|
||||||
auto wg0
|
auto wg0
|
||||||
iface wg0 inet static
|
iface wg0 inet static
|
||||||
address 10.10.10.10.2
|
address 10.10.10.2
|
||||||
netmask 255.255.255.255.0
|
netmask 255.255.255.0
|
||||||
pre-up modprobe wireguard
|
pre-up modprobe wireguard
|
||||||
pre-up ip link add dev wg0 type wireguard
|
pre-up ip link add dev wg0 type wireguard
|
||||||
pre-up wg setconf wg0 /etc/wireguard.conf
|
pre-up wg setconf wg0 /etc/wireguard.conf
|
||||||
|
@ -28,7 +28,7 @@ iface wg0 inet static
|
||||||
[Interface].
|
[Interface].
|
||||||
PrivateKey = MO3+yxTyFnnOgeOk9NKFSKHqgFfW6cBhctUO4YeiwV0=
|
PrivateKey = MO3+yxTyFnnOgeOk9NKFSKHqgFfW6cBhctUO4YeiwV0=
|
||||||
[Peer]
|
[Peer]
|
||||||
AllowedIPs = 10.10.10.10.0/24
|
AllowedIPs = 10.10.10.0/24
|
||||||
Endpoint = 192.168.0.2:51820
|
Endpoint = 192.168.0.2:51820
|
||||||
PersistentKeepalive = 25
|
PersistentKeepalive = 25
|
||||||
PublicKey = M2/axcXbD+eg/c4vfEQTiIpV6LU+kzgJCGqDpzIpHS4=
|
PublicKey = M2/axcXbD+eg/c4vfEQTiIpV6LU+kzgJCGqDpzIpHS4=
|
||||||
|
|
Loading…
Reference in New Issue