Page 1 of 1

How i can automatically creating bridge before start openvpn service?

Posted: Tue Oct 26, 2021 8:21 am
by vmalahov90
I create 2 scripts: bridge-start and bridge-stop, they up bridge before start openvpn daemon and down it when it stop. I put it into /etc/openvpn/, near my conf file.
I try to start it any ways:

firstly: i just put it in /etc/openvpn.
secondary: i put in my config file this strings "up bridge-start" "down bridge-stop".
at least: i try to edit openvpn@.servise

Can you tell me, where i need to put record who start this script when openvpn starting up and shutting down.

If i start this script manually all work's good, but i cant start it into automatically mode.
Best regards, Vladimir.

Re: How i can automatically creating bridge before start openvpn service?

Posted: Tue Oct 26, 2021 12:47 pm
by TinCanTech