Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    • Register
    • Login
    Introducing Netgate Nexus: Multi-Instance Management at Your Fingertips.

    How to assign wireguard IP to pfsense itself?

    Scheduled Pinned Locked Moved WireGuard
    5 Posts 3 Posters 1.4k Views 2 Watching
    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.
    • F
      franta
      last edited by

      Hi,
      I've a working wireguard configuration with mutliple devices and I'm able to connect to each other. However, I was wondering how do I assign a virtual IP to the pfsense itself? I need to fwd gui port over ssh to be able to login to the webgui. I would like to to access it directly from a wireguard connected device. Suggestions please?
      Thanks,
      Franta

      Bob.DigB 1 Reply Last reply
      Reply Quote 0
      • Bob.DigB
        Bob.Dig LAYER 8 @franta
        last edited by

        @franta said in How to assign wireguard IP to pfsense itself?:

        Suggestions please?

        What have you tried so far, any screenshots?

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

          Wireguard will create a virtual network port in pfSense, e.g. tun_wg0. You can assign that port to an interface and then set IPv4 and IPv6 addresses like any other interface in pfSense.

          F 1 Reply Last reply
          Reply Quote 0
          • F
            franta @paoloposo
            last edited by

            @paoloposo You mean to go to
            Interfaces -> Interfaces Assignment -> assign interface to a tun_wg0 port? Creates OPT1 interace. Now I shall configure that interface with static ipv4 and assign IP in the VPN subnet?

            P 1 Reply Last reply
            Reply Quote 0
            • P
              paoloposo @franta
              last edited by

              @franta correct.

              1 Reply Last reply
              Reply Quote 0

              Hello! It looks like you're interested in this conversation, but you don't have an account yet.

              Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

              With your input, this post could be even better 💗

              Register Login
              • First post
                Last post
              Copyright 2026 Rubicon Communications LLC (Netgate). All rights reserved.
              Privacy Policy · Cookie Policy