Skip to main content
sandeshpatil6524
New Member
Sep 2, 2024 8:26 AM UTC
Question

IP Sec VPN multiple subnets

I want to add multiple subnets in my existing IP Sec VPN tunnel.

could you please suggest is it possible??

10 replies

ozkanaltas
Valued Contributor III
Sep 2, 2024 8:33 AM UTC

Hello @sandeshpatil6524 ,

 

Yes, you can. You need to just add button on the phase 2 selectors area in existing ipsec tunnel configuration. 

 

After clicking, a new phase 2 configuration area will show. 

 

image.png

sandeshpatil6524
New Member
Sep 2, 2024 10:42 AM UTC

Yes i found this tab and also added this in phase 2, but unable to ping from my remote location to office location.

 

 

 

ozkanaltas
Valued Contributor III
Sep 2, 2024 10:52 AM UTC

Hello @sandeshpatil6524 ,

 

Did you add a static route and policy for the new subnet? Because ipsec needs these two components to bring up the tunnel. Also, you need to configure it on a remote site for a new subnet. If you didn't do that tunnel won't be up.

sandeshpatil6524
New Member
Sep 3, 2024 5:34 AM UTC

Hi Ashideep,

 

Thanks for the information,but im using tplink er 605 vpn router at my branch site.

so how could  it be working?

SonaMuvv
Staff
Staff
Sep 4, 2024 12:23 AM UTC

Hello,

Once the phase 2 selectors are added on either end of the vpn tunnel.
1) Make sure there is a static/dynamic route to the remote address(mentioned in the phase 2 selector)

-verify the routing table - get router info routing-table details x.x.x.x  ---> remote ip address

2) Make sure you have policy to allow the traffic for that specific phase 2 selectors

3) You will have to check the above mentioned points on both firewalls

sw2090
SuperUser
SuperUser
Sep 3, 2024 8:15 AM UTC

since FOS v7 you could also use an address object (or group) in p2 selectors.

Also one could leave p2 selectors open and handle traffic by routing.

Thought Leadership. Security Summit. Thursday, November 12th, PGA National Resort, Palm Beach Gardens, FL.
Security Operations Summit: Modernize SecOps. Operate AI-Native.AMER: November 4 | 9:00 AM PST. India and SAARC: November 5 | 10:00 AM IST. EMEA: November 5 | 10:30 AM CET. APAC: November 5 | 11:00 AM SGT