Hi guys,
I've been trying to push all my desktop's traffic over VPN which I have on a remote FreeBSD server:
Desktop --- Internet --- FreeBSD with OpenVPN
I can connect to the VPN but my traffic is not redirected. I tried billions of PF combinations (this is probably where the issue is) with no luck. I currently have
added to openvpn.conf and not sure of this but added something like this to pf.conf:
After adjusting some PF rules I can ping my LAN interface on the server (which is an alias on its external interface), but can't ping anything outside like 8.8.8.8. Any hints?
Thanks,
Konrad
I've been trying to push all my desktop's traffic over VPN which I have on a remote FreeBSD server:
Desktop --- Internet --- FreeBSD with OpenVPN
I can connect to the VPN but my traffic is not redirected. I tried billions of PF combinations (this is probably where the issue is) with no luck. I currently have
Code:
push "redirect-gateway def1"
Code:
nat on $ext_if from $vpn_if to any -> EXT_IP
After adjusting some PF rules I can ping my LAN interface on the server (which is an alias on its external interface), but can't ping anything outside like 8.8.8.8. Any hints?
Thanks,
Konrad