OpenVPN interface to IPSEC with Phase2 NAT/BINAT Routing Help
-
Hardware is a Netgate 2100 pfsense 23.09.1-RELEASE (arm64)
I have a working IPSEC tunnel with a Phase2 as follows:
Local Network 10.22.143.96/28
NAT/BINAT translation 10.22.143.96/28
Remote Network 10.33.64.227/27I can ssh from OPT1 to LAN then ssh from LAN to OPT4.
I want my OpenVPN connection/Interface (OPT1) 192.168.245.0/24 to have RDS connectivity to a machine I have placed in the IPSEC interface (OPT4)
Default any RULES exist but I did have to Enable 802.1q VLAN mode.
Diags that might helpFrom Windows connect via OpenVPN
Tracing route to 10.22.143.53 over a maximum of 30 hops
1 3 ms 3 ms 5 ms 10.0.0.1
2 * * * Request timed out.Tracing route to 10.254.1.54 over a maximum of 30 hops
1 20 ms 25 ms 20 ms 192.168.245.1
2 27 ms 19 ms 20 ms 10.254.1.54On LAN machine 10.254.1.54
traceroute to 10.22.143.53 (10.22.143.53), 30 hops max, 60 byte packets
1 _gateway (10.254.1.1) 0.228 ms 0.246 ms 0.269 ms
2 10.22.143.53 (10.22.143.53) 1.053 ms !X 1.066 ms !X 1.078 ms !XUsing ssh for now but I assume if I get ssh to work RDS will work as I am using protocol any for now.
Any help is appreciated.
-
@edgewater said in OpenVPN interface to IPSEC with Phase2 NAT/BINAT Routing Help:
I have a working IPSEC tunnel with a Phase2 as follows:
Local Network 10.22.143.96/28
NAT/BINAT translation 10.22.143.96/28
Remote Network 10.33.64.227/27I can ssh from OPT1 to LAN then ssh from LAN to OPT4.
I want my OpenVPN connection/Interface (OPT1) 192.168.245.0/24 to have RDS connectivity to a machine I have placed in the IPSEC interface (OPT4)
So add a phase 2 to connect the subnets.
And in the OpenVPN server settings add the remote subnet to the "local networks" to push the routes. -
@viragomann Thanx! You made me look at the "local networks" setting in the OpenVPN configuration and I had the subnet mask incorrect for the OPT4 interface /24 instead of /28 . So now connecting via OpenVPN I have access to IPSEC Interface machines with ip addresses of .97 to .110. I have two Phase2 objects on the IPSEC tunnel for two different subnet machines and they have been working fine being accessed from the 10.22.143.96/28 subnet. No changes there or additions. Data is flowing.
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