OPNsense Wireguard
Version vom 7. Februar 2024, 12:35 Uhr von Thomas.will (Diskussion | Beiträge) (→An einem Linux System)
Konfiguration
- =>VPN => WireGuard => Settings => General
- =>VPN => WireGuard => Settings => Instances => +
An einem Linux System
- PRIVKEY=$(wg genkey)
- PUBKEY=$(echo $PRIVKEY | wg pubkey)
- PUBKEY_SERVER=XbO5anN/a6S6fR40N6xn+lqkctdAZK4yudaVAUtVmh8=
- cat<<HERE
[Interface] Address = 172.30.32.101/24 PrivateKey = $PRIVKEY #PUBKEY = $PUBKEY DNS = 8.8.8.8 [Peer] PublicKey = $PUBKEY_SERVER AllowedIPs = 0.0.0.0/0, ::/0 Endpoint = opns-zw.ix.de:51820 HERE

