Still can't access 'lan' from wireguard client (internet access OK)

Getting frustrated (sorry!!)

More information:

Followed instructions here:

Used the 2nd script (Set Number of Peers with IDs)

My LAN is 10.1.10.0/24

So I set the guest interface to be 192.168.9

I set DDNS to be my WAN address

Ran the script (auto_wg_id.sh) and rebooted.

Copied the 1_guest.conf to my Windows 10 laptop (will try linux next)

Connected immediately.

Can ping the vpn endpoint (192.168.9.1) but nothing else.

On the gateway/firewall, edited the zone for "lan => wan" and add "wg_guest" to the 'covered networks'

Now I can access the LAN address (10.1.10.3) AND THE INTERNET. But I can't access (ping/ssh/...) my server at 10.1.10.99

Why can't I get the wg_guest network to forward to the LAN? And shouldn't that be the default case? Isn't what what a VPN is for, to remotely access my LAN?

HELP!

OK. I'm an idiot.

What really pisses me off is I know better!!

My server (10.1.10.99) that I couldn't access is the only other thing on the LAN. However, it's attached to lots of networks, and the router was NOT it's default gateway. All I needed to do was:

route add -net 192.168.9.0/24 gw 10.1.10.3

and everything now works great.

Again, I KNOW BETTER!

Sorry for the stupid questions.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.