Page 1 of 1

how to make /dev/tun0 be an egress interface on OpenBSD

Posted: Sun Apr 09, 2017 5:43 pm
by cannonvadder
I've got an OpenBSD home router that handles DHCP and some internal services. I'd like to use it to also encrypt all browsing. I thought that the openvpn client (connected to privateinternetaccess.com) created a new default route which would make it the "egress" interface and all pf.conf would be fine without changes. Seems I missed something. Is there a configuration in the openbsd config that I need to enable for this to work? Have I missed something in the docs about how openvpn works? Do I need more control over the server to make this happen?

Any help would be greatly appreciated.