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

    Looking for understanding of the routes that are added

    Scheduled Pinned Locked Moved OpenVPN
    2 Posts 2 Posters 358 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.
    • C
      coreybrett
      last edited by

      The following routes are added to my pfSense box when I have a Remote Access server configured.

      
      10.81.254.0/24 10.81.254.2 UGS 0 1500 ovpns3	
      10.81.254.1 link#10 UHS 0 16384 lo0	
      10.81.254.2 link#10 UH 0 1500 ovpns3
      

      I don’t understand the use of 10.81.254.2 as the gateway for the 10.81.254.0/24 network , as that is the IP address of the first client to connect.

      1 Reply Last reply Reply Quote 0
      • DerelictD
        Derelict LAYER 8 Netgate
        last edited by

        It is just the way OpenVPN works. That route gets traffic for the /24 into OpenVPN. From there OpenVPN does the right thing.

        Chattanooga, Tennessee, USA
        A comprehensive network diagram is worth 10,000 words and 15 conference calls.
        DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
        Do Not Chat For Help! NO_WAN_EGRESS(TM)

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