Using OpenVPN only for selected programs with 3proxy hasn't been working...

How to customize and extend your OpenVPN installation.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Post Reply
psx13372
OpenVpn Newbie
Posts: 6
Joined: Sun Nov 14, 2021 3:57 pm

Using OpenVPN only for selected programs with 3proxy hasn't been working...

Post by psx13372 » Sun Nov 14, 2021 4:01 pm

Hi all, I'm new so hope this is the right sub-forum, or what have you.

Basically, for a while now, I've been able to have only qBittorrent be using various vpngate VPN's. The method is the one where you paste something like this into the config file:

Code: Select all

dev tun
route-nopull
route 0.0.0.0 0.0.0.0 vpn_gateway
pull-filter ignore "dhcp-option DNS "
script-security 2
up 'C:\Users\crepo\Downloads\3proxy-0.8.13\bin\up.cmd'
down 'C:\Users\crepo\Downloads\3proxy-0.8.13\bin\down.cmd'
The exact method is outlined here: https://newbedev.com/use-vpn-connection ... plications


Windows 10 with OpenVPN GUI 11.25.00

I'll paste the output I get when attempting to connect to one such VPN in such a way:
Sun Nov 14 10:52:44 2021 DEPRECATED OPTION: --cipher set to 'AES-128-CBC' but missing in --data-ciphers (AES-256-GCM:AES-128-GCM). Future OpenVPN version will ignore --cipher for cipher negotiations. Add 'AES-128-CBC' to --data-ciphers or change --cipher 'AES-128-CBC' to --data-ciphers-fallback 'AES-128-CBC' to silence this warning.
Sun Nov 14 10:52:44 2021 OpenVPN 2.5.4 Windows-MSVC [SSL (OpenSSL)] [LZO] [LZ4] [PKCS11] [AEAD] built on Oct 20 2021
Sun Nov 14 10:52:44 2021 Windows version 10.0 (Windows 10 or greater) 64bit
Sun Nov 14 10:52:44 2021 library versions: OpenSSL 1.1.1l 24 Aug 2021, LZO 2.10
Sun Nov 14 10:52:44 2021 MANAGEMENT: TCP Socket listening on [AF_INET]127.0.0.1:25343
Sun Nov 14 10:52:44 2021 Need hold release from management interface, waiting...
Sun Nov 14 10:52:44 2021 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:25343
Sun Nov 14 10:52:44 2021 MANAGEMENT: CMD 'state on'
Sun Nov 14 10:52:44 2021 MANAGEMENT: CMD 'log all on'
Sun Nov 14 10:52:44 2021 MANAGEMENT: CMD 'echo all on'
Sun Nov 14 10:52:44 2021 MANAGEMENT: CMD 'bytecount 5'
Sun Nov 14 10:52:44 2021 MANAGEMENT: CMD 'hold off'
Sun Nov 14 10:52:44 2021 MANAGEMENT: CMD 'hold release'
Sun Nov 14 10:52:44 2021 WARNING: No server certificate verification method has been enabled. See http://openvpn.net/howto.html#mitm for more info.
Sun Nov 14 10:52:44 2021 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
Sun Nov 14 10:52:44 2021 TCP/UDP: Preserving recently used remote address: [AF_INET]219.100.37.60:1195
Sun Nov 14 10:52:44 2021 Socket Buffers: R=[65536->65536] S=[65536->65536]
Sun Nov 14 10:52:44 2021 UDP link local: (not bound)
Sun Nov 14 10:52:44 2021 UDP link remote: [AF_INET]219.100.37.60:1195
Sun Nov 14 10:52:44 2021 MANAGEMENT: >STATE:1636905164,WAIT,,,,,,
Sun Nov 14 10:52:45 2021 MANAGEMENT: >STATE:1636905165,AUTH,,,,,,
Sun Nov 14 10:52:45 2021 TLS: Initial packet from [AF_INET]219.100.37.60:1195, sid=847b4fe0 eca8fe4e
Sun Nov 14 10:52:45 2021 VERIFY OK: depth=2, C=US, ST=New Jersey, L=Jersey City, O=The USERTRUST Network, CN=USERTrust RSA Certification Authority
Sun Nov 14 10:52:45 2021 VERIFY OK: depth=1, C=GB, ST=Greater Manchester, L=Salford, O=Sectigo Limited, CN=Sectigo RSA Domain Validation Secure Server CA
Sun Nov 14 10:52:45 2021 VERIFY OK: depth=0, CN=*.opengw.net
Sun Nov 14 10:52:45 2021 Control Channel: TLSv1.3, cipher TLSv1.3 TLS_AES_256_GCM_SHA384, peer certificate: 2048 bit RSA, signature: RSA-SHA256
Sun Nov 14 10:52:45 2021 [*.opengw.net] Peer Connection Initiated with [AF_INET]219.100.37.60:1195
Sun Nov 14 10:52:46 2021 MANAGEMENT: >STATE:1636905166,GET_CONFIG,,,,,,
Sun Nov 14 10:52:46 2021 SENT CONTROL [*.opengw.net]: 'PUSH_REQUEST' (status=1)
Sun Nov 14 10:52:51 2021 SENT CONTROL [*.opengw.net]: 'PUSH_REQUEST' (status=1)
I can also share that exact config file if that's helpful. Appreciate it!

TinCanTech
OpenVPN Protagonist
Posts: 11137
Joined: Fri Jun 03, 2016 1:17 pm

Re: Using OpenVPN only for selected programs with 3proxy hasn't been working...

Post by TinCanTech » Sun Nov 14, 2021 5:22 pm

Three things:
  • psx13372 wrote:
    Sun Nov 14, 2021 4:01 pm
    using various vpngate VPN's.
  • The article you link to states the use of your own server.
  • The article you link to is old and out of date.
  • The article you link to is garbage.

psx13372
OpenVpn Newbie
Posts: 6
Joined: Sun Nov 14, 2021 3:57 pm

Re: Using OpenVPN only for selected programs with 3proxy hasn't been working...

Post by psx13372 » Sun Nov 14, 2021 9:21 pm

TinCanTech wrote:
Sun Nov 14, 2021 5:22 pm
Three things:
  • psx13372 wrote:
    Sun Nov 14, 2021 4:01 pm
    using various vpngate VPN's.
  • The article you link to states the use of your own server.
  • The article you link to is old and out of date.
  • The article you link to is garbage.
Well, that's interesting, because up until about 2 months ago it was working steadily for over a year. If you could provide any suggestions for alternate methods, I'd appreciate it.

TinCanTech
OpenVPN Protagonist
Posts: 11137
Joined: Fri Jun 03, 2016 1:17 pm

Re: Using OpenVPN only for selected programs with 3proxy hasn't been working...

Post by TinCanTech » Sun Nov 14, 2021 9:30 pm

psx13372 wrote:
Sun Nov 14, 2021 9:21 pm
up until about 2 months ago it was working steadily for over a year
The so called solution that you linked to does not work.

The reason it does not work is because it is half-baked garbage.

If you managed to cobble something together which does, or even did, work then that article only got you to the point of where you are now .. totally and hopelessly stuck.

Check your history for the actual solution that you found over a year ago.

TinCanTech
OpenVPN Protagonist
Posts: 11137
Joined: Fri Jun 03, 2016 1:17 pm

Re: Using OpenVPN only for selected programs with 3proxy hasn't been working...

Post by TinCanTech » Sun Nov 14, 2021 9:34 pm

psx13372 wrote:
Sun Nov 14, 2021 9:21 pm
If you could provide any suggestions for alternate methods
I don't know of any specific instructions, however, I can give you this advise:

If what you are reading includes the words 'use route-nopull' then it is 99.99% wrong.

The other 0.01% run their own servers.

TinCanTech
OpenVPN Protagonist
Posts: 11137
Joined: Fri Jun 03, 2016 1:17 pm

Re: Using OpenVPN only for selected programs with 3proxy hasn't been working...

Post by TinCanTech » Sun Nov 14, 2021 10:16 pm

There is one approach that you could try..

Do not use --route-nopull but, instead, use only --pull-filter ignore "what-ever.."

That may work .. but I seriously doubt it.

psx13372
OpenVpn Newbie
Posts: 6
Joined: Sun Nov 14, 2021 3:57 pm

Re: Using OpenVPN only for selected programs with 3proxy hasn't been working...

Post by psx13372 » Mon Nov 15, 2021 1:47 pm

Thank you again, TinCanTech, for your feedback. I will try what you said. I am fairly certain the 'garbage' article I linked to is the one from which I learned this method. And I did check to make sure my up.cmd and down.cmd files are intact and correct.

up.bin contains:

Code: Select all

cd %~dp0
echo auth none> 3proxy-openvpn.conf
echo internal 127.0.0.1>> 3proxy-openvpn.conf
echo external %4>> 3proxy-openvpn.conf
echo socks>> 3proxy-openvpn.conf
start /b 3proxy.exe 3proxy-openvpn.conf
down.bin contains:

Code: Select all

taskkill /f /im 3proxy.exe
&&

For whatever it's worth here's the config file of a VPN that I have been using:

Code: Select all

###############################################################################
# OpenVPN 2.0 Sample Configuration File
# for PacketiX VPN / SoftEther VPN Server
# 
# !!! AUTO-GENERATED BY SOFTETHER VPN SERVER MANAGEMENT TOOL !!!
# 
# !!! YOU HAVE TO REVIEW IT BEFORE USE AND MODIFY IT AS NECESSARY !!!
# 
# This configuration file is auto-generated. You might use this config file
# in order to connect to the PacketiX VPN / SoftEther VPN Server.
# However, before you try it, you should review the descriptions of the file
# to determine the necessity to modify to suitable for your real environment.
# If necessary, you have to modify a little adequately on the file.
# For example, the IP address or the hostname as a destination VPN Server
# should be confirmed.
# 
# Note that to use OpenVPN 2.0, you have to put the certification file of
# the destination VPN Server on the OpenVPN Client computer when you use this
# config file. Please refer the below descriptions carefully.


###############################################################################
# Specify the type of the layer of the VPN connection.
# 
# To connect to the VPN Server as a "Remote-Access VPN Client PC",
#  specify 'dev tun'. (Layer-3 IP Routing Mode)
#
# To connect to the VPN Server as a bridging equipment of "Site-to-Site VPN",
#  specify 'dev tap'. (Layer-2 Ethernet Bridgine Mode)

dev tun
route-nopull
route 0.0.0.0 0.0.0.0 vpn_gateway
pull-filter ignore "dhcp-option DNS "
script-security 2
up 'C:\Users\crepo\Downloads\3proxy-0.8.13\bin\up.cmd'
down 'C:\Users\crepo\Downloads\3proxy-0.8.13\bin\down.cmd'


###############################################################################
# Specify the underlying protocol beyond the Internet.
# Note that this setting must be correspond with the listening setting on
# the VPN Server.
# 
# Specify either 'proto tcp' or 'proto udp'.

proto udp


###############################################################################
# The destination hostname / IP address, and port number of
# the target VPN Server.
# 
# You have to specify as 'remote <HOSTNAME> <PORT>'. You can also
# specify the IP address instead of the hostname.
# 
# Note that the auto-generated below hostname are a "auto-detected
# IP address" of the VPN Server. You have to confirm the correctness
# beforehand.
# 
# When you want to connect to the VPN Server by using TCP protocol,
# the port number of the destination TCP port should be same as one of
# the available TCP listeners on the VPN Server.
# 
# When you use UDP protocol, the port number must same as the configuration
# setting of "OpenVPN Server Compatible Function" on the VPN Server.

remote 121.147.218.29 1223


###############################################################################
# The HTTP/HTTPS proxy setting.
# 
# Only if you have to use the Internet via a proxy, uncomment the below
# two lines and specify the proxy address and the port number.
# In the case of using proxy-authentication, refer the OpenVPN manual.

;http-proxy-retry
;http-proxy [proxy server] [proxy port]


###############################################################################
# The encryption and authentication algorithm.
# 
# Default setting is good. Modify it as you prefer.
# When you specify an unsupported algorithm, the error will occur.
# 
# The supported algorithms are as follows:
#  cipher: [NULL-CIPHER] NULL AES-128-CBC AES-192-CBC AES-256-CBC BF-CBC
#          CAST-CBC CAST5-CBC DES-CBC DES-EDE-CBC DES-EDE3-CBC DESX-CBC
#          RC2-40-CBC RC2-64-CBC RC2-CBC
#  auth:   SHA SHA1 MD5 MD4 RMD160

cipher AES-128-CBC
auth SHA1


###############################################################################
# Other parameters necessary to connect to the VPN Server.
# 
# It is not recommended to modify it unless you have a particular need.

resolv-retry infinite
nobind
persist-key
persist-tun
client
verb 3
#auth-user-pass


###############################################################################
# The certificate file of the destination VPN Server.
# 
# The CA certificate file is embedded in the inline format.
# You can replace this CA contents if necessary.
# Please note that if the server certificate is not a self-signed, you have to
# specify the signer's root certificate (CA) here.

<ca>
-----BEGIN CERTIFICATE-----
MIIF3jCCA8agAwIBAgIQAf1tMPyjylGoG7xkDjUDLTANBgkqhkiG9w0BAQwFADCB
iDELMAkGA1UEBhMCVVMxEzARBgNVBAgTCk5ldyBKZXJzZXkxFDASBgNVBAcTC0pl
cnNleSBDaXR5MR4wHAYDVQQKExVUaGUgVVNFUlRSVVNUIE5ldHdvcmsxLjAsBgNV
BAMTJVVTRVJUcnVzdCBSU0EgQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkwHhcNMTAw
MjAxMDAwMDAwWhcNMzgwMTE4MjM1OTU5WjCBiDELMAkGA1UEBhMCVVMxEzARBgNV
BAgTCk5ldyBKZXJzZXkxFDASBgNVBAcTC0plcnNleSBDaXR5MR4wHAYDVQQKExVU
aGUgVVNFUlRSVVNUIE5ldHdvcmsxLjAsBgNVBAMTJVVTRVJUcnVzdCBSU0EgQ2Vy
dGlmaWNhdGlvbiBBdXRob3JpdHkwggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIK
AoICAQCAEmUXNg7D2wiz0KxXDXbtzSfTTK1Qg2HiqiBNCS1kCdzOiZ/MPans9s/B
3PHTsdZ7NygRK0faOca8Ohm0X6a9fZ2jY0K2dvKpOyuR+OJv0OwWIJAJPuLodMkY
tJHUYmTbf6MG8YgYapAiPLz+E/CHFHv25B+O1ORRxhFnRghRy4YUVD+8M/5+bJz/
Fp0YvVGONaanZshyZ9shZrHUm3gDwFA66Mzw3LyeTP6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ZeatTXaw2ewh0qpKJ4jjv9cJ2vhsE/zB+4ALtRZh8tSQZXq9EfX7mRB
VXyNWQKV3WKdwrnuWih0hKWbt5DHDAff9Yk2dDLWKMGwsAvgnEzDHNb842m1R0aB
L6KCq9NjRHDEjf8tM7qtj3u1cIiuPhnPQCjY/MiQu12ZIvVS5ljFH4gxQ+6IHdfG
jjxDah2nGN59PRbxYvnKkKj9
-----END CERTIFICATE-----

</ca>


###############################################################################
# The client certificate file (dummy).
# 
# In some implementations of OpenVPN Client software
# (for example: OpenVPN Client for iOS),
# a pair of client certificate and private key must be included on the
# configuration file due to the limitation of the client.
# So this sample configuration file has a dummy pair of client certificate
# and private key as follows.

<cert>
-----BEGIN CERTIFICATE-----
MIICxjCCAa4CAQAwDQYJKoZIhvcNAQEFBQAwKTEaMBgGA1UEAxMRVlBOR2F0ZUNs
aWVudENlcnQxCzAJBgNVBAYTAkpQMB4XDTEzMDIxMTAzNDk0OVoXDTM3MDExOTAz
MTQwN1owKTEaMBgGA1UEAxMRVlBOR2F0ZUNsaWVudENlcnQxCzAJBgNVBAYTAkpQ
MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA5h2lgQQYUjwoKYJbzVZA
5VcIGd5otPc/qZRMt0KItCFA0s9RwReNVa9fDRFLRBhcITOlv3FBcW3E8h1Us7RD
4W8GmJe8zapJnLsD39OSMRCzZJnczW4OCH1PZRZWKqDtjlNca9AF8a65jTmlDxCQ
CjntLIWk5OLLVkFt9/tScc1GDtci55ofhaNAYMPiH7V8+1g66pGHXAoWK6AQVH67
XCKJnGB5nlQ+HsMYPV/O49Ld91ZN/2tHkcaLLyNtywxVPRSsRh480jju0fcCsv6h
p/0yXnTB//mWutBGpdUlIbwiITbAmrsbYnjigRvnPqX1RNJUbi9Fp6C2c/HIFJGD
ywIDAQABMA0GCSqGSIb3DQEBBQUAA4IBAQChO5hgcw/4oWfoEFLu9kBa1B//kxH8
hQkChVNn8BRC7Y0URQitPl3DKEed9UR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xgJuwXoiErWd0E42vPanjjVMhnt
KY5l8qGMJ6FhK9LYx2qCrf/E0XtUAZ2wVq3ORTyGnsMWre9tLYs55X+ZN10Tc75z
4hacbU0hqKN1HiDmsMRY3/2NaZHoy7MKnwJJBaG48l9CCTlVwMHocIECgYEA8jby
dGjxTH+6XHWNizb5SRbZxAnyEeJeRwTMh0gGzwGPpH/sZYGzyu0SySXWCnZh3Rgq
5uLlNxtrXrljZlyi2nQdQgsq2YrWUs0+zgU+22uQsZpSAftmhVrtvet6MjVjbByY
DADciEVUdJYIXk+qnFUJyeroLIkTj7WYKZ6RjksCgYBoCFIwRDeg42oK89RFmnOr
LymNAq4+2oMhsWlVb4ejWIWeAk9nc+GXUfrXszRhS01mUnU5r5ygUvRcarV/T3U7
TnMZ+I7Y4DgWRIDd51znhxIBtYV5j/C/t85HjqOkH+8b6RTkbchaX3mau7fpUfds
Fq0nhIq42fhEO8srfYYwgQKBgQCyhi1N/8taRwpk+3/IDEzQwjbfdzUkWWSDk9Xs
H/pkuRHWfTMP3flWqEYgW/LW40peW2HDq5imdV8+AgZxe/XMbaji9Lgwf1RY005n
KxaZQz7yqHupWlLGF68DPHxkZVVSagDnV/sztWX6SFsCqFVnxIXifXGC4cW5Nm9g
va8q4QKBgQCEhLVeUfdwKvkZ94g/GFz731Z2hrdVhgMZaU/u6t0V95+YezPNCQZB
wmE9Mmlbq1emDeROivjCfoGhR3kZXW1pTKlLh6ZMUQUOpptdXva8XxfoqQwa3enA
M7muBbF0XN7VO80iJPv+PmIZdEIAkpwKfi201YB+BafCIuGxIF50Vg==
-----END RSA PRIVATE KEY-----

</key>

One other note, and I will try your suggestion by the way, but I thought it was worth noting that the sudden change in this method working (and it's true it didn't work with *all* vpngate VPN's, just maybe half or so) coincided with either the release or popularization of OpenVPN Connect. In OpenVPN Connect, such a config file modified the way I've been doing for a year plus, does result in it saying "connected", but without any ability to use the VPN as a proxy.

Finally, in ncpa.cpl I've got multiple adapters, of course. The ones that seem to operate when OpenVPN is connecting/connected are:

1) My Wi-Fi adapter (IPv6 is turned off, not that that matters, but I can't quite figure out if NPACP Packet Driver should be enabled or not. It's enabled)

2) NPCAP Loopback Adapter

3) Local Area Connection TAP Adapter v9

It's also possible the sudden change has nothing to do with OpenVPN client updates or anything like that, and has to do with updates to my own network interface card's drivers. Don't know. Again, appreciate the multiple replies and hope something works.

psx13372
OpenVpn Newbie
Posts: 6
Joined: Sun Nov 14, 2021 3:57 pm

Re: Using OpenVPN only for selected programs with 3proxy hasn't been working...

Post by psx13372 » Mon Nov 15, 2021 5:19 pm

One question: what would I put in the --pull-filter ignore "what-ever.." "whatever" part? And when putting these flags/commands or whatever they're called in the config file, the -- isn't needed, right? Thanks again.

TinCanTech
OpenVPN Protagonist
Posts: 11137
Joined: Fri Jun 03, 2016 1:17 pm

Re: Using OpenVPN only for selected programs with 3proxy hasn't been working...

Post by TinCanTech » Mon Nov 15, 2021 5:50 pm

Use --pull-filter ignore "route " (extra space required)

psx13372
OpenVpn Newbie
Posts: 6
Joined: Sun Nov 14, 2021 3:57 pm

Re: Using OpenVPN only for selected programs with 3proxy hasn't been working...

Post by psx13372 » Tue Nov 16, 2021 3:08 pm

Thank you, again. It seems to me the problem must lie in either the OpenVPN Tap-Windows6 or Npcap loopback adapter connections. Hopefully I can get it ironed out. For example, I know having the Microsoft Network Monitor driver enabled on any adapter on this machine makes the connections fail. Then there's the mystery of the 3proxy-openvpn config file within 3proxy itself:

Code: Select all

auth none
internal 127.0.0.1
external 10.246.89.209
socks
(why the 10.246.89.209?) Sadly I'm not a big networking buff - but I'm sure I'll get lucky or figure it out eventually. In the meantime, of course anyone can feel free to try to help and I'll keep an eye on the thread. Take care!

TinCanTech
OpenVPN Protagonist
Posts: 11137
Joined: Fri Jun 03, 2016 1:17 pm

Re: Using OpenVPN only for selected programs with 3proxy hasn't been working...

Post by TinCanTech » Tue Nov 16, 2021 3:18 pm

psx13372 wrote:
Tue Nov 16, 2021 3:08 pm
why the 10.246.89.209?
Most likely, that is the VPN IP on the TAP adapter.

psx13372
OpenVpn Newbie
Posts: 6
Joined: Sun Nov 14, 2021 3:57 pm

Re: Using OpenVPN only for selected programs with 3proxy hasn't been working...

Post by psx13372 » Wed Nov 17, 2021 3:18 pm

TinCanTech wrote:
Tue Nov 16, 2021 3:18 pm
psx13372 wrote:
Tue Nov 16, 2021 3:08 pm
why the 10.246.89.209?
Most likely, that is the VPN IP on the TAP adapter.
This may explain everything. I don't have details at the moment, but when looking at the connection status / details of the TAP adapter I've seen a similar but different IP. Thanks.

Post Reply