OPNsense Wireguard: Unterschied zwischen den Versionen

Aus Xinux Wiki
Zur Navigation springen Zur Suche springen
Zeile 4: Zeile 4:
 
*'''=>VPN => WireGuard => Settings => Instances => +'''
 
*'''=>VPN => WireGuard => Settings => Instances => +'''
 
[[Datei:Opnsense-wg02.png]]
 
[[Datei:Opnsense-wg02.png]]
 +
=An einem Linux System=
 +
*cat<<HERE
 +
<pre>
 +
[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

Version vom 7. Februar 2024, 12:33 Uhr

Konfiguration

  • =>VPN => WireGuard => Settings => General

Opnsense-wg01.png

  • =>VPN => WireGuard => Settings => Instances => +

Opnsense-wg02.png

An einem Linux System

  • 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