Re: [Openvpn-users] push client network to server

2015-05-21 Thread Steffan Karger
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 21-05-15 14:45, Gert Doering wrote: > On Thu, May 21, 2015 at 02:37:36PM +0200, David Sommerseth wrote: >> It's not that easy, unfortunately. And you've already been down >> that path once already. >> >> To switch to TLS mode, you need to use --c

Re: [Openvpn-users] push client network to server

2015-05-21 Thread Gert Doering
Hi, On Thu, May 21, 2015 at 02:37:36PM +0200, David Sommerseth wrote: > It's not that easy, unfortunately. And you've already been down that > path once already. > > To switch to TLS mode, you need to use --ca, --cert and --key. In > addition on the server side you need --dh as well. This mean

Re: [Openvpn-users] push client network to server

2015-05-21 Thread David Sommerseth
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 21/05/15 14:25, Josu Lazkano wrote: > 2015-05-20 23:49 GMT+02:00 David Sommerseth > : [...snip...] >> >> I'll admit I haven't paid attention to all details in this >> discussion. Static encrypted VPN tunnels can work very well, but >> I just want t

Re: [Openvpn-users] push client network to server

2015-05-21 Thread Josu Lazkano
2015-05-20 23:49 GMT+02:00 David Sommerseth : > On 20 May 2015 14:34:22 CEST, Josu Lazkano wrote: >>Thanks Mathias! >> >>Your configuration works perfect. I can ping to any host in any >>network. >> >>That is great. >> >>Thank you very much for your help. Now I have a good VPN system. >> >>Best re

Re: [Openvpn-users] push client network to server

2015-05-20 Thread David Sommerseth
On 20 May 2015 14:34:22 CEST, Josu Lazkano wrote: >Thanks Mathias! > >Your configuration works perfect. I can ping to any host in any >network. > >That is great. > >Thank you very much for your help. Now I have a good VPN system. > >Best regards. > >2015-05-20 0:05 GMT+02:00 Mathias Jeschke : >> H

Re: [Openvpn-users] push client network to server

2015-05-20 Thread Josu Lazkano
Thanks Mathias! Your configuration works perfect. I can ping to any host in any network. That is great. Thank you very much for your help. Now I have a good VPN system. Best regards. 2015-05-20 0:05 GMT+02:00 Mathias Jeschke : > Hi all, > > On 2015-05-19 on 23:36 Jan Just Keijser wrote: > >> y

Re: [Openvpn-users] push client network to server

2015-05-19 Thread Mathias Jeschke
Hi all, On 2015-05-19 on 23:36 Jan Just Keijser wrote: > yeah, it would simply be a matter of > > host1# openvpn --dev tun --secret static.key --ifconfig 10.200.0.1 > 10.200.0.2 > > host2# openvpn --dev tun --secret static.key --ifconfig 10.200.0.2 > 10.200.0.1 --remote host1 > > After

Re: [Openvpn-users] push client network to server

2015-05-19 Thread Jan Just Keijser
On 19/05/15 23:23, Josu Lazkano wrote: > > Thanks both! > > I will try iroute in client-config-dir. > > My original configuration was to make as point-to-point, but I have > not found any interesting guide te use in openwrt. > > Anyone have a simple configuration with static keys? Jusy to join and

Re: [Openvpn-users] push client network to server

2015-05-19 Thread Josu Lazkano
Thanks both! I will try iroute in client-config-dir. My original configuration was to make as point-to-point, but I have not found any interesting guide te use in openwrt. Anyone have a simple configuration with static keys? Jusy to join and route to networks? Thanks for your replies, I really

Re: [Openvpn-users] push client network to server

2015-05-19 Thread Jan Just Keijser
On 19/05/15 20:14, Josu Lazkano wrote: > Hello all, > > Thanks this list I configure my first OpenVPN link between 2 OpenWRT routers. > > I configured client - server configuration this way: > > server (192.168.1.1/24) > > config openvpn 'myvpn' > option enabled '1' > option dev '

Re: [Openvpn-users] push client network to server

2015-05-19 Thread Gert Doering
Hi, On Tue, May 19, 2015 at 08:14:27PM +0200, Josu Lazkano wrote: > Is it possible to push the client network to the server? read up on "--client-config-dir" on the server side - since the server is the authority on anything in client-server configs, it won't take "pushed" from a client, but yo

[Openvpn-users] push client network to server

2015-05-19 Thread Josu Lazkano
Hello all, Thanks this list I configure my first OpenVPN link between 2 OpenWRT routers. I configured client - server configuration this way: server (192.168.1.1/24) config openvpn 'myvpn' option enabled '1' option dev 'tun' option port '1194' option proto 'udp'