Openvpn vpn-TOR

I need do on gateway vpn->tor.

If i will start system with this coomand “sudo openvpn --configure file.ovpn” it will work?

The simplest way to do VPN->TOR is to connect to the VPN inside the Host OS (using that OS’s native vpn tools or a third party tool). It is possible to connect to the VPN before Tor by configuring the gateway, but this isn’t tested much or documented, ( Combining Tunnels with Tor )

Maybe adrelanos knows the exact commands to use.

According to Adrelanos, yes it should work.

To not need to manually start it use /etc/openvpn/client.conf

We have an example of setting up a vpn with openvpn in that manner: