Re: [Openvpn-users] openvpn site-to-site configuration

2016-02-24 Thread tovis
Hi. Selva find the problem! After several stupid settings I was give the absolute path for clients, add one more (quite obvious route to clients lan) everything is start working. Thanks a lot! Sincerely tovis > On 24/02/16 16:24, tovis wrote: >> Thanks for your answer! >> On this (old 12.0.9 Op

Re: [Openvpn-users] openvpn site-to-site configuration

2016-02-24 Thread tovis
Hi. Problem was solved :) Sleva you found it! - thank you. After several stupid solutions, I have simply gave the absolute path for clients. After restart and adding one more route (by hand) route add -net 192.168.2.0 netmask 255.255.255.0 dev tun0 everything is get working. Now I will try figure o

Re: [Openvpn-users] openvpn site-to-site configuration

2016-02-24 Thread Jan Just Keijser
On 24/02/16 16:24, tovis wrote: > Thanks for your answer! > On this (old 12.0.9 OpenWrt) /etc/config/openvpn contain only an include > to real configuration file /etc/openvpn/srv-vpn.conf > I this directory are also keys (such as ca.crt, ca.key, server.crt etc.) > Location of ccd is now /etc/openvp

Re: [Openvpn-users] openvpn site-to-site configuration

2016-02-24 Thread Selva Nair
On Wed, Feb 24, 2016 at 10:24 AM, tovis wrote: > Thanks for your answer! > On this (old 12.0.9 OpenWrt) /etc/config/openvpn contain only an include > to real configuration file /etc/openvpn/srv-vpn.conf > I this directory are also keys (such as ca.crt, ca.key, server.crt etc.) > ca cert etc are

Re: [Openvpn-users] openvpn site-to-site configuration

2016-02-24 Thread tovis
Thanks for your answer! On this (old 12.0.9 OpenWrt) /etc/config/openvpn contain only an include to real configuration file /etc/openvpn/srv-vpn.conf I this directory are also keys (such as ca.crt, ca.key, server.crt etc.) Location of ccd is now /etc/openvpn/ccd/tovis-lak and server (seem to me) co

Re: [Openvpn-users] openvpn site-to-site configuration

2016-02-24 Thread Selva Nair
Hi, On Wed, Feb 24, 2016 at 5:48 AM, tovis wrote: > Hi. > Thanks for answer! > At now I have use loglevel 5 (several time I was used level 9 but it was > useless - too many information). > I'm trying to find reading iroute from ccd directory but I do not find it > or is it not so obvious, do you

Re: [Openvpn-users] openvpn site-to-site configuration

2016-02-24 Thread tovis
Hi. Thanks for your answer! Yes, at now I have only one client, but it could change sometimes, that why I have decided to use multiple client configuration. At now I think the best clue is that may ccd directory does not read at all, I should check this - in server log I can not find this message.

Re: [Openvpn-users] openvpn site-to-site configuration

2016-02-24 Thread tovis
Hi. Thanks for answer! At now I have use loglevel 5 (several time I was used level 9 but it was useless - too many information). I'm trying to find reading iroute from ccd directory but I do not find it or is it not so obvious, do you have a more precise form of this message? (I found the PUSH_REQU

Re: [Openvpn-users] openvpn site-to-site configuration

2016-02-23 Thread Gert Doering
Hi, On Wed, Feb 24, 2016 at 12:06:24AM -0500, Selva Nair wrote: > Having said that, if the idea is to make a tunnel between two routers its > much simpler to use a point-to-point set up: [..] > Then use up scripts to add routes: > On router 1 a route to server side LAN with gateway as router 2 tun

Re: [Openvpn-users] openvpn site-to-site configuration

2016-02-23 Thread Selva Nair
On Tue, Feb 23, 2016 at 7:07 PM, tovis wrote: > The routers configuration, resulting settings and logs are on pastebin: > server side (tovis-lab): http://pastebin.com/3VRAadXz > client side (tovis-lak): http://pastebin.com/h8Ctfmx2 > server side LAN is 192.168.1.0 255.255.255.0 tunnel is 10.8.0.1

[Openvpn-users] openvpn site-to-site configuration

2016-02-23 Thread tovis
Hello everyone! Several days I'm struggling on build a site-to-site configuration, using two TP-LINK TL-WR1043ND ver:1.8 routers: http://wiki.openwrt.org/toh/tp-link/tl-wr1043nd I have installed "Attitude adjustment" 12.09 with 2.2.2 OpenVpn. I know these are quite old, but have less memory foot pr