Skip to main content
Fto
New Member
Jan 15, 2015 6:33 PM UTC
Solved

Routing issue over wan

Hi all

 

I am wondering if someone can point me in the right direction here.

I have two Fortigates connected via ipsec vpn.

 

Site B's internal interface is 192.168.3.0/24 , wifi is 10.1.2.0/24

Site A's internal interface is 192.168.2.0/24

 

I have setup firewall policies and static routes for these ip ranges to the VPN objects in each Fortigate.

Clients on the internal interfaces can ping / communicate with the other sides internal interface, but clients on the Site B's wifi cannot.

I have also updated the remote subnet address group to include the 10.1.2.0/24 in site A's firewall policy

 

Would this be because in my vpn tunnel phase 2 I have specified the local and remote ip ranges instead of using 0.0.0.0/0 ?

 

A tracert from Site B's wifi to Site A's internal will show the first hop as hitting the wifi interface ip at site B , then nothing

 

Thanks for any assistance

 

    hklb
    hklbAnswer
    Visitor III
    Jan 15, 2015 6:38 PM UTC

    Did you specify the both subnet in quick mode selector (you can create 2 phase2) ? you should have:

    192.168.2.0/24 - 192.168.3.0/24

    192.168.2.0/24 - 10.1.2.0/24

     

    Lucas

    5 replies

    hklb
    hklbAnswer
    Visitor III
    Jan 15, 2015 6:38 PM UTC

    Did you specify the both subnet in quick mode selector (you can create 2 phase2) ? you should have:

    192.168.2.0/24 - 192.168.3.0/24

    192.168.2.0/24 - 10.1.2.0/24

     

    Lucas

    Translate
    Fto
    FtoAuthor
    New Member
    Jan 15, 2015 7:09 PM UTC

    Hi Lucas

     

    No I didn't, I am guessing this is the cause of my issue.

    I am unable to add a second phase 2 selector in the web gui by the looks without redoing the vpn setup.

    Am I able to just edit the phase 2 in CLI and change it from specified ip ranges to 0.0.0.0/0 and expect it to behave?

     

    Thanks

     

    Translate
    hklb
    Visitor III
    Jan 15, 2015 8:56 PM UTC

    Which firmware do you use ?

     

    you can create the second phase2-interface in CLI (config vpn ipsec phase2-interface, and copy your first phase2 configuration)

    Translate
    emnoc
    New Member
    Jan 16, 2015 8:44 AM UTC

    And you should beable to craft the 2nd phaseintf and bind it to the named phase1.  What the previous poster stated is what I find the easiest. use the cli and copy the 1st phase2-cfg, rename it xxxxx-002 and change the appropiate  src/dst subnet and paste it in.

     

    Than your diag debug vpn tunnel list name <xyz> will show the  additional  phase2 statistics.

    Translate
    Fto
    FtoAuthor
    New Member
    Jan 18, 2015 5:55 PM UTC

    Thanks all

     

    I edited the phase 2 vpn and used unset , to unset the ip ranges, this took them back to 0.0.0.0/0, and it is now working as expected

     

     

    Translate
    Risk and Resilience in the Age of AI. An OT Thought Leadership Summit for Houston's Critical Infrastructure Leaders. Date: Thursday, December 3, 2026. Time: 8:30 am - 1:30 pm (CT). Location: The Westin Houston, Memorial City | 945 Gessner Road, Houston, TX 77024