r/ProtonVPN • u/protonvpn ProtonVPN Team • Mar 20 '18
The ProtonVPN Linux command-line tool is now available!
https://protonvpn.com/blog/linux-vpn-command-line-tool/3
u/DukeofCaxias Mar 20 '18
Does it manage to fix the ipv6 leaks?
2
u/Rafficer Windows | Linux | Android Mar 20 '18
Yup. Line 185
4
u/DukeofCaxias Mar 20 '18
Yeah, it successfully disables ipv6, which is great. Sadly, it seems to have leaked my DNS during some of the tests I ran.
7
u/protonvpn ProtonVPN Team Mar 21 '18
Thank you for reporting this. Which distro are you using?
1
u/DukeofCaxias Mar 21 '18
3
u/protonvpn ProtonVPN Team Mar 22 '18
What do you see in resolv.conf file while you are connected to VPN?
2
u/DukeofCaxias Mar 22 '18
The resolv.conf file is getting properly replaced. It keeps my local machine and adds the one from you guys.
nameserver 10.8.8.1 nameserver 127.0.1.1Once it happened, I checked if the resolv.conf file was being edited, since I've seen some reports claiming that once they got a new lease from the dhcp the resolv.conf was being overwritten, but it wasn't my case.
I got it to reproduce only twice today. I also got this screen, which might help a bit more since it shows which test got the leak. I tried to get it to happen reliably so I could catch some pattern, but I wasn't able to. Maybe there is some sort of cache being mishandled somewhere.. I'll try to keep an eye out whenever I catch it..
1
Apr 01 '18
A real fix would be to just support IPv6 over VPN which OpenVPN and IPSEC IKEv2 supports today, but nope. Can't have that. I'm not ever gonna use commercial VPN providers anyways.
1
u/awxdvrgyn Apr 11 '18
Commercial VPN unfortunately is the only way to have affordable VPN exits in certain countries - for examples australia where server costs are high and the nearest cheap server spaces are in Singapore, adding far too much latency
7
3
3
u/theephie Mar 21 '18
Because we are strong supporters of open source software (and we intend to eventually open source all ProtonVPN clients), our Linux VPN command-line tool is open source and can be found at the following Github repository: https://github.com/ProtonVPN/protonvpn-cli
Went looking for this and found it. Great!
2
u/xilopaint Mar 21 '18 edited Mar 21 '18
Why do you state in the repo that the CLI is macOS compatible when it's clearly not? I had to do several modifications in the script in order to install it without errors and it still doesn't work even it's connected.
1
u/Kendos-Kenlen macOS | iOS Mar 22 '18
I was thinking to try it, what are the issues you had?
3
u/xilopaint Mar 22 '18
I've contacted the developer and he addressed some of them in the last commit. I made also a PR which should be merged soon fixing one more issue. It should be enough to install the CLI on Mac, but there's also an issue with DNS preventing the VPN to work.
Could you clone my fork and tell me how it work for you?
2
u/Kendos-Kenlen macOS | iOS Mar 24 '18
I am sorry, I was quite busy the past two days. Just to confirm, which brew package should I install? I constantly have the message saying that openvpn is not installed.
2
u/xilopaint Mar 24 '18 edited Apr 13 '18
You don't need to test the fork anymore. The CLI is already macOS compatible. The requirements are:
openvpn
python
dialog
wget
1
u/bloodguard Mar 20 '18
Neat. I may steal parts of it to stick in the vpnshift script so I can keep using network namespaces. Needed because I also need to run a work openvpn link in another namespace.
1
1
1
1
u/TotesMessenger Mar 31 '18
1
1
u/Dayfiri Apr 01 '18
I used it in my terminal with:
sudo openvpn <countryConfig>
until now. Without DNS leaks or anything.
1
Aug 24 '18
I have following issue with protonvpn-cli script:
After disconnecting from protonserver my machine is not switching back to my "normal"ip. Instead I have to reboot my machine, to connect back to the internet.
ubuntu 18.04.1, firefox (latest build)
1
u/emersion_fr Mar 31 '18
This tool's code is ugly. Embedded Python in a big shell script. Disgusting.
2
Apr 01 '18
[removed] — view removed comment
1
u/emersion_fr Apr 01 '18
I already wrote a bunch of open-source ProtonMail tools, but I think ProtonVPN shouldn't need a dedicated tool. Just use or build a tool for any OpenVPN server.
1
u/xilopaint Apr 02 '18
Just use or build a tool for any OpenVPN server.
I don't get what you mean here.
0
Mar 20 '18
[deleted]
1
u/wasabichicken Mar 31 '18
The rule of thumb is, if it runs of Linux (which this does), then it runs on LEDE.
1
u/aaron552 Mar 31 '18
I thought LEDE merged with OpenWRT?
1
u/thecraiggers Mar 31 '18
They did, but as far as I know the first release of the new merged codebase hasn't occurred. Saying you run on lede prevents confusion.
0
Mar 20 '18
[deleted]
1
u/protonvpn ProtonVPN Team Mar 21 '18
At the moment - yes, but we are looking forward to keep improving it as much as possible.
1
u/mi3ns Mar 24 '18 edited Mar 24 '18
could you please distinguish the plus servers in it so we could recognize and differentiate them from the basic servers as you done on the windows,
androidclients? insteasd of None under features beside ExitIP let be & change it to Plus if you may .. /u/protonvpn also why don't you group them by countery instead of arranging them in servers number ? germany for example four servers up the list 9,10,11 & 12 the last four is way down 193,194,195 & 196 in the servers ordering numbers0
Mar 21 '18
[deleted]
1
u/protonvpn ProtonVPN Team Mar 22 '18
You have to disconnect via Terminal (protonvpn-cli -disconnect), otherwise you will stay connected.
0
Mar 20 '18
[deleted]
2
Mar 20 '18
As someone who uses the protonvpn config files on Linux on a daily basis let me assure you that their is plenty of assistance on unofficial forums. This has been out long enough that their are guides to solve nearly any problem and would encourage you to give it a try.
9
u/BlueZarex Mar 20 '18
I would like to see more router support. I like to run my whole house through VPN rather than managing a dozen clients.