netstuff
Hi. Hi spend the last couple of days going stir crazy trying to get OpenVPN to play nicely with PF on OpenBSD. It seems everywhere I look there is information about IPTABLES for Linux, but I am running PF. And what I have seen for PF is on the old syntax, which I don't know who to translate properly since I've been using PF for about 3 days now.
After many many hours I've got to the point that an external client can connect via OpenVPN to the office network, and they can PING any machine on the office network. But that is about the extent of it. Anything that requires NAT is broken. The packets get from the client, to the OpenBSD box, even to the machine on the network, and I think back to the OpenBSD box, but that is where they get stuck.
It looks like I just need a rule or 2 to get the routing/NAT working in PF. It's after 1AM now so I won't go trying to include my configs here, but basically I have a server box with 2 NIC's, named $ext_if and $int_if in PF, and I have OpenVPN running over tun0.
If someone knows PF on OpenBSD, I'd really love their help. Thanks.