Guys just looking for some help.... I have created a wireguard server at my office router R7800
I followed this online tutorial https://www.youtube.com/watch?v=BbDtc0AhGWU.
I have created my peers and installed the client app on my phone and my computer at home, I can successfully connect with both devices but when connected via my desktop I cannot reach the office lan devices. Strangely connecting with my phone both on my home wireless and cellular data I can connect to the lan devices. What could be wrong with my desktop config? I also tried it on another laptop and its the same it connects I can browse with my office IP but cannot reach any lan devices.
Both my router at my office and router at home both have an IP of 192.168.1.1 does one of these routers need to be separated i.e 192.168.2.1?
I read somewhere that masquerading needed to be enabled, I tried enabling and disabling with no effect.
I'm sure I've missed some fundamental settings. Ive posted some pictures of my config.
Please repost with text rather than screenshots.
For the OpenWrt related configs:
Please connect to your OpenWrt device using ssh and copy the output of the following commands and post it here using the "Preformatted text </>
" button:
Remember to redact passwords, MAC addresses and any public IP addresses you may have:
ubus call system board
cat /etc/config/network
cat /etc/config/firewall
And for the other peers, please post the configs in text format.
Thanks will do, I cant login so I have to go to the office.
Here is my desktop peer
[Interface]
PrivateKey = Redacted
Address = 10.8.100.2/32
ListenPort not defined
DNS = 192.168.1.1
[Peer]
PublicKey = Redacted
PresharedKey = Redacted
AllowedIPs = 0.0.0.0/0, ::/0
Endpoint = xx.xx.xx.xx:51820
PersistentKeepAlive not defined
Yes. Sorry I missed this comment earlier. You need to have 3 unique, non-overlapping subnets: office, home, wireguard.
So I need to change my office router IP to something like 192.168.2.1?
Question though, why does it work using my phone both on my home wireless and cellular network?
Yes. And your devices need to move to the new subnet, too.
You phone may be entirely ignoring the local network. Your computer may not be.
Thanks changing my subnet fixed my issue....easy fix but pain in the arse changing over all my devices.
Thanks for taking the time to respond....much appreciated.
You’re welcome.
If your problem is solved, please consider marking this topic as [Solved]. See How to mark a topic as [Solved] for a short how-to.
Thanks!
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.