Page 1 of 1

access devices that have no gateway from vpn

Posted: Wed Jun 01, 2022 5:40 am
by d00lar
hello
i have managed to setup my server on openwrt and client working

but now i have issue
i have some cameras DVR that have ip 192.168.1.240 and NO GATWWAY on it so it canot access internet / cloud etc

and now from my vpn i get 192.168.8.1 on client
i have
Server Config
list push 'route 192.168.1.0 255.255.255.0'


and i can access any other device that have gateway
but not this DVR offcourse
what can i do ? can i force to from vpn as client i get also 192.168.1.x adres and this would worke just fine ??? or any other solution ?


Server Config

option server '192.168.1.252 255.255.255.255'


is this potential solution ? or will break everything? i will have only single client so one adres is enough

having usual gateway on DVR + blocking rule for it on openwrt firewall is not an option because i have tried and from what i googled it does not work because it would need some layer 2 device to block - probably this is not tcpip protocol

thanks and regards !