Ok, last question, I promise. Is there any way to configure the hardware switch so that one side connects to openvpn client, other side starts openvpn server? I currently have both client and server working fine, but it would be ideal to use a button than to log in, stop and start. If that isn’t doable, would there be a way to have the client running on the guest wifi and the server running at the same time on the main wifi?
ofc, but you need to implement by yourself.
The shell script is /usr/bin/switchaction, you can modify it as you like.