SNAT From OpenVPN user to a IPSec tunnel possible?

  • Hello,
    First topic here, hope I am following the rules.

    I have a 2.4.4-p2 PFSense Box with a OpenVPN server and some IPSec tunnels configured.
    My LAN subnet is and my OpenVPN client subnet is (large subnets, I know :S )

    I have an IPSec tunnel that has my LAN subnet ( on a single Phase2 and now I need that my OpenVPN clients ( access the remote subnet of this tunnel (
    I have to access the remote subnet but the remote subnet doesn't need to access my sides. So the VPN tunnel just need to be one way.

    The question is, can I do this without adding a new Phase 2 to the VPN?
    I would think that a SNAT from my OpenVPN LAN to route that subnet trough the tunnel would be somewhat possible. Am I thinking this wrong?

    Thank you for your time!

    Best regards,

  • Thank you so much for your quick answer.

    However on your example config I'm able to reach the remote subnet but only if I am on the OpenVPN subnet. LAN clients can't reach it.
    I tried swapping the subnets between "Local Network" and "NAT/BINAT translation" and it seems that the clients connected under the "NAT/BINAT translation" can't reach the other end.

    For confirmation, the Firewall Rules created to allow this traffic are accusing hits, so I guess it's a routing issue.

  • @johnpulse
    Try adding this as a second phase 2 on the pfsense side.
    See link ( post 3)

  • @johnpulse
    Here are my test settings
    Lan - lan with binat
    binat on enc0 from to ->

    Second side


    Connection status


  • I have to admit, when I saw your post I thought that having a different number of Phase 2's on both sides would never work!

    However, it worked perfectly! I can now reach the other side from both my LAN subnet and my OpenVPN subnet.
    I cannot thank you enough, it was stupid of me trying to crack this one up for so long (weeks literally) when it was so fast to get awesome help here.

    Hope you have a perfect weekend. Thank you so much for giving me your time and even by trying the setup on your LAB.


Log in to reply