Hi,
I use qb 3.1.8 on Ubuntu 14.04 LTs (32bit)
I set up VPN-Connection and with "ifconfig" I see the new interface "ppp0".
Then I put "ppp0" in OPTIONS > ADVANCED > NETWORK INTERFACE (REQUIRES RESTART) and restart.
Now all my bittorrent traffic should route over the vpn, right?
But: If I kill the vpn, the torrent still download / upload.
Is this a bug or do I missunderstand the option "Network interface"?
Thx
Bind to interface - VPN (Ubuntu)
-
- Administrator
- Posts: 2443
- Joined: Sun Jan 23, 2011 1:17 pm
Re: Bind to interface - VPN (Ubuntu)
Are you sure that ppp0 is the VPN interface? Usually openvpn names its interfaces as tun0.
Re: Bind to interface - VPN (Ubuntu)
Thank you for your answer. I have quite limited knowledge of linux I must admit.
when I callup "ifconfig" it lists the interfaces "eth0", "lo" and "wlan0" - then I start the vpn and afterwards ifconfig still lists those three interfaces plus one that is called "ppp0"
so I thought "ppp0" must be the vpn.
I use the Ubuntu own vpn-function at the top-menu-bar
when I callup "ifconfig" it lists the interfaces "eth0", "lo" and "wlan0" - then I start the vpn and afterwards ifconfig still lists those three interfaces plus one that is called "ppp0"
so I thought "ppp0" must be the vpn.
I use the Ubuntu own vpn-function at the top-menu-bar
Re: Bind to interface - VPN (Ubuntu)
eth0 is your network card (Ethernet device 0)
l0 is the "loop back device" == 'localhost'
ppp0 is "Point to Point Protocol device 0 which is most likely to be a modem (possibly built in if the machine is a laptop)
wlan0 is Wireless networking device 0
If you connect using a mobile (cell) phone via USB (known as 'tethering') that may well be identified ppp0 and wlan0.
l0 is the "loop back device" == 'localhost'
ppp0 is "Point to Point Protocol device 0 which is most likely to be a modem (possibly built in if the machine is a laptop)
wlan0 is Wireless networking device 0
If you connect using a mobile (cell) phone via USB (known as 'tethering') that may well be identified ppp0 and wlan0.
Re: Bind to interface - VPN (Ubuntu)
When I set up the VPN it is called "PPTP Point-to-point tunnel protocol".
And I don't think that my laptop has a built in modem which appears by activating a vpn
And I don't think that my laptop has a built in modem which appears by activating a vpn

Re: Bind to interface - VPN (Ubuntu)
to show you: ifconfig brings up:
but after I STARTED THE VPN ifconfig results in:
(sorry for the german language in the code)eth0 Link encap:Ethernet Hardware Adresse 1c:c1fd:42:a2
inet Adresse:192.168.178.30 Bcast:192.168.178.255 Maske:255.255.255.0
inet6-Adresse: fe80:deff:fefd:42a2/64 Gültigkeitsbereich:Verbindung
UP BROADCAST RUNNING MULTICAST MTU:1500 Metrik:1
RX-Pakete:383492 Fehler:0 Verloren:0 Überläufe:0 Fenster:0
TX-Pakete:237921 Fehler:0 Verloren:0 Überläufe:0 Träger:0
Kollisionen:0 Sendewarteschlangenlänge:1000
RX-Bytes:280813620 (280.8 MB) TX-Bytes:26022439 (26.0 MB)
lo Link encap:Lokale Schleife
inet Adresse:127.0.0.1 Maske:255.0.0.0
inet6-Adresse: ::1/128 Gültigkeitsbereich:Maschine
UP LOOPBACK RUNNING MTU:65536 Metrik:1
RX-Pakete:269521 Fehler:0 Verloren:0 Überläufe:0 Fenster:0
TX-Pakete:269521 Fehler:0 Verloren:0 Überläufe:0 Träger:0
Kollisionen:0 Sendewarteschlangenlänge:0
RX-Bytes:31272225 (31.2 MB) TX-Bytes:31272225 (31.2 MB)
wlan0 Link encap:Ethernet Hardware Adresse 70:f1:a1:f1:59:6d
UP BROADCAST MULTICAST MTU:1500 Metrik:1
RX-Pakete:0 Fehler:0 Verloren:0 Überläufe:0 Fenster:0
TX-Pakete:0 Fehler:0 Verloren:0 Überläufe:0 Träger:0
Kollisionen:0 Sendewarteschlangenlänge:1000
RX-Bytes:0 (0.0 B) TX-Bytes:0 (0.0 B)
but after I STARTED THE VPN ifconfig results in:
eth0 Link encap:Ethernet Hardware Adresse 1c:c1fd:42:a2
inet Adresse:192.168.178.30 Bcast:192.168.178.255 Maske:255.255.255.0
inet6-Adresse: fe80:deff:fefd:42a2/64 Gültigkeitsbereich:Verbindung
UP BROADCAST RUNNING MULTICAST MTU:1500 Metrik:1
RX-Pakete:384113 Fehler:0 Verloren:0 Überläufe:0 Fenster:0
TX-Pakete:238540 Fehler:0 Verloren:0 Überläufe:0 Träger:0
Kollisionen:0 Sendewarteschlangenlänge:1000
RX-Bytes:280979236 (280.9 MB) TX-Bytes:26101536 (26.1 MB)
lo Link encap:Lokale Schleife
inet Adresse:127.0.0.1 Maske:255.0.0.0
inet6-Adresse: ::1/128 Gültigkeitsbereich:Maschine
UP LOOPBACK RUNNING MTU:65536 Metrik:1
RX-Pakete:271743 Fehler:0 Verloren:0 Überläufe:0 Fenster:0
TX-Pakete:271743 Fehler:0 Verloren:0 Überläufe:0 Träger:0
Kollisionen:0 Sendewarteschlangenlänge:0
RX-Bytes:31530968 (31.5 MB) TX-Bytes:31530968 (31.5 MB)
ppp0 Link encap:Punkt-zu-Punkt-Verbindung
inet Adresse:10.20.10.7 P-z-P:10.20.0.1 Maske:255.255.255.255
UP PUNKTZUPUNKT RUNNING NOARP MULTICAST MTU:1400 Metrik:1
RX-Pakete:61 Fehler:0 Verloren:0 Überläufe:0 Fenster:0
TX-Pakete:122 Fehler:0 Verloren:0 Überläufe:0 Träger:0
Kollisionen:0 Sendewarteschlangenlänge:3
RX-Bytes:15981 (15.9 KB) TX-Bytes:12851 (12.8 KB)
wlan0 Link encap:Ethernet Hardware Adresse 70:f1:a1:f1:59:6d
UP BROADCAST MULTICAST MTU:1500 Metrik:1
RX-Pakete:0 Fehler:0 Verloren:0 Überläufe:0 Fenster:0
TX-Pakete:0 Fehler:0 Verloren:0 Überläufe:0 Träger:0
Kollisionen:0 Sendewarteschlangenlänge:1000
RX-Bytes:0 (0.0 B) TX-Bytes:0 (0.0 B)
Last edited by RobertRobert on Mon Oct 20, 2014 3:56 pm, edited 1 time in total.
Re: Bind to interface - VPN (Ubuntu)
Please use [ quote ] delimiters for quoted text, not [ code ] it does the same formatting but when the BBcode parser encounter [ code ] tags it tries to use syntax colouring and words that do not appear to be commands are coloured as comments which are an almost invisible light grey.
Meanwhile back at the plot; first thing to do is to update to the latest version (3.1.10) see if that improves things.
Meanwhile back at the plot; first thing to do is to update to the latest version (3.1.10) see if that improves things.
-
- Administrator
- Posts: 2443
- Joined: Sun Jan 23, 2011 1:17 pm
Re: Bind to interface - VPN (Ubuntu)
Use this ppa to update qbittorrent AND libtorrent to their latest versions: https://launchpad.net/~surfernsk/+archi ... t-software
Does the problem still appear?
Does the problem still appear?
Re: Bind to interface - VPN (Ubuntu)
thanks for the answer. I updated to 3.1.10.
Now, after I kill the ppp0 VPN interface, the download transferate slowly drops until it hits 0 B/s after like 30 Secounds. I guess that means it does what I intend it to do: only use ppp0 for the bittorrent download & upload.
I noticed that the "peers" column stays active though (changing from "7" to "8" and back in my case) - does this mean I still broadcast my "real" IP?
Now, after I kill the ppp0 VPN interface, the download transferate slowly drops until it hits 0 B/s after like 30 Secounds. I guess that means it does what I intend it to do: only use ppp0 for the bittorrent download & upload.
I noticed that the "peers" column stays active though (changing from "7" to "8" and back in my case) - does this mean I still broadcast my "real" IP?
-
- Administrator
- Posts: 2443
- Joined: Sun Jan 23, 2011 1:17 pm
Re: Bind to interface - VPN (Ubuntu)
The only way to be sure is to run wireshark and observe if any traffic goes through your other interfaces....
(I cannot give specific instructions)
(I cannot give specific instructions)