Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    IPSec LAN-to-LAN Source IP

    IPsec
    1
    2
    410
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      mitra7
      last edited by

      Interfaces

      WAN - XX
      LAN - 192.168.1.51/24
      LAN 1 - 192.168.65.0/24
      LAN 2 - 10.50.53.254/24

      IPSec Phase 2

      Local Network: 10.50.53.254/24
      Remote Network: 192.168.190.113/32

      Hello,

      I have an IPSec connection established, however if I try to ping or do curl from the terminal I cannot, only by specifying the IP Address.

      I have to do:
      curl –interface 10.50.53.254 http://192.168.190.113

      If I do without specifying the source address the traffic isn't routed through the IPSec interface (enc0).

      Some help is highly appreciated.

      1 Reply Last reply Reply Quote 0
      • M
        mitra7
        last edited by

        I managed to solve my problem by removing the routes that were added:
        route del 192.168.190.113
        route del 192.168.190.116

        Then I did:
        route add 192.168.190.113/32 -iface vtnet3
        route add 192.168.190.116/32 -iface vtnet3

        Is there any way I can do this through the webpanel?

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.