This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

XG - 2 VPN connections and 2 local LAN

Hello community,

i have 2 Site2Site IPsec connections and 2 local LAN on the XG.

VPN connection 1:
Local Subnet: 192.168.1.0/24 
Remote Subnet: 172.31.0.0/24

VPN connection 2:
Local Subnet: 192.168.2.0/24 
Remote Subnet: 192.168.120.0/24

How can I connect the two local LANs on the XG so that I can access the remote subnets of the two VPN tunnels from both local LANs?

What is the best way to do this?

Thank you very much for your answers.

Best regards



This thread was automatically locked due to age.
Parents
  • You can alter the VPN connections, include all the subnets and this will give you access to all networks. This means you have alter the tunnels on the other peers as well. 

    Or you could work with NAT in the IPsec Tunnel. Create a SNAT rule on webadmin from Local network to the remote subnet and MASQ with a IP within your local Network. Then create a VPN Route via CLI: console> system ipsec_route add host <IP Address of host> tunnelname <tunnel>

    Or move to route based VPN instead of policy based VPN, if the peer supports this technology. 

    __________________________________________________________________________________________________________________

  • Hello Lucar Toni, thank you for your quick reply. The thing is that I can't get to the other VPN gateways.

    So I would have to realise it via NAT. Can you tell me more details about the NAT rule?
    What exactly does it have to look like? There are many possible settings:

    Then on the CLI:
    system ipsec_route add host 192.168.0.100

    tunnelname VPN AtoB

    can it work like this! :-)

    Thank you very much

    Cheers Flo

  • You need to setup a IP, as you do not have a Interface in terms of MASQ. So use a SNAT custom gateway. 

    You local Network seems to be wrong. 192.168.1.0? 

    Then add the remote subnet. console> system ipsec_route add net 192.168.120.0/255.255.255.0 tunnelname 

    __________________________________________________________________________________________________________________

Reply
  • You need to setup a IP, as you do not have a Interface in terms of MASQ. So use a SNAT custom gateway. 

    You local Network seems to be wrong. 192.168.1.0? 

    Then add the remote subnet. console> system ipsec_route add net 192.168.120.0/255.255.255.0 tunnelname 

    __________________________________________________________________________________________________________________

Children