Results 1 to 3 of 3
  1. #1
    Newbie
    Join Date
    Jul 2021
    Posts
    2

    Default Issue with setting up Wireguard VPN

    Hello, I would gladly ask for help with setting up my WireGuard VPN. I created my VPN server on raspberryPI created keys and added them to my user configuration... I scanned the QR of user profile to my android device and when I try to connect to my VPN tunnel it does connect with no errors displayed, I can see packages are being sent but 0B's are recieved... I also do not see any of my home devices neither I can use the internet.

    Also on this raspberryPI there is a piHole as a dns server can this cause an issue?

    Thank you for your time and help in advance =)

    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.0.0.2/32

    end user###
    User config:

    [Interface]
    PrivateKey = privatekey
    Address = 10.0.0.2/24
    MTU = 1420
    DNS = 10.0.0.1

    [Peer]

    PublicKey = publickey
    PresharedKey = key
    Endpoint = ip
    AllowedIPs = 0.0.0.0/0

  2. #2
    Newbie
    Join Date
    Mar 2021
    Posts
    13

    Default

    You have a LAN IP as your public IP so no device is going to find your server outside your network and you don't have any IP or subnets allowed....

  3. #3
    Newbie
    Join Date
    Jul 2021
    Posts
    2

    Default

    How can I allow the subnets?

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

SEO by vBSEO 3.6.0 PL2