Questions tagged [openconnect]

OpenConnect is a client for Cisco's AnyConnect SSL VPN.

Filter by
Sorted by
Tagged with
0
votes
0answers
12 views

Using 2FA with openconnect

Currently i'm using the following command: echo 'mypassword' | sudo openconnect -b --reconnect-timeout=15 --interface=tun0 --passwd-on-stdin --user=MYNAME --cafile=example/my.pem --certificate=...
0
votes
0answers
55 views

Allow incoming connections from remote host connected via vpn

I have two nodes "VPS" and "Server". Server is only accessible via VPN, but I do not manage the vpn server of this organization. Therefore, in VPS, I use openconnect (vpn client) to connect to the ...
0
votes
0answers
42 views

Multi hop vpn on linux, connect to vpn servers to eachother

I have two servers A, and B,, i have ocserv on A and B and i want as a client to connect to A via openconnect and then on A i want to redirect that traffic to B, so B is my endpoint. Like this. ...
1
vote
0answers
25 views

Tunnel all traffic through VPN except a specific network

I am using openconnect on a remote CentOS 7.5 to connect to a VPN on another network. When I ssh to that machine and connect to VPN, my ssh connection breaks. Both my CentOS and desktop machines are ...
0
votes
0answers
182 views

How to use OpenConnect without blocking port 443?

I've migrated a Windows 10 machine to Ubuntu. On Windows 10 I connected to a Cisco VPN through the Cisco AnyConnect client. It worked fine and allowed me to use port 443 while connected to the VPN (...
0
votes
0answers
292 views

Configure Openconnect to exclude certain subnets from the VPN

I have a remote server, and I need to enable VPN on it for interactions with the external world. But I don't want to lose my SSH connection, so I need some way of excluding subnets of my local PCs ...
2
votes
0answers
1k views

SSL_ERROR_SYSCALL in docker container when using openconnect vpn

I'm developing a telegram bot, but the API is banned here (Iran) so i have to use VPN or cant make a single call to the BOT API. for development i'm using docker,docker-compose in Ubuntu-18 and my VPN ...
1
vote
1answer
386 views

No network connection after killing openconnect process

I use openconnect to connect to my VPN server, one strange thing I've noticed is that if I use kill or pkill command to kill a background running openconnect process then the whole Linux network will ...
0
votes
2answers
1k views

How can I connect to a 2FA VPN on Linux?

I need to connect to the office VPN from a linux machine. I'm able to connect to it only via Citrix NetScaler Gateway on Windows. The connection needs the secondary password (in my case is an OTP from ...
1
vote
0answers
398 views

How to debug tun0 issues with OpenConnect Juniper

I'm using OpenConnect in Debian testing to connect to a corporate Juniper VPN, this way: sudo openconnect --juniper -v <my_corporate_VPN_url> I'm doing this from three physical instances of ...
9
votes
2answers
5k views

Openconnect and Pulse Stopped Working

I connect to a pulse VPN via sudo openconnect --juniper {{myserver}} and it has worked for months. This morning when I try to get in, after accepting the cert and doing username/password it just ...
5
votes
2answers
10k views

How do I supply a password to NetworkManager-openconnect automatically?

I am running a RedHat Enterprise Linux 7.3 server with NetworkManager 1.4 that needs periodic access over VPN to a client's network using openconnect 7.06-1.el7. I can use nmcli to connect with the --...
2
votes
0answers
298 views

establish openconnect without lose ssh connection

In my linux VPS, I want access to special web service that check my VPS IP, so i must use VPN. but when establishing my VPN using openconnect , I'm lost ssh and control over my VPS ? any workaround to ...
3
votes
0answers
2k views

Does openconnect have native support for Pulse Secure?

Since they rolled out Pulse Secure in place of Network Connect, I have been attempting to connect to my company's vpn using openconnect. I am seemingly able to run openconnect without errors, do the ...
19
votes
2answers
20k views

openconnect cannot connect to Anyconnect VPN group using -g

I am using openconnect to connect to a VPN. When starting the client as sudo openconnect -v -u anaphory vpn-gw1.somewhere.net, I am able to connect after entering the GROUP and Password. # ...
4
votes
3answers
8k views

LAN access with Cisco AnyConnect Secure Mobility Client v. 3.0.4235

Whenever I connect to a VPN server using the Cisco AnyConnect Secure Mobility Client v. 3.0.4235 (probably also with other versions) I lose access to my LAN. I hope to remedy this by manually adding ...
1
vote
0answers
416 views

Ubuntu & OpenConnect : any way to provide additional arguments?

I'm using OpenConnect to connect to my workplace via VPN. This works fine, but I'd like to use Ubuntu's network manager to establish connections. I guess it's a matter of having all connections ...
0
votes
1answer
270 views

openconnect on startup at debian wheezy through ssh [closed]

I am trying to connect to Cisco vpn using open connect. I can do it with the terminal where it asks for my user and pass. However, is there any method for automating this on login.
2
votes
1answer
4k views

openconnect VPN works in KDE NetworkManager widget but not on command line

I need to connect to a Cisco VPN on Linux and at first I did this using the KDE NetworkManager plasma widget thingy. That worked fine and I'm able to connect to the VPN if I choose it from the Network ...
7
votes
5answers
20k views

Supplying password to openconnect started via start-stop-daemon

I am attempting to start openconnect via a Debian init script that makes use of start-stop-daemon: DAEMON=/usr/sbin/openconnect DAEMON_ARGS="<endpoint> --script /etc/vpnc/vpnc-script --user <...
0
votes
0answers
61 views

OpenConnect causing problems with httpd service

My httpd service was working properly, however whenever using OpenConnect through the box I can no longer connect to the box's webserver, it's giving me a 522 timeout error. Maybe I'm going about ...
1
vote
1answer
372 views

Writing an upstart file which allows the user to input username and password

I'm trying to write an upstart file for OpenConnect. The task is pretty simple, but I'm stuck because I don't want to provide the username and password in a config file, but prompt the user to provide ...