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

    L2TP/IPsec roadwarrior on LAN subnet

    Scheduled Pinned Locked Moved IPsec
    1 Posts 1 Posters 313 Views
    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.
    • L
      LorenzoB
      last edited by

      Hi,

      to connect remote clients via a VPN, I would need to configure the L2TP/IPsec VPN server so that clients are on the same subnet as the LAN.
      Currently the graphical interface asks for a pool of IP addresses to be dedicated to remote clients, instead I just want them to be virtually part of the LAN subnet. With strongswan and other applications it is possible to do this.

      For example, now the situation is as follows:
      LAN subnet -> 192.168.1.0/24
      LAN gateway -> 192.168.1.250
      VPN subnet -> 192.168.10.128/25
      VPN gateway -> 192.168.10.1

      Instead, I would like remote clients to acquire an IP address of the type 192.168.1.x as well.
      There's a way? From the graphical interface it doesn't seem possible. Can I do something from shell?

      Thanks!

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