testdasi / openvpn-client-aio

"All-in-one" docker for all your private browsing needs. OpenVPN client, HTTP + Socks + TOR proxies, DNS-over-TLS.
GNU General Public License v3.0
24 stars 4 forks source link

Lan IP connections #8

Open mark-cassidy opened 1 year ago

mark-cassidy commented 1 year ago

Hi

I have multiple vlans on my network, if I set the HOST_NETWORK variable to 192.168.1.0/24 then only machines on that vlan can connect to the proxy, also if I set it to 192.168.5.0/24 then machines on that vlan can connect.

I know I could run two instances... that said is there a wild card entry? I've tried the obvious 192.168.*.0/24 and 192.168.0.0/24 but no dice. Even being able to disable incoming IP filtering would be ok?

Thanks!

Mark

LiskoFINAL commented 11 months ago

Have you tried 192.168.0.0/16? /24 isn't the correct network mask for what you want to achieve as it will only cover from 192.168.0.1 to 192.168.0.255, with /16 it covers until 192.168.255.255.