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

    OpenVPN Question

    Scheduled Pinned Locked Moved OpenVPN
    2 Posts 2 Posters 1.7k 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
      inxen
      last edited by

      Hello, I have been able to install my OpenVPN server succesfully. I try it and my clients can connect without problems.
      But now I have a pair of questions, that I need someone answer me.

      I see that my clients dont get a IP from Local Network Pool. But If I would like to connect to these clients from my LAN, by remote desktop or ssh or putty, how could I do it if they dont have LAN IP address?

      How can I assign always the same IP to my clients by their MAC addresses?

      I hope someone helps me.
      Thanks

      1 Reply Last reply Reply Quote 0
      • GruensFroeschliG
        GruensFroeschli
        last edited by

        I suggest you take another look at the OpenVPN config-page ;)

        Your OpenVPN clients get an IP out of the pool you defined in the "Address pool" field on the OpenVPN config page.
        It's not possible to assign an IP based on the MAC because the OpenVPN interfaces are virtual and not real.

        If you want to use static IP's you can use the option "Use static IPs".

        We do what we must, because we can.

        Asking questions the smart way: http://www.catb.org/esr/faqs/smart-questions.html

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