BlueIris, CGNAT And OpenVPN

javirnof

n3wb
Joined
Jul 9, 2019
Messages
1
Reaction score
0
Location
30011
Hi.
I have a server with BlueIris behind CGNAT. I've connected this server with OpenVpn to a VPN Server with a public IP:

schema.png


The tunnel works OK. When I configure OpenVPN Client to redirect all traffic through VPN tunnel all works OK. I can access to BlueIris WebServer from local network and from internet.
The problem is when I try to restrict tunnel trafic to only the VPN range. Then I can access OK from local network on router side (192.168.3.140), but not from internet....
On router, I've port forward from public port to 10.8.0.11

Client config:

ip-win32 dynamic
client
dev tun
proto udp
remote A.A.A.A BBBB
float
ncp-ciphers AES-128-GCM:AES-256-GCM:AES-128-CBC:AES-256-CBC
cipher AES-256-CBC
keepalive 15 60
remote-cert-tls server
resolv-retry infinite
nobind
route-nopull
route 10.8.0.0 255.255.255.0
route 192.168.3.0 255.255.255.0



¿Why when add route restrictions all works from local network but not from internet?
Thanks
 

Attachments

Top