I've setup OpenVPN in a jail. My client can connect to the OpenVPN server and I see traffic on the tun0 interface coming in. I know that I need NAT for the IPv4 traffic but I don't know how to configure it. I've tried
without success. $ext_ip_B because the system has two different IPs on the external interface. There is only one interface as this is just a server on the internet, no firewall.
How to configure this?
TIA
Code:
nat on $ext_if from $VPN_NET to any -> $ext_ip_B
How to configure this?
TIA