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

    Issue with setting up Wireguard VPN

    Scheduled Pinned Locked Moved WireGuard
    4 Posts 2 Posters 778 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
      floky99
      last edited by

      Hello, yesterday I started configuring Wireguard VPN and I have some problems which I couldn't find any solutions on the internet (everything I tried did not change anything). Does anyone have any idea what could be wrong? Basically I scanned QR code on my android app, it connects to VPN (I think so since I get the VPN icon next to network on my android device), but I don't see any of my home devices neither any of the public webpages.

      I will post my config files here:

      Server config:

      [Interface]

      PrivateKey = key

      Address = 10.0.0.1/24

      PostUp = iptables -A FORWARD -i wg0 -j ACCEPT; iptables -t nat -A POSTROUTING -o wlan0 -j MASQUERADE

      PostDown = iptables -D FORWARD -i wg0 -j ACCEPT; iptables -t nat -D POSTROUTING -o wlan0 -j MASQUERADE

      ListenPort = 51820

      begin user###

      [Peer]

      PublicKey = key

      PresharedKey = key

      AllowedIPs = 10.6.0.2/32

      end user###

      User config:

      [Interface]

      PrivateKey = privatekey

      Address = 10.6.0.2/24

      MTU = 1420

      DNS = 10.6.0.1

      [Peer]

      PublicKey = publickey

      PresharedKey = key

      Endpoint = ip

      AllowedIPs = 0.0.0.0/0, ::0/0

      1 Reply Last reply Reply Quote 0
      • cmcdonaldC
        cmcdonald Netgate Developer
        last edited by

        How is pfSense involved with your setup here?

        Need help fast? https://www.netgate.com/support

        F 1 Reply Last reply Reply Quote 0
        • F
          floky99 @cmcdonald
          last edited by

          @theonemcdonald hello, pfsense? I dont have that..?

          cmcdonaldC 1 Reply Last reply Reply Quote 0
          • cmcdonaldC
            cmcdonald Netgate Developer @floky99
            last edited by

            @floky99 This forum is only for discussion relating to WireGuard on pfSense. I'd recommend posting here https://www.reddit.com/r/WireGuard/

            Need help fast? https://www.netgate.com/support

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