Hello,
I am a total beginner with routing and especially OpenWRT.
Nonetheless, I am eager to learn und use it.
Here is what I want to do:
I have bought a Gl.inet AL1300 travelrouter.
Now I want to connect this router via Wireguard to my homenetwork:
- All of the traffic from the travelrouter shall be sent through the Wireguard tunnel
- Devices from my homenetwork shall be able to communicate with the devices in the travelrouter's network and vice versa.
The basic idea is to be able to connect the travelrouter to any unsafe WiFi/LAN network, e. g. in a hotel. Now I can connect any device like a baby monitoring device with the travelrouter.
Even if I am not connected to the travelrouter, but with a direct Wireguard tunnel to my homenetwork, I want to be able to communnicate with the devices connected to the travelrouter.
I hope you understand, what I mean.
So here is the relevant information:
- Homenetwork router: FritzBox 6660 Cable, 192.168.95.0/24
- Travelrouter: Gl.inet AL1300, 192.168.25.0/24
Within the Fritzbox I can create 2 different VPN configs:
one for end devices (like my mobile phone; this works without any problem) and one for routers.
So I created one for routers which looks like this:
[Interface]
PrivateKey = xxx
Address = 192.168.25.1/24
DNS = 192.168.95.3,192.168.95.1
[Peer]
PublicKey = xxx
PresharedKey = xxx
AllowedIPs = 192.168.95.0/24,0.0.0.0/24
Endpoint = xxx:59584
PersistentKeepalive = 25
I have a DNS server (AdGuardHome) running on .95.3.
Now the interesting part is:
I uploaded the config to the travelrouter and activated the tunnel.
Now I am able to communicate in both directions (as desired).
But as soon as I activate the tunnel, I can no longer browse the internet.
Pinging anything outside the network from the AL1300 results in: sendto: no error information
On my DNS Server I can see requests coming in from 192.168.25.1. AdGuardHome also does not show any error messages or something; just regular requests and replies.
Does anyone have an idea on what I am missing here?
Why can't I browse the web anymore?
Also, but only second priority: I disabled IP masquerading for the Wireguard interface (because I wanted to see and control which device talks to the network). But I still see traffic only coming from .25.1.
If anyone could help me out, I would be very thankful!
Cheers