I ran through the remaining settings, choosing all the default options. I then entered my hostname from which points to my public IP address. I kept all the default settings, except I changed the DNS server to 'Google' (I'm not sure what this means but it was recommended in a guide) and on the next screen I selected DNS as I don't have a static public IP address. I completed the PiVPN server setup, choosing WireGuard over OpenVPN. I want the VPN so I can access my Samba server (running on the same Raspberry Pi) but I am unable to get any connection at all through the VPN. I have been trying to get WireGuard VPN setup on my Raspberry Pi for hours now. You should be able to set your phone up to point it to 192.168.0.16:51280 as a vpn, then by logging it onto the local wifi prove the Pi's VPN config is correct, leaving just your "public facing router" settings as the only real variable. Sometimes when you add the forwarding rule, the rule required to "allow connection to that port at all" is automatically created as part of it, sometimes you have to define it yourself in the "firewall" section.Īnyway, the rule you need for forwarding will look like:Ī firewall rule (if needed) would look likeĮDIT: If there are more or less options in the router web page or something is unclear, just screen shot it and post it blurring any public ip or user info. Some routers you can just create the rule on the fly from scratch, some of them you have to define a "service" which identifies the ports in use first, either way you are looking for the "port forwarding" or "ip forwarding" or similar rules. Incoming connections from your phone to your public IP on (udp?) port 51820 need to be forwarded to 192.168.0.16 port 51820. I'll broad stroke it, but if you get stuck post the make/model of your router and we'll be able to offer specific advice. Hmm, maybe you are correct, but I think it's the lack of NAT forwarding on your firewall. There doesn't seem to be a route between them?
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |