VPN with RDP access automatically

Good morning,
i would script such things from your client after the tunnel has been established. As Adolf has been written, you can trigger the magic packet via SSH on IPFire (launch-ether-wake) from your OpenVPN client machine. If you use Windows, this should meanwhile be possible --> https://www.linuxbabe.com/linux-server/ssh-windows , i do not use Windows at all but as far i can see it should be possible to run bash commands in a batch file --> https://www.quora.com/How-do-I-run-a-Linux-command-bash-in-CMD’s-batch-files-using-Windows-file-system-for-Linux so it should be possible to make the three steps also on Windows machines to

  1. Start the OpenVPN connection (give a sleep of e.g. 5)
  2. Open a SSH connection and execute etherwake for the appropriate interface and MAC address like Adolf mentioned it.
  3. Start VNC.

This here --> https://community.spiceworks.com/how_to/77019-bat-file-to-start-openvpn-and-open-an-rdp-session might be an idea, beneath some other checks which are in there to manage the last two points.

It is currently not possible to execute two or more scripts via OpenVPN server and --client-connect
–> https://lists.ipfire.org/pipermail/development/2020-October/008407.html but we work on that.

Best,

Erik