access devices that have no gateway from vpn

Need help configuring your VPN? Just post here and you'll get that help.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Post Reply
d00lar
OpenVpn Newbie
Posts: 3
Joined: Mon May 30, 2022 11:16 am

access devices that have no gateway from vpn

Post by d00lar » Wed Jun 01, 2022 5:40 am

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 !

Post Reply