Alone Hello, recently abandoned the ADSL line for a line on 4g modem, unfortunately my operator does not provide a public IP and I can not access my cameras. I thought to realize a vpn between my home lan (where there is a davr nvr) and a server outside my LAN that has a public ip. vpn works, but pc server ping only pc client not nvr. I am at a standstill, I am attaching my server and client configurations below I hope someone can help me the server has this ip 192.168.1.102 255.255.255.0 (vpn ip 10.10.10.1) s.o. windows xp the client has this ip 192.168.28.200 255.255.255.0 (vpn ip 10.10.10.6) s.o. windows 7 confg server: mode server port 1194 proto tcp4-server dev tun tls-server tls-auth "C:\\Program Files\\OpenVPN\\easy-rsa\\keys\\ta.key" 0 tun-mtu 1500 tun-mtu-extra 32 mssfix 1450 ca "C:\\Program Files\\OpenVPN\\easy-rsa\\keys\\ca.crt" cert "C:\\Program Files\\OpenVPN\\easy-rsa\\keys\\ServerVPN.crt" key "C:\\Program Files\\OpenVPN\\easy-rsa\\keys\\ServerVPN.key" dh "C:\\Program Files\\OpenVPN\\easy-rsa\\keys\\dh4096.pem" server 10.10.10.0 255.255.255.0 client-to-client keepalive 10 120 cipher AES-128-CBC comp-lzo persist-key persist-tun client-config-dir "C:\\Program Files\\OpenVPN\\config" verb 3 route-delay 5 route-method exe route 192.168.28.0 255.255.255.0" ------------------------------------------------ on client config ccd iroute 192.168.28.0 255.255.255.0 push "route 192.168.1.0 255.255.255.0" ------------------------------------------------ confg client: remote xx.xx.xx.xx (ip pubblico server) client port 1194 proto tcp4-client dev tun tls-client tls-auth "C:\\Program Files\\OpenVPN\\config\\ta.key" 1 remote-cert-tls server tun-mtu 1500 tun-mtu-extra 32 mssfix 1450 ca "C:\\Program Files\\OpenVPN\\config\\ca.crt" cert "C:\\Program Files\\OpenVPN\\config\\ClientVPN.crt" key "C:\\Program Files\\OpenVPN\\config\\ClientVPN.key" cipher AES-128-CBC comp-lzo persist-key persist-tun verb 3 mute 20 remote-cert-tls server
TinCanTech https://community.openvpn.net/openvpn/wiki/HOWTO#ExpandingthescopeoftheVPNtoincludeadditionalmachinesoneithertheclientorserversubnet.
Alone Hi, I read the guide and I set the following parameters on the file server: route 192.168.28.0 255.255.255.0 push "route 192.168.28.0 255.255.255.0" push "route 192.168.1.0 255.255.255.0" on file ccd i set this: ipconfig-push 10.10.10.5 10.10.10.6 iroute 192.168.28.0 255.255.255.0 but pc server not ping nvr camera on ip 192.168.28.108 I do not understand where I'm wrong
TinCanTech You must configure your network routing or use some form of NAT. This may help, although it is for a server not client: https://forums.openvpn.net/viewtopic.php?f=7&t=7806 If all else fails, you can contact me privately: tincanteksup <at> gmail