|
|
Hi all,
this is my first message to list,
I have as soon installed openvpn and I'm making some test.
I have 2 linuxbox, pc1 (tls-client, firewalled) and pc2 (tls-server) whith
kernel 2.2. pc1 and pc2 are always connected to Internet.
All it works perfectly, but when not use the system for a lot of time
the network not respont from pc2 (not even ping).
in order to restore the connection I must to make a ping from pc1.
Why? there are some timeout? it centers something with "--reneg-sec"
argoument???
this is pc1 syntax:
k=/root/openvpn.key
/usr/local/sbin/openvpn \
--tls-client \
--ca $k/tmp-ca.crt \
--cert $k/tmp-ca.crt \
--key $k/tmp-ca.key \
--remote xxxxxxxxxxxx \
--port 8000 \
--udp-mtu 1500 \
--reneg-sec 21600 \
--dev tun1 \
--comp-lzo \
--verb 5 \
--up /usr/local/sbin/home-office.up \
--user nobody \
--daemon
and pc2:
k=/root/openvpn.key
/usr/local/sbin/openvpn \
--remote xxxxxxxxxxxxx \
--port 8000 \
--dev tun1 \
--udp-mtu 1500 \
--tls-server \
--dh $k/dh1024.pem \
--ca $k/home.crt \
--cert $k/home.crt \
--key $k/home.key \
--reneg-sec 21600 \
--comp-lzo \
--tls-auth $k/tlspass \
--verb 5 \
--up /usr/local/sbin/home-office.up \
--user nobody \
--daemon
thanks, bye. Simone.
_______________________________________________
Openvpn-users mailing list
Openvpn-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/openvpn-users
|