rtfm
--up cmd
Run command cmd after successful TUN/TAP device open (pre --user
UID change).
cmd consists of a path to script (or executable program),
optionally followed by arguments. The path and arguments may be
single- or double-quoted and/or escaped using a backslash, and
should be separated by one or more spaces.
The up command is useful for specifying route commands which
route IP traffic destined for private subnets which exist at the
other end of the VPN connection into the tunnel.
Crie um script com essas duas linhas e adicione 2 linhas à configuração openvpn:
up /my/script.sh
script-security 2