Page 1 of 1

Routing issue with latest firmware

Posted: Wed Nov 22, 2017 4:15 pm
by lollapalooza
Hello all,
I have installed latest stable version 1.10.0, and I've noticed something strange, that did not happen with previous stable (1.8.1).

Here's my network layout:
Image

Gargoyle LAN is 192.168.0.x/24; Gargoyle acts as OpenVPN client; in my parent's house there's a Netgear Router with OpenVPN server.

As you can see from the attached file, both Netgear Router and NAS are in the same subnet (in my parent's house).
Netgear router is 192.168.1.1/24
NAS is 192.168.1.11/24

But... when I type 192.168.1.1 in the browser, it opens my ISP router's web page.
On the other hand, if I try to login to the NAS (192.168.1.11), the browser shows the NAS page.

To login to Netgear router, I have to connect to OpenVPN IP: 192.168.2.1.

Previous Gargoyle version (1.8.1) worked correctly.

Is that a bug?

Re: Routing issue with latest firmware

Posted: Wed Nov 22, 2017 6:53 pm
by ispyisail
Subnets need to be different or you will get unexpected results

Image

Re: Routing issue with latest firmware

Posted: Thu Nov 23, 2017 2:39 am
by lollapalooza
Yes, I can easily imagine that Gargoyle gets confused by those 2 subnets...

But I also think that, once VPN tunnel is established and 192.168.1.x subnet is routed through that, the 192.168.1.x subnet on the right should be invisible to Gargoyle clients.
And actually Gargoyle 1.8 behaved correctly.

I thought it was a bug...

Anyway, it looks like I have to change one of the two :-)

Re: Routing issue with latest firmware

Posted: Thu Nov 23, 2017 4:21 am
by ispyisail
But I also think that, once VPN tunnel is established and 192.168.1.x subnet is routed through that, the 192.168.1.x subnet on the right should be invisible
I think you might be correct

I think there might be some funny stuff going on with the latest update.

Still investigating

Re: Routing issue with latest firmware

Posted: Thu Nov 23, 2017 5:26 am
by lollapalooza
Let me know if I can be of help (for testing and/or providing logs, or anything else you need).