OPNsense Wireguard: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
| Zeile 14: | Zeile 14: | ||
=An einem Linux System= | =An einem Linux System= | ||
| + | *PUBKEY_SERVER=XbO5anN/a6S6fR40N6xn+lqkctdAZK4yudaVAUtVmh8= | ||
*PRIVKEY=$(wg genkey) | *PRIVKEY=$(wg genkey) | ||
*PUBKEY=$(echo $PRIVKEY | wg pubkey) | *PUBKEY=$(echo $PRIVKEY | wg pubkey) | ||
| − | |||
*cat<<HERE > client1.conf | *cat<<HERE > client1.conf | ||
Version vom 7. Februar 2024, 13:58 Uhr
Konfiguration
- =>VPN => WireGuard => Settings => General
- =>VPN => WireGuard => Settings => Instances => +
Interfaces
- Assignments
Firewall
- => Rules => WAN => +
- => Rules => WireGuard (Group) => +
An einem Linux System
- PUBKEY_SERVER=XbO5anN/a6S6fR40N6xn+lqkctdAZK4yudaVAUtVmh8=
- PRIVKEY=$(wg genkey)
- PUBKEY=$(echo $PRIVKEY | wg pubkey)
- cat<<HERE > client1.conf
[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 Endpoint = opns-zw.ix.de:55555 HERE
generate the qrcode
- qrencode -t utf8 < client1.conf




