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.
How i can automatically creating bridge before start openvpn service?
Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech
-
- OpenVpn Newbie
- Posts: 1
- Joined: Tue Oct 26, 2021 7:30 am
-
- OpenVPN Protagonist
- Posts: 11137
- Joined: Fri Jun 03, 2016 1:17 pm