Navigation

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

    Open VPN netmask 255.25.255.252

    OpenVPN
    2
    2
    1070
    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
      lanzao last edited by

      I'm getting the tunnel, but with this mask 255.255.255.252. I need 24-bit chews.
      What is wrong?
      Need any virtual network route to the openvpn?

      1 Reply Last reply Reply Quote 0
      • N
        Nachtfalke last edited by

        On OpenVPN Server you set the tunnel network. for example

        10.10.10.0/24

        10.10.10.0/30 is the OpenVPN Server itself
        10.10.10.4/30 is the first OpenVPN client which connects
        10.10.10.8/30 is the second OpenVPN client which connects
        ….
        10.10.10.252/30 is the 63rd OpenVPN client which connects.

        In short:
        Every client connection on OpenVPN needs a subnet of /30

        First IP: Network IP
        Second IP: OpenVPN Server IP
        Third IP: OpenVPN Client IP
        Foruth IP: Broadcast IP

        This is how every client connection/subnet looks like.

        1 Reply Last reply Reply Quote 0
        • First post
          Last post