Hi
I'm looking for a way to set the network interface that qbitorrent uses.
Either by commandline? or somehow editing QBT's settings ? (with script)
Can i somehow set network interface by script or commandline?
Re: Can i somehow set network interface by script or commandline?
I mean of course.
1. Press WIN+R on Windows and type:
This will open the settings folder.
Look for
No need to open it yet.
2. Now go into qBittorrent's settings and bind to an interface in Advanced Settings.
3. In the ".ini" file it will look like this:
Session\InterfaceName=Ethernet
Session\Interface=ethernet_32769
4. And now you already have one interface.
5. Save this data. It will be different at you.
Now re-open qBittorrent and change to whatever other interface you want.
6. Now open the .ini again and you have the other interface. Do this for each interface.
7. Now all you need to do is just make a new script that replaces these lines with your interface bind before starting qBittorrent.
Obviously, verify it it all.
1. Press WIN+R on Windows and type:
Code: Select all
%APPDATA%\qBittorrent\
Look for
Code: Select all
qBittorrent.ini
2. Now go into qBittorrent's settings and bind to an interface in Advanced Settings.
3. In the ".ini" file it will look like this:
Session\InterfaceName=Ethernet
Session\Interface=ethernet_32769
4. And now you already have one interface.
5. Save this data. It will be different at you.
Now re-open qBittorrent and change to whatever other interface you want.
6. Now open the .ini again and you have the other interface. Do this for each interface.
7. Now all you need to do is just make a new script that replaces these lines with your interface bind before starting qBittorrent.
Obviously, verify it it all.
Re: Can i somehow set network interface by script or commandline?
Ah damn, i DID look in qBittorrent.ini, but somehow i missed the Session\InterfaceName.. i must have made a type when i searched for the interface name.
Thank you!
Thank you!
