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

    OpenVPN Interface IP in Subnet Mode

    Scheduled Pinned Locked Moved OpenVPN
    1 Posts 1 Posters 297 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.
    • I
      ironmonkey
      last edited by

      Hello,

      I am trying to understand why OpenVPN is assigning the 192.168.1.2 IP when using Subnet as the topology mode for the server. Technically this IP belongs to the first connecting client. I see the "POINTTOPOINT" designation but technically this is Point to Multi Point as the hex value of the mask would indicate (/24). I was hoping to better understand why the IP is assigned this way.

      I have searched the Forums for this and all I found were explanations about this being a point to point interface. But in Subnet mode that is not technically what this is so far as I understand it.

      ovpns1: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> metric 0 mtu 1500
      options=80000<LINKSTATE>
      inet 192.168.1.1 --> 192.168.1.2 netmask 0xffffff00
      groups: tun openvpn

      dev ovpns1
      dev-type tun
      dev-node /dev/tun1
      proto udp4
      server 192.168.1.0 255.255.255.0
      float
      topology subnet

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