Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
1 vote
0 answers
27 views

I have 2 problem when I write the command: sudo apt update [duplicate]

E: Malformed entry 4 in list file /etc/apt/sources.list (absolute Suite Component)\ E: The list of sources could not be read.
Forouh Sayedi's user avatar
0 votes
1 answer
473 views

Terminal issues with SSH via VPN

I try to access a Linux Ubuntu server via SSH from a Linux Ubuntu client machine. When the client and the server are in the same network everything works fine, when I try to access the server remotely ...
Mario Bezzi's user avatar
4 votes
4 answers
10k views

Why does NordVPN Linux CLI on Ubuntu 22.04 fail to connect to any server?

I have just upgraded my headless sever from Ubuntu desktop 21.10 to 22.04 LTS. Prior to the 22.04 upgrade, NordVPN command line app worked flawlessly. Now with 22.04, when I connect I just get this: ...
Quantanglement's user avatar
0 votes
0 answers
69 views

Cronjob completed but command not running

I'm trying to execute a simple script to start up my vpn after boot with a Cronjob, seen here in the nord.sh file: #!/bin/bash nordvpn connect Italy and when I check the status of the cronjobs it ...
Matt's user avatar
  • 1
1 vote
1 answer
2k views

Error starting ProtonVPN from CLI using SSH

If I'm physically at my desktop, I can start protonvpn with no issue using the command protonvpn-cli c. However, when I'm connected remotely via an SSH connection and run the same command, I get this ...
CPH's user avatar
  • 408
1 vote
1 answer
939 views

Alternative to transfer files via command line (not using SSH)

Because of my job I need to connect to a remote server with SSH on which I am connected by vpn and transfer large files in both directions. That has always been easy until I traveled to another ...
Manveru's user avatar
  • 111
1 vote
1 answer
150 views

Bash Script commands inside a program

Please excuse me if this is too simple for you, but I really did my search before posting this question. I am trying to create my first bash script for auto connecting on my softether vpn. To manually ...
lemnlover's user avatar
0 votes
2 answers
1k views

Running .sh file with one button click

I am a linux beginner and I am trying to automate a small task on my computer. In order to connect to my vpn, I have to open my terminal and type nordvpn connect I have created a simple .sh script ...
Dylan Bozarth's user avatar
2 votes
0 answers
1k views

Connect to openconnect server from the command line?

I tried finding a similar question and did but there's a caveat though, older questions use --no-cert-check option which is removed due to security reasons and I don't know the exact fingerprint for ...
Masked Man's user avatar
1 vote
4 answers
7k views

What is command line to install Cyberghost in Ubuntu?

The version of my Ubuntu is 20.04 LTS. I intend to install a free VPN, and it seems that CyberGhost is one of the free and good VPNs. May you please guide me about the command line in terminal?
user40491's user avatar
  • 165
0 votes
1 answer
308 views

No Internet Access when using VPN

I am having problems with my internet access. When using regular internet, it works just fine but when I connect using VPN, I couldn't access any website. I have tried to follow the basic ...
hana's user avatar
  • 1
1 vote
2 answers
14k views

How to install mullvad VPN using terminal on ubuntu 20.04

Please help with the right commands again to try and install the latest version of mullvad VPN for ubuntu 20.04
Planatory Eclypze's user avatar
3 votes
1 answer
6k views

Can't connect to ProtonVPN using CLI?

I can't connect to ProtonVPN using its official client from pypi on my Ubuntu 20.04 but on the same WiFi and using the same DNS (8.8.8.8) and its android app I can seamlessly connect. I don't have a ...
Masked Man's user avatar
4 votes
1 answer
5k views

EOF error when running dhclient command

When I try to use dhclient vpn_vpn it shows an error as below: root@sunimali-HP-ProBook-450-G6:/home/sunimali# dhclient vpn_vpn cmp: EOF on /tmp/tmp.EnmkqhupY9 which is empty root@sunimali-HP-ProBook-...
Suni_Rath's user avatar
0 votes
1 answer
283 views

how to insert variables in command line?

I have the need to be able to enter or insert data in 3 input in the command console but in an automatic way. The first input is the one that is manifested when executing the sudo command where it ...
Abraham.P's user avatar
  • 143
0 votes
2 answers
10k views

How to connect to a VPN site using console only?

What I've found so far, there are tutorials to use Network Manager to connect to VPN. Is it possible to create a VPN connection only from the console (Ubuntu 18.04.3 LTS, either Ubuntu 16.x)? ...
J. Doe's user avatar
  • 585
1 vote
0 answers
723 views

SCTP_DARN for remote host

In the same Ubuntu pc, I can run this command easily To listen, I run it in one terminal: sctp_darn -H :: -P 1234 -l To send, I run in another terminal window: sctp_darn -H :: -P 2345 -h 127.0....
Nazia Jahan Trisha's user avatar
4 votes
1 answer
14k views

Commandline L2TP connection?

I'm looking to connect to a L2TP VPN server, from ubuntu commandline. Ubuntu 18.04. I've already done it via a desktop ubuntu. By which I mean: added l2tp network manager, configured it and connected ...
KdgDev's user avatar
  • 265
0 votes
0 answers
4k views

How to configure ProtonVPN

I just installed OpenVPN and ProtonVPN but missed something, I followed the command line installation on ProtonVPN site and it says I am connected when attempting to initalize but does not change my ...
FuzzyWuzzaG's user avatar
8 votes
2 answers
38k views

L2TP Connection Client on ubuntu 18.04 Server

I have google arround for the answer of my thread. Most of the result suggesting to use Network Manager, which i believe is not the solution for me as i'm running Ubuntu Server without UI. Is there ...
user776550's user avatar
0 votes
0 answers
259 views

Multiple alias commands for NordVpn - disconnect from vpn && restart internet

I am using NordVPN and for it a dedicated terminal program. I have made two .desktop alias to connect to vpn and to disconect. Fist one is to connect to US server: [Desktop Entry] Name=NordVPN c us ...
user avatar
5 votes
1 answer
763 views

Openvpn connection problem using network manager

I have problem with connecting to vpn my company gave me those files along with a password I tried to import them this way 1- I go to Network Setting 2- then I press the plus button to add new ...
Neji Soltani's user avatar
14 votes
3 answers
43k views

How can I connect to a forticlient ssl-vpn via Terminal?

I need to connect my machine to a forticlient getaway but I don't know how to do it via terminal I don't mean the command to open the GUI, but the commands tho connect and disconnect assuming that I ...
Luis Batista's user avatar
2 votes
1 answer
9k views

Making a SSH VPN [duplicate]

So by using ssh you will connect to a server by typing in ssh User@PrivateIP how would it be possible to turn that code into a piece of code that works like a VPN (so searching for example google from ...
user avatar
8 votes
2 answers
18k views

How to connect to the VPN automatically on System Startup ?

Everytime I use Vpn I need to connect to the VPN manually using different countries. Is there a way to connect to the VPN automatically after the system starts on Ubuntu 18.04? Thanks.
kannzzmm2's user avatar
  • 1,090
-1 votes
1 answer
400 views

pkill vpn terminates all my script

I am working with a Dialog GUI. ./sdvpn.sh is the code for the GUI main menu, shown below. ./killvpn.sh is a script containing only one command, sudo pkill vpn ./region.sh is a Dialog menu allowing ...
user avatar
1 vote
1 answer
8k views

Starting IPSec Command Hangs

I am attempting to establish a VPN connection between two regions in AWS EC2 (two virtual machines) using StrongSwan within Docker. However, I am getting a ton of errors when trying to start the ...
vtbiggi's user avatar
  • 11
0 votes
1 answer
145 views

I cannot download from Ubuntu Software and failed to fix child error

I have currently Ubuntu 16.04. I cannot access the terminal to place commands. The terminal is taken up this error message: [There was an error creating the child process for this terminal] even when ...
Graeme Booth's user avatar
4 votes
1 answer
4k views

Command line connect to L2TP Windows Server VPN

I have been searching for a couple of days not much luck as and everything i come across relies on using the Network Manager UI. Could someone provide me with a noobish tutorial on how I would ...
Martin Barker's user avatar
0 votes
0 answers
59 views

VPN Options Not Here

I am attempting to install a vpn. When I try to install it via network connections there is no option for vpn just pptp. It also can not connect when I enter it in pptp. Thanks
enzobarrett's user avatar
0 votes
1 answer
578 views

Script/Program for Quick install & config openvpn

There is documentation about OpenVPN manual install and configuration. But let be honest, this is too much if you are in a hurry and don't want all the details right now. Indeed, it is common sense ...
user-707's user avatar
3 votes
1 answer
44k views

Ubuntu 16.04 - Couldn't find any package by glob and regex [VPS] [duplicate]

I keep getting this error: I only started using Ubuntu 2 days ago and I am not exactly sure what it means. Can someone please help me? I am trying to turn it into a VPN.
SDKASDASKDASLDKASDLKAS's user avatar
1 vote
0 answers
3k views

establishing SSTP VPN connection using sstp-client via command line

I have installed sstp-client on UBUNTU 16.04 server, and I want to know how to configure sstp-client using command line interface. There are many guides available on net for GUI based control, But ...
Mankomal Singh's user avatar
0 votes
1 answer
78 views

How does service works after terminated ssh?

I got this amazon ec2 server, running a ubuntu 14.04 amd64 server, it is supposed to be a Shadowsocks VPN server, which I deployed a Go based Shadowsocks-server on it. Because the server is a GO ...
tomu's user avatar
  • 11
3 votes
1 answer
2k views

How to connect server to VPN?

I have a Virtual Private Server on DigitalOcean. I would like that my Ubuntu 16.04 server connects to a VPN before it connects to some other server (so that the DigitalOcean IP is not visible). Can I ...
Stanko's user avatar
  • 446
13 votes
5 answers
19k views

Provide password to `nmcli con up` in terminal 14.04

I am trying to connect to my VPN using terminal. My VPN password is a TOTP, so cannot save it to the connection conf file. When I try to connect, a dialog appear to enter password. I want to do it in ...
barunsthakur's user avatar
1 vote
1 answer
3k views

Openvpn - Terminal blocked after starting connection

i have a little Problem with openvpn. I want to establish a VPN connect with open vpn, then get a file from an FTP Server and than close the connection. The VPN and the FTP are working fine. But if ...
swapfile's user avatar
  • 113
3 votes
1 answer
4k views

Command line doesn't recognize VPN and makes requests from real IP?

System Ubuntu 15.10 Wily Desktop Environment: GNOME Shell 3.16.4 VPN: Astrill v2.9.3 Problem I live in China. Without a VPN, I can't access many sites, including Google, Facebook, etc. Thus, I have ...
Eddo Hintoso's user avatar
1 vote
1 answer
553 views

How can I make sure a program is killed when VPN is running?

There is a program that I need to not have running whenever my VPN is running. I don't want to resort to closing it manually every time, because I might forget sometime. I would like to guarantee ...
Hatshepsut's user avatar
9 votes
4 answers
61k views

Check VPN connection status (connect/disconnect) from the command line

How to check that a VPN connection is connected or disconnected using command line?
Saeed Zarinfam's user avatar
3 votes
2 answers
2k views

Connect to a VPN with a password from the commandline

I can trigger the start of connection to my VPN by saying nmcli con up id WORKVPN But I have an RSA SecurID that is part of the authentication, which means I can't store a password. Without a ...
Chas. Owens's user avatar
2 votes
2 answers
2k views

How can I keep vpn running even after exiting terminal?

I have a program that runs on Ubuntu (14.04) whether I am in the terminal or not. This program relies on a vpn connection, for which I am using vpnc (cisco). I have added vpnc to my reboot and start ...
user3079064's user avatar
4 votes
3 answers
3k views

"Failed to setuid to root." How do I Establish a VPN network?

My university decided that the old VPN-network, which worked fine, wasn't good enough anymore and abandoned it. Now I have to establish a completely new VPN-network. My university provided me with a ...
Simon's user avatar
  • 41
0 votes
1 answer
1k views

Change VPN gateway with command line

Is there a way to change the gateway of an existant VPN connection with a command line? Changing the gateway value in the connection file with sed doesn't work for me. Thanks
Michael's user avatar
21 votes
7 answers
81k views

How can I see if I'm logged in via VPN?

I use Juniper Networks (a Java program that establishes a VPN connection). Does a command exist that lets me check if I'm logged in with Juniper?
Martin Thoma's user avatar
  • 19.5k
1 vote
1 answer
4k views

How do I confirm my VPN connection is working and make it start automatically on 12.04 server via commandline?

I'm using vyprvpn as a VPN provider and I would like to make my Ubuntu 12.04 server connect to it via pptp-linux. I only have the option of using the command line to connect so I used this guide: ...
Asitaka's user avatar
  • 41
6 votes
3 answers
64k views

How To Initiate VPN From Terminal [duplicate]

Under "System" > "Preferences" > "Network Connections" I can create PPTP VPNs. This works when I am at a GUI, I can click the network connections icon in the top right, and select a VPN from the list ...
Baldrick's user avatar
  • 645
200 votes
2 answers
302k views

Connect/disconnect from VPN from the command line

I have two VPNs setup on my Ubuntu machine, one using vpnc and one using PPTP. These were both setup using the GNOME network manager interface and work great. However on occasion I need to access this ...
Tim Fountain's user avatar
  • 2,099