Questions tagged [openconnect]

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

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

how to change eth0@if to normal eth0?

So I bought a VPS from vpsdime and I wanna create a openconnect server on it but I cannot IP masquerading because of "eth0@if" this? How can I change this to normal eth0? sorry for my ...
user avatar
0 votes
1 answer
197 views

Use openconnect and satsify annyconnect scans

My organisation provides vpn access using cisco anyconnect. I use a linux system and I can connect to vpn using openconnect. I have to use openconnect because anyconnect on linux is not compatible ...
user avatar
  • 4,530
0 votes
1 answer
66 views

Add to route table destnation using this syntax *.mycompany.net

The reason that I am asking this question is that i a using VPN-slice (VPNC) with openconnect While running this command ip route add *.mycompany.net via 0.0.0.0 dev tun0 Error: any valid prefix is ...
user avatar
1 vote
0 answers
295 views

Best way to connect to L2TP VPN from container running in GCP

I've built an ubuntu container locally that uses OpenConnect to establish a connection to a customer's AnyConnect VPN server. They also have an L2TP connection available as well. After OpenConnect ...
user avatar
0 votes
0 answers
240 views

Openconnect Systemd Unit Hardening: How to restrict access to devices and users

I am hardening my systemd service file for openconnect(8). In my setup, I am using vpn-slice to setup routes (I pass arguments such that it doesn't write to any files) and use various files to define ...
user avatar
  • 163
0 votes
1 answer
659 views

IPv6 support makes openconnect server vpn connection too slow

I have set up an OpenConnect server (ocserv) on CentOS 8 that is quite fast. However, when I enable IPv6 on it by uncommenting the following line, it becomes painfully slow and upload becomes almost ...
user avatar
1 vote
0 answers
49 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 ...
user avatar
  • 151
2 votes
0 answers
3k 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 ...
user avatar
1 vote
1 answer
842 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 ...
user avatar
  • 21
0 votes
2 answers
2k 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 ...
user avatar
1 vote
0 answers
518 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 ...
user avatar
9 votes
2 answers
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 ...
user avatar
  • 231
6 votes
2 answers
17k 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 --...
user avatar
  • 161
2 votes
1 answer
400 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 ...
user avatar
4 votes
0 answers
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 ...
user avatar
  • 203
25 votes
2 answers
28k 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. # ...
user avatar
  • 351
5 votes
3 answers
10k 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 ...
user avatar
  • 326
3 votes
0 answers
463 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 ...
user avatar
  • 1,436
1 vote
1 answer
303 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.
user avatar
  • 11
2 votes
1 answer
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 ...
user avatar
  • 273
8 votes
5 answers
25k 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 <...
user avatar
0 votes
0 answers
63 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 ...
user avatar
1 vote
1 answer
414 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 ...
user avatar