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

    How to assign wireguard IP to pfsense itself?

    Scheduled Pinned Locked Moved WireGuard
    5 Posts 3 Posters 582 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.
    • 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
              • First post
                Last post
              Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.