I want to know if openvpn has a way that similar to post-up & pre-down in linux/wireguard to run some command after dev is up.
if I use --up , it will add additional parameters into my programs as mentioned in openvpn manual, which will break my purpose.
For --dev tun execute as:
cmd tun_dev tun_mtu link_mtu ifconfig_local_ip ifconfig_remote_ip [ init | restart ]
I want to set firewall stuff after the dev tun is up , any one can help on this ?