You’ve only gone and done it!! So much for me listening to chat gpt.
Thank you
Now to work out how exactly it’s working.
Edit: Actually I don’t think it is working. I think I accidentally left my WiFi on when testing the vpn
You’ve only gone and done it!! So much for me listening to chat gpt.
Thank you
Now to work out how exactly it’s working.
Edit: Actually I don’t think it is working. I think I accidentally left my WiFi on when testing the vpn
No I haven’t yet. I gave up last night and haven’t tried again today
Well I googled. What’s my ip, and it was the same address.
Still can’t get it working even after following the guide of wireguard for dummies. I’m starting to wonder whether my router doesn’t like it. I have set up port forwarding on it.
I think you’ll have to create a new thread. I use Tailscale now anyway. Works much better for my use case.
well, you didn’t really answer my question
okay, do you mind helping me find out how to be sure then?
is your IP like: 100.x.x.x?
No, it’s 46.xx.xx.xx
looks fine then.
I would get rid of preshared key for now for debugging purposes. You can add it later once you get a tunnel going.
Triple check your keys.
What is the output of sudo wg?
I setup the client with a qr code so I would hope the keys are correct
interface: wg0
public key: vwPlwnTSS0Q2EfzVEDMVvR1bDd3mur+irAZxuxy1aVk=
private key: (hidden)
listening port: 51820
peer: AOa4aJaHSU3L8lflAWrtRNyrUxyOKNCYVtehuO8oFGw=
preshared key: (hidden)
allowed ips: 10.180.160.2/32
maybe try to set up a VPN connection on your lan. Ditch your DDNS provider, hardcode private ip address of your server for testing purposes. If you still can’t get a connection you will at least know where there ISN’T a problem
I found a fault in my setup, I stupidly forgot to change the port forwarding IP on my router. I have corrected that now and have this under pivpn -c
Name Remote IP Virtual IP Bytes Received Bytes Sent Last Seen
alexphone ** . ** . ** . ***:51820 10.180.160.215KiB 8.8KiB (not yet)
Okay, now it seems to be working. Thanks for all the help guys. I hadn’t noticed that I was pointing to the wrong ip in my router settings because it just said the hostname which was pivpn and I assumed it was just a comment.
glad you got it working
Thank you so much for sticking with me