VPNIPsec - Routing traffic trough VPN



  • Hello,

    I created a VPNIpsec between 2 sites. 
    Network Site A : 192.168.0.0/24
    Network Site B : 192.168.100.0/24

    From A to B, ping is OK (with a route), but I don't know to do it in pfsense (to route traffic from 192.168.100.0 to 192.168.0.0 through my VPN).

    When I look in System / Routing, it is possible to add manual route but I can't specify which interface (VPN).

    Regards

    FV


  • Rebel Alliance Developer Netgate

    The "routes" for IPsec are defined by the Phase 2 entries.

    If you have a Phase 2 defined for 192.168.0.0/24 to 192.168.100.0/24, any traffic that hits the firewall will automatically take the tunnel.



  • On my other site (with another firewall), I needed to manually add a route to allow traffic for 192.168.0.0 to 192.168.100.0.
    Without this route, it is not possible.
    No route to add in pfsense for the traffic from 192.168.100.0 to 192.168.0.0 ?

    Thx



  • Problem solved (not in pfsense). route was OK in pfsense


Log in to reply