Nice, now Wireguard is working too, thank you!
I think I understood most of the changes, but I'll read it up in detail once complete.
I've added ssh and webfig access from inside the LAN.
Sure but you need more info about tessin and camper. Do you simply mean they represent subnets on your Router??
Regarding those two peers, I'll explain what I want to do:
Tessin is a house (remote) with it's own LAN (192.168.88.x).
Camper is a Camper Van (remote) with it's own LAN (192.168.44.x)
Both have a couple of devices that need to send data to my Home Network (the one we are configuring here, 192.168.1.x).
I am using Wireguard to let them connect to my Home network if they are online (as it works in both directions, this is fine).
I want to:
- Connect to machines in my home network (192.168.1.1) from machines in the Camper/Tessin networks.
- Connect to machines in the Camper/Tessin networks from my Home network.
So, in contrast to these road warrior setups, it's a site-to-site setup, and I followed this tutorial:
https://www.youtube.com/watch?v=CH10spRyGpU which was previously working.
As far as I understood, I can now just leave the peers like this:
add allowed-address=192.168.33.2/32,192.168.88.0/24 comment=tessin interface=\
wireguard persistent-keepalive=25s public-key=\
"xxx="
add allowed-address=192.168.34.2/32,192.168.44.0/24 comment=camper interface=\
wireguard persistent-keepalive=25s public-key=\
"xxx="
However, in order to access the remote machines from home, don't I need the interfaces, so I use routes like this:
add disabled=no distance=1 dst-address=192.168.88.0/24 gateway=tessin \
pref-src="" routing-table=main suppress-hw-offload=no
add disabled=no distance=1 dst-address=192.168.44.0/24 gateway=camper \
pref-src="" routing-table=main suppress-hw-offload=no
I've attached the current config again.
You do not have the required permissions to view the files attached to this post.