Good day to you.
Well.. here's my question - i got two places: Office and Factory, that i need to connect with OpenVPN. On both sides i got IP cam's, and they working on ***.***.2.x subnet. So far i have no success in it - i even can't ping something on other side of server, though OpenVPN itself connected.
OS win 7 on both sides, here's my configs.
I'm pretty sure, that i made an mistake somewhere, because i'm not often work with openvpn, so sorry for noob question.
server:
dev tun
proto tcp-server
port 1723
tls-server
client-to-client
server 192.168.2.0 255.255.255.0
comp-lzo
dh C:\\OpenVPN\\ssl\\dh1024.pem
ca C:\\OpenVPN\\ssl\\ca.crt
cert C:\\OpenVPN\\ssl\\server.crt
key C:\\OpenVPN\\ssl\\server.key
tls-auth C:\\OpenVPN\\ssl\\ca.key 0
tun-mtu 1500
tun-mtu-extra 32
mssfix 1450
keepalive 10 120
status C:\\OpenVPN\\log\\openvupn-status.log
log C:\\OpenVPN\\log\\openvpn.log
verb 3
client:
dev tun
proto tcp
remote "hostIP" 1723
route-delay 3
client
tls-client
ns-cert-type server
ca C:\\OpenVPN\\ssl\\ca.crt
cert C:\\OpenVPN\\ssl\\Host.crt
key C:\\OpenVPN\\ssl\\Host.key
tls-auth C:\\OpenVPN\\ssl\\ca.key 1
comp-lzo
tun-mtu 1500
tun-mtu-extra 32
mssfix 1450
ping-restart 60
ping 10
status C:\\OpenVPN\\log\\openvpn-status.log
log C:\\OpenVPN\\log\\openvpn.log
verb 3