On Fri, May 27, 2016 at 3:23 PM, Nikolaos Milas <nmi...@noa.gr> wrote:
> > In your server config add push "route-gateway 10.12.12.1". This is
> > automatically done (for topology subnet) if --server option is used to
> > setup the server ip, ip-pool etc, not otherwise. Also see --server and
> > --route options in the man page for more details.
>
> Thank you, I will try that. But: in my server config I do have: "server
> 10.12.12.0 255.255.255.0" (as I have earlier listed). Wouldn't this be
> the same as defining the --server option to setup the server ip?
>
Sorry, I did not look at your config while writing that. Yes, with that
config, push "route network netmask" should work. For a test setup here,
with a push "route 192.168.10.0 255.255.255.0", the logs show
Fri May 27 15:52:21 2016 us=608550 PUSH: Received control message:
'PUSH_REPLY,route-gateway 10.9.0.1,topology subnet,ping 20,ping-restart
120,route 192.168.10.0 255.255.255.0,ifconfig 10.9.0.254 255.255.255.0
..
..
Fri May 27 15:52:21 2016 us=618124 /sbin/route add -net 192.168.10.0 netmask
255.255.255.0 gw 10.9.0.1
as expected.
Please check the logs to see what went wrong.
Selva
------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are
consuming the most bandwidth. Provides multi-vendor support for NetFlow,
J-Flow, sFlow and other flows. Make informed decisions using capacity
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
_______________________________________________
Openvpn-users mailing list
Openvpn-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-users