Questions tagged [openconnect]

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

17 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
3 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 ...
jerome's user avatar
  • 193
3 votes
1 answer
547 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 ...
sbrattla's user avatar
  • 1,600
2 votes
0 answers
5k 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 ...
Arash's user avatar
  • 121
1 vote
0 answers
97 views

Converting vpnc conf to OpenConnect

I have this vpnc config file IPSec gateway my_srv.com IPSec ID aaaaa IPSec secret bbbbbb Xauth username ccccc Xauth password dddddd Enable Single DES How can I convert it to be compatible with "...
Stef's user avatar
  • 592
1 vote
2 answers
2k views

redirect all traffic from server A (Linux) to another server B (Linux) without intercepting ssh to server A

I would like to forward all traffic from a server (Linux) to another server (Linux) without losing ssh access to first server. Authorities (government) have been shutting down the Internet, we have a ...
Shakiba Moshiri's user avatar
1 vote
0 answers
531 views

forward openconnect to internal proxy port by iptables

In my country sometimes government decides to limit access to the international internet. we only have access to sites and IPs inside the country, but data centers have more access to the internet. I ...
HosSeinM's user avatar
  • 111
1 vote
0 answers
501 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 ...
FaultyJuggler's user avatar
1 vote
0 answers
102 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 ...
sorush-r's user avatar
  • 151
1 vote
0 answers
613 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 ...
Antonio López's user avatar
1 vote
1 answer
450 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 ...
Robert Munteanu's user avatar
0 votes
0 answers
89 views

Why port is open when checked as root but closed for a regular user after establishing a VPN connection on Debian 11?

On Debian 11, I establish a VPN connection as root using openconnect. After the connection is established, I have access to a network where the IP address is 1.2.3.4.5 with an open port 1433. Question:...
jasneinfo's user avatar
0 votes
0 answers
158 views

Ocserv static tun device name for each user

Ocserv assigns dynamic interface names based on TUN device name. For example if tun device name is vpns, users connect via vpns0, vpns1 , vpns2 and ... Everytime a user opens a new session, a new ...
Hamed Zargar's user avatar
0 votes
2 answers
1k views

How to view total traffic usage of each user in ocserv

I'm using ocserv as VPN server in my company on ubuntu, and I want to view how much traffic each user is using. Users are set in ocpsswd file. Do ocserv have this feature or any library I can use? As ...
Hamed Zargar's user avatar
0 votes
0 answers
111 views

openconnect client hello dropped by DPI

I've installed openconnect server (ocserv) and works perfectly when I tunnel (SSH) to the server through another server that is inside country. But when I try to connect directly, the "client ...
Fardin Dadashi's user avatar
0 votes
0 answers
627 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 ...
steiny's user avatar
  • 173
0 votes
0 answers
84 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 ...
sunshinekitty's user avatar
0 votes
1 answer
466 views

VPN started with Network Manager doesn't configure routing table correctly

I have a Debian 11 system that has been configured to connect to a remote network via VPN. This has been functioning fine for a long time (since Debian 9). Recently, the remote network made some ...
BrianD's user avatar
  • 1