I want to run "megatools" with a vpn. The problem is it has to be ONLY megatools. I googled multiply hours and found a concept where I have a new user and every packet sent by this user gets marked with iptables and then routed to the network interface tun1 (the vpn).
Some guy on askubuntu tried to help me get this working, but I am not planning to study these iptables. His explaination was not clear enough and I dont think he does like my question at all.
I have added a command to my ovpn config so that the network adapter won't get set to default when connecting.
Is there no option to use the network interface for a specific user or service, other than marking packets and then routing them? System: raspberry pi with raspbian