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

    Create more than one IPv4 Tunnel Network

    Scheduled Pinned Locked Moved OpenVPN
    4 Posts 2 Posters 590 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.
    • R
      robina80
      last edited by

      hi all,

      can i create more than one IPv4 Tunnel Network on my openvpn server so i can create rules for the openvpn clients?

      cheers,
      rob

      1 Reply Last reply Reply Quote 0
      • V
        viragomann
        last edited by

        You can create multiple vpn server, each with a specific tunnel network. Each has to listen on an unique IP/port combination, of course.
        Or you can create client specific overrides for your clients to assign a unique small subnet to each client. This requires SSL authentication.

        Both gives you ability to control access of vpn users by firewall rules.

        1 Reply Last reply Reply Quote 0
        • R
          robina80
          last edited by

          so if my server ip tunnel ip is 10.8.0.0/24

          can i give my client in the client specific overide an ip 10.8.0.100/32, or does it have to be 10.8.0.100/24, the same as the tunnel server

          1 Reply Last reply Reply Quote 0
          • R
            robina80
            last edited by

            sorted !!!

            what i did was create a "client specific override" common name rob and ip 10.100.3.10/24

            and this is my rule

            https://s31.postimg.org/pxsqg9env/openvpn_rules.png

            now i can only talk to 10.100.1.253 which is my switch, if i try 10.100.1.254 which is my router i cannot get access to it

            thanks

            rob

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