Alpine VM inside OpenBSD with NAT over WireGuard to ProtonVPN
Home / Software Engineering / Alpine VM inside OpenBSD with NAT over WireGuard to ProtonVPN
25 Jul 2024
I also noticed that if I set the VM’s DNS to 10.2.0.1
which is the proton resolver, I would see ICMP port unavailable messages bouncing from 10.2.0.2
on the tcpdump inside wg0
. Something beyond my understanding with how pf works with the nat-to rule for addresses in the same interface/subnet.
This was the magic sauce in my
/etc/pf.conf
The logging was for debugging with
tcpdump -t -i pflog3