10x Slow-Down of Proxy when VPN is On

tank

Member
Hello All,

Physically in USA.
Running Windows 7, pp_SSH 1.8.0.0 and pp_VPN 1.10.43.0.
Both WinHTTP and WinINET proxy through pp_SSH to New York server.
Thus all windows coms proxy to New York except a torrent client.
Torrent client is bound to "TAP-Windows Adapter V9" connected to Stockholm server via pp_VPN manager.
Using yt-dlp to download videos from Tubi results in two very different transfer data rates dependent upon pp_VPN status.
With pp_VPN disconnected I get about 45Mbps. That's 45 megabits per second (Mbps), which will complete a video download in some 3 to 5 minutes.
With pp_VPN connected to any pp_server the yt-dlp download rate falls to about 3-4 Mbps which takes something like 30 minutes to download a video.
Hit the pp_VPN disconnect button and the proxied yt-dlp download immediately returns to 45Mbps.

Does anyone know why the pp_SSH proxy traffic slows to a snail's pace as soon as pp_VPN connects to a VPN server?
Any suggestions for how to fix this issue?

All for now
 
Do you connect VPN on top of SSH or vice-versa?

I'm running SSH on top of VPN and the transfer speed is fine so far.

As for yt-dlp you might want to try the proxy switch. Here is how I do it:

1. Proxy tunnel (requires a SSH client)
Code:
yt-dlp --proxy https://127.0.0.1:5080 --proxy http://127.0.0.1:5080 URL

2. Squid proxy
Code:
yt-dlp --proxy https://PP-username:PP-password@any_server.perfect-privacy.com:3128 URL

3. Tor proxy (requires Tor expert bundle)
Code:
yt-dlp --proxy socks5://127.0.0.1:9050 URL
 
Yes, I believe it could be referred to as "VPN on top of SSH."
I have set the "Internet Properties / Connections / LAN Settings / Advanced" dialog to cause all WinINET applications (browsers and pp_VPN Mgr) to proxy through pp_SSH to lets say Miami.
I have run "netsh winhttp import proxy source =ie" to cause all WinHTTP applications (Windows Update, etc...) to proxy through pp_SSH.
At this point I assume that nothing leaves the box without going through the pp_SSH proxy.

When I start pp_VPN mgr it says "VPN not connected", "Your IP is .... Miami", as it should.
After connection to a VPN server is complete, pp_VPN mgr says "You are connected to PP" "Your IP is .... Miami".
pp_VPN mgr still says that it is connected to Miami even though pp_VPN mgr has connected to the Belgrade VPN server, for example.

My torrent client is bound to the "TAP-Windows Adapter V9" so it will not communicate without pp_VPN connected to a VPN server.
If I kill pp_SSH mgr, pp_VPN mgr goes yellow and drops back to the "Connected, waiting for confirmation" state with no IP information displayed.
Now, nothing browser or windows related can communicate.
Although, the "TAP-Windows Adapter V9" keeps right on trucking and the torrent client continues to communicate.
I can kill the torrent client, and then restart it, and it will return to normal operation.

So this proves that the "TAP-Windows Adapter V9" communications do not ride on top of the SSH tunnel.
The only thing pp_VPN mgr related that does depend on the pp_SSH proxy is its status communications.
When the pp_SSH proxy tunnel goes down, the pp_VPN manager loses communication to the connected server but, the "TAP-Windows Adapter V9" tunnel remains connected and fully functional.

So actually it's not "VPN on top of SSH."
It's "VPN beside SSH" with "VPN status on top of SSH."

This is what I thought it was all along but, now I have proved it.
Although enlightening, none of this information explains why the SSH tunnel slows down so dramatically whenever the VPN tunnel is active.

Thanks for the reply, Honk.
 
Well, I'm riding on Linux, so I can't help with any Windows related issues.
TBH, my brain gets foggy reading your configuration description.
 
O.K. I understand, since there is no such thing as global proxy configuration on Linux, like there is on Windows, it would be most difficult for you to mirror the situation I am facing on Windows.

Thanks for your input.
 
Back
Top