First page Back Continue Last page Overview Graphics

Internet gateway: CLI

# /etc/wireguard/wg0.conf on CLI

# connecting to wg0 on SVR

# internet gateway through SVR

[Interface]

Address = 10.0.0.2/24

PrivateKey = PRIVATE_KEY_FROM_CLI

[Peer]

PublicKey = PUBLIC_KEY_FROM_SVR

Endpoint = svr.domain.tld:51820

# gateway rule – route all traffic out over wg0!

AllowedIPs = 0.0.0.0/0