Cheatography
                https://cheatography.com
            
        
        
    
                   
                            
    
                    Commands for linux proton vpn cli
                    
                 
                    
        
        
            
    
        
                            
        
                
        
            
                                
            
                
                                                
                                
    
    
            Installation
        
                        
                                                                                    
                                                                                            sudo apt install -y openvpn dialog python3-pip python3-setuptools  | 
                                                                                 
                                                                                            
                                                                                            sudo pip3 install protonvpn-cli  | 
                                                                                 
                                                                         
                             
    
    
            Initialisation
        
                        
                                                                                    
                                                                                            Initialize ProtonVPN profile.  | 
                                                                                                                        sudo protonvpn init  | 
                                                                                 
                                                                         
                            OpenVPN credentials are expected, not those from proton  
Can find it in proton user account dashboard  
                             
    
    
            Administrate
        
                        
                                                                                    
                                                                                            Update  | 
                                                                                                                        sudo pip3 install protonvpn-cli --upgrade  | 
                                                                                 
                                                                                            
                                                                                            Uninstall  | 
                                                                                                                        sudo pip3 uninstall protonvpn-cli  | 
                                                                                 
                                                                         
                             
                             | 
                                                                              | 
                                                        
                                
    
    
            Connect
        
                        
                                                                                    
                                                                                            Connect to a random server.  | 
                                                                                                                        protonvpn c -r  | 
                                                                                 
                                                                                            
                                                                                            Connect to the fastest server.  | 
                                                                                                                        protonvpn c -f  | 
                                                                                 
                                                                                            
                                                                                            Connect to the fastest P2P server.  | 
                                                                                                                        protonvpn c --p2p  | 
                                                                                 
                                                                                            
                                                                                            Connect to a specified server.  | 
                                                                                                                        protonvpn c [servername]  | 
                                                                                 
                                                                                            
                                                                                            Connect to the fastest server in a specified country.  | 
                                                                                                                        protonvpn c --cc [countrycode]  | 
                                                                                 
                                                                                            
                                                                                            Connect to the fastest Secure Core server.  | 
                                                                                                                        protonvpn c --sc  | 
                                                                                 
                                                                                            
                                                                                            Reconnect or connect to the last server used.  | 
                                                                                                                        protonvpn reconnect, r  | 
                                                                                 
                                                                                            
                                                                                            Disconnect the current session.  | 
                                                                                                                        protonvpn disconnect, d  | 
                                                                                 
                                                                         
                             
    
    
            Manage
        
                        
                                                                                    
                                                                                            Print connection status.  | 
                                                                                                                        protonvpn status, s  | 
                                                                                 
                                                                                            
                                                                                            Refresh OpenVPN configuration and server data.  | 
                                                                                                                        protonvpn refresh  | 
                                                                                 
                                                                                            
                                                                                            Print example commands.  | 
                                                                                                                        protonvpn examples  | 
                                                                                 
                                                                                            
                                                                                            Display version.  | 
                                                                                                                        protonvpn --version  | 
                                                                                 
                                                                                            
                                                                                            Show help message.  | 
                                                                                                                        protonvpn --help  | 
                                                                                 
                                                                         
                             
                             | 
                                                            
            
                            
            
            
        
        
        
        
        
            
    
        
          
        
         
Created By
Metadata
Comments
No comments yet. Add yours below!
Add a Comment
Related Cheat Sheets