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

    L2TP custom IP allocation within subnet

    Scheduled Pinned Locked Moved General pfSense Questions
    1 Posts 1 Posters 623 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.
    • T
      tommytom
      last edited by

      Hello, I've set up a new pfsense installation and I can't work out how to do what I want with the L2TP configuration.

      My LAN network is 192.168.0.0/16. I want L2TP clients to be assigned that network, but I specifically want them to be assigned addresses starting from 192.168.50.1. The pfsense GUI doesn't seem to let me do this - if I try typing in 192.168.50.1/16 it resets the fields to 192.168.0.0/16 when I save. The first client that connects receives the address 192.168.0.0, which is no good.

      The reason I want this is that VPN clients are able to access every host in 192.168/16 without having to make the VPN gateway the default router, i.e., clients can continue to use their own internet connection. This is very useful.

      Ideally I would have the VPN clients on their own subnet and "push" an extra route for 192.168/16 but I don't think this is possible with L2TP, only with OpenVPN.

      Is there any way I can make pfsense do what I need? Many thanks!

      Edit: To make myself clear, I am looking for a setting like this one in Forefront TMG:

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