All,
So I was able to fix my issue and bypass using manually created NAT rules. Everything is now done automatically.
The way I used to add NAT statements was to do the following:
1. Create a file with the NAT statements you would like to be in place.
/usr/local/etc/vpnc/custom_nat.conf
nat on tun0 from 172.23.34.0/24 to 10.0.0.0/8 -> (tun0)
nat on tun0 from 172.23.34.0/24 to 172.16.0.0/16 -> (tun0)
nat on tun0 from 10.0.0.0/8 to 172.23.34.0/24 -> (tun0)
nat on tun0 from 172.16.0.0/16 to 172.23.34.0/24 -> (tun0)
2. Append the information from the file above to the current NAT list:
pfctl -sn > /usr/local/etc/vpnc/nat.conf
cat /usr/local/etc/vpnc/custom_nat.conf >> /usr/local/etc/vpnc/nat.conf
pfctl -Nf /usr/local/etc/vpnc/nat.conf
3. Check if your NAT statements were applied to the current NAT.
pfctl -sn
That's all I did. Now I am able to use VPNC and everything is done automatically without a need to do anything. Of course I wrote other scripts to make sure it's always active and all!
Hope this helps everyone out there since it took me a while to figure out the locations of NAT statements within pfsense.
David Cabrejos