[Interface]ListenPort = 55522PrivateKey = pv123Address = 10.100.100.37/31[Peer]PublicKey = pub123EndPoint = XX.XX.XX.XX:55522AllowedIPs = 10.1.3.0/24PersistentKeepalive = 10
Public Key pub123 (Key from Config file)Private Key pv123 (Key from Config file)ListenPort 55522TunnelAddress 10.100.100.37/31Peers MyPeer
Name MyPeerPublicKey pub123 (Key from Config file)Allowed IPs 10.1.3.0/24Endpoint Address XX.XX.XX.XX:55522Enpoint Port 55522Keepalive 10
wg1 pub123 0
interface: wg1 public key: anohter pubkey! private key: (hidden) listening port: 55522peer: pub123 endpoint: XX.XX.XX.XX:55522 allowed ips: 10.1.3.0/24 transfer: 0 B received, 3.76 KiB sent persistent keepalive: every 10 seconds
sudo cat ls /usr/local/etc/wireguard/wg1.conf[Interface]Address = 10.100.100.37/31ListenPort = 55522PrivateKey = pv123[Peer]PublicKey = pub123AllowedIPs = 0.1.3.0/24Endpoint = XX.XX.XX.XX:55522PersistentKeepalive = 10