Nov 12 21:03:30 vpn openvpnserver[32201]: /sbin/route add -net 192.168.178.0 netmask 255.255.255.0 gw 10.11.12.222
Nov 12 21:03:30 vpn openvpnserver[32201]: ERROR: Linux route add command failed: shell command exited with error status: 7
root@vpn:/var/ipcop/ovpn # route add -net 192.168.178.0 netmask 255.255.255.0 gw 10.11.12.222
SIOCADDRT: Network is unreachable
mode server
tls-server
ifconfig 10.11.12.1 10.11.12.2
ifconfig-pool 10.11.12.4 10.11.12.200
# der normale Code wäre [I]ifconfig-pool 10.11.12.4 10.11.12.251[/I]
route 10.11.12.0 255.255.255.0
# bei client-to-client:
push "route 10.11.12.0 255.255.255.0"
# ansonsten
push "route 10.11.12.1"
--client-config-dir dir
Specify a directory dir for custom client config files. After a connecting
client has been authenticated, OpenVPN will look in this directory for a file
having the same name as the client's X509 common name.
If a matching file exists, it will be opened and parsed for client-specific
configuration options.[B] If no matching file is found[/B], OpenVPN will instead
try to open and parse [B]a default file called "DEFAULT"[/B], which may be
provided but [B]is not required[/B].
This file can specify a fixed IP address for a given client using
[I]--ifconfig-push[/I], as well as fixed subnets owned by the client using [I]--iroute[/I].