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

How to customize and extend your OpenVPN installation.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Post Reply
cannonvadder
OpenVpn Newbie
Posts: 1
Joined: Sun Apr 09, 2017 5:29 pm

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

Post by cannonvadder » Sun Apr 09, 2017 5:43 pm

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.

Post Reply