%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /usr/share/doc/netplan/examples/
Upload File :
Create Path :
Current File : //usr/share/doc/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
          metric: 100
    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
          metric: 200

Zerion Mini Shell 1.0