D7net Mini Sh3LL v1
Current File : //usr/share/systemd/../doc/php-common/../php-json-schema/../netplan/examples/wireguard.yaml |
network:
version: 2
tunnels:
wg0: #server
mode: wireguard
addresses: [10.10.10.20/24]
key: 4GgaQCy68nzNsUE5aJ9fuLzHhB65tAlwbmA72MWnOm8=
mark: 42
port: 51820
peers:
- keys:
public: M9nt4YujIOmNrRmpIRTmYSfMdrpvE7u6WkG8FY8WjG4=
shared: 7voRZ/ojfXgfPOlswo3Lpma1RJq7qijIEEUEMShQFV8=
allowed-ips: [20.20.20.10/24]
routes:
- to: default
via: 10.10.10.21
wg1: #client
mode: wireguard
addresses: [20.20.20.10/24]
key: KPt9BzQjejRerEv8RMaFlpsD675gNexELOQRXt/AcH0=
peers:
- endpoint: 10.10.10.20:51820
allowed-ips: [0.0.0.0/0]
keys:
public: rlbInAj0qV69CysWPQY7KEBnKxpYCpaWqOs/dLevdWc=
shared: 7voRZ/ojfXgfPOlswo3Lpma1RJq7qijIEEUEMShQFV8=
keepalive: 21
routes:
- to: default
via: 20.20.20.11
AnonSec - 2021 | Recode By D7net