IPsec Phase 2 entry for access to WAN interface?
-
I've setup an IPsec tunnel between 2 locations, and everything is working fine. The "location B" is a pfSense behind a router (port forwarding for IPsec). PpfSense has a WAN address 192.168.0.6 . There are other devices in 192.168.0.0/24 network I need to be able to access from "location A", and I have no idea how to achieve that. There is also a 192.168.0.0/24 network in use on "location A", so I obviously need to do some translation voodoo on Phase 2 entry, but I don't know if it's even possible. Any ideas?
-
Perhaps you need Phase 2 BINAT:
https://docs.netgate.com/pfsense/en/latest/vpn/ipsec/nat-with-ipsec-phase-2-networks.html -
@viktor_g said in IPsec Phase 2 entry for access to WAN interface?:
Perhaps you need Phase 2 BINAT:
https://docs.netgate.com/pfsense/en/latest/vpn/ipsec/nat-with-ipsec-phase-2-networks.htmlYes, that's what I meant with translation, but the trick is, the subnet I want to reach is on WAN interface on the "location B", so I guess it's not something I can define in Phase 2 entry.
-
@marama So, you can try to use Policy NAT with some pseudo net which translates to 192.168.0.0/24 of WAN (10.0.0.0/24 in example):
Port Forward with source field:

or 1:1 NAT with destination field
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register LoginPrivacy Policy · Cookie Policy