Can I use my GL.INet Opal router as a VPN client as I do a Raspberry PI now?

Wireguard is setup and working but is only usable when connected directly to the Opal, either wirelessly or wired via the LAN. What I want is for any device on whole network to be able to connect to the internet through the Opal router to the Wireguard service provider. Currently with my Pi I simply change the router IP in network settings of the device I want to route through the Pi /VPN client but when I set the router IP to 192.168.8.1 I get no internet connection. I thought drop-in gateway might be a solution but no and I really don't want to turn off the DHCP server on my main router.

A picture is worth a thousand words so :

Yes you can, have you got the Opal as a DHCP LAN client or double NAT?

I think it's double Nat at the moment, the pc that's currently connected to it is using the 192.168.8.x subnet, the main network is 192.168.10.x.. if I want to use the Opal VPN server via wireless devices I need to connect to the Opal WiFi SSID.

In drop-in gateway mode you don't need to turn off the DHCP server of your main router actually.

Edit: and suddenly it started working as it should. I disabled and re-enabled IP masquerading on the VPN settings. Unfortunately the kill switch doesn't work so if the VPN dies traffic is again in the clear.

In drop-in gateway mode you don't need to turn off the DHCP server of your main router actually

I've turned off the DHCP server in LuCi on the WAN interface but I still get this error and don't get the option to select only some devices and not all as per the documentation on the drop-in gateway feature.

I've reconfigured a Windows computer to use 192.168.10.38 as the router address but traffic isn't going through the VPN interface but it is going through in the clear.

From the documentation :

Mobile interface :

Web interface:

The Ethernet cable should go from the WAN port of the Opal to the LAN ports on my main router right?

In dropin gateway mode you should use the default values.

Why does the UI display 10.38? The IP should be 192.168.0.x Which is the same it get form DHCP.

The main router is using 192.168.10.x

1 Like

But this image shows 192.168.0.162. Can you explain?

That's a screenshot from your own documentation. "From the documentation :"

I was explaining that the "part" option wasn't available to me.

Fourth image on this page : How to set up drop-in gateway - GL.iNet Router Docs 4

I see.

Can you clarify if it works now?

Yup but the kill switch doesn't have an effect, not sure there's anything that can be done about that. If I disable the VPN then traffic continues in the clear.

How does it work? Can you describe?

I assume this setup is not working as expcted yet.