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

    Dynamic IPs in IPv4 Local network(s)?

    Scheduled Pinned Locked Moved OpenVPN
    3 Posts 2 Posters 659 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.
    • B
      brianb08
      last edited by

      I have OpenVPN setup to route traffic from VPN clients to a handful of networks and IP address listed in the IPv4 Local network(s) field.  All is working fine.  Some of those IPs though are dynamic IPs (AWS ELBs and similar, things I can't make static).  Is there a way to list hostnames for IPv4 Local network(s)?  Or a way to script the setup of this field with a cron job on the pfSense box?

      Any ideas welcome!
      Thanks,
      Brian

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

        You can get it out from the ARP table.
        On command line you may run

        arp -a -i <interface></interface>
        
        1 Reply Last reply Reply Quote 0
        • B
          brianb08
          last edited by

          Thanks for the response.  I'm not looking to get the list of IPs… I'm looking to set it, and update the settings on a schedule based on DNS lookups.

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