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

    Trying to view the DCHP configuration on my VPN interfaces

    DHCP and DNS
    2
    5
    508
    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.
    • P
      Phurious
      last edited by

      I am sure there is a simple command to view the DHCP configuration on my VPN interfaces when they are connected but I have had no luck finding it. I know "ifconfig -a" can give me the IP and gateway, but is there a switch to give me the DHCP assigned DNS servers as well? :-[

      TIA!

      1 Reply Last reply Reply Quote 0
      • johnpozJ
        johnpoz LAYER 8 Global Moderator
        last edited by

        What OS is your client?  You should check your vpn client connection log to see what was handed to the client from the server.

        An intelligent man is sometimes forced to be drunk to spend time with his fools
        If you get confused: Listen to the Music Play
        Please don't Chat/PM me for help, unless mod related
        SG-4860 24.11 | Lab VMs 2.7.2, 24.11

        1 Reply Last reply Reply Quote 0
        • P
          Phurious
          last edited by

          I apologize, I may not have been clear. My pfSense box has OpenVPN tunnels to both IPVanish and VyprVPN. I route all traffic from my home through one or the other. Golden Frog, the company that provides VyprVPN also provides a service called VyprDNS. This is reported to be a anonymous DNS service that does not collect client information. Ideally I would like to route all DNS requests through the VyprVPN interface to the VyprDNS servers but the company will not provide the DNS server addresses and pfSense is not "officially" supported. Hence, I would like to view the client configuration assigned by their DHCP.

          Thanks!

          1 Reply Last reply Reply Quote 0
          • johnpozJ
            johnpoz LAYER 8 Global Moderator
            last edited by

            "I would like to view the client configuration assigned by their DHCP."

            Look in your openvpn log as you connect to the server..  Here I just restarted a vpn connection I have to one of my vps

            openvpnlog.png
            openvpnlog.png_thumb

            An intelligent man is sometimes forced to be drunk to spend time with his fools
            If you get confused: Listen to the Music Play
            Please don't Chat/PM me for help, unless mod related
            SG-4860 24.11 | Lab VMs 2.7.2, 24.11

            1 Reply Last reply Reply Quote 0
            • P
              Phurious
              last edited by

              Thank you! I was able to find the server address in the OpenVPN log.

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