This is an automated archive.
The original was posted on /r/wireguard by /u/hackzino on 2024-01-22 06:59:32+00:00.
PrivaivateKey = *****************
ListenPort = 49152
[Peer]
PublicKey = *******************
AllowedIPs = 0.0.0.0, ::/0
[Peer]
PublicKey = ******************
AllowedIPs = 0.0.0.0, ::/0
PersistentKeepalive = 25
That's my wg0.conf
Then doing sh /etc/net start wg0
I just see that
wg show interface: wg0
listening port: 46495
I do not see any peer
I just ping to 10.0.0.1
Any tips to correct?I must say that I configured pf.conf as well as
set skip on wg0
set block-policy drop
int="vio0"
pass in on $int from any to any keep state
block return # block stateless traffic#pass # establish keep-state
pass in on wg0
pass in inet proto udp from any to any port 49152
pass out on egress inet from (wg0:network) nat-to (vio0:0)
Thank you