Questions tagged [openconnect]
The openconnect tag has no usage guidance.
15
questions
0
votes
0
answers
195
views
Split-tunnel VPN with openconnect-sso
I was happily using the OpenConnect plugin for NetworkManager on Linux (Kubuntu), restricting the VPN use to a particular subnet. I did that in the GUI, by specifying an IPv4 route (x.y.z.w, mask 255....
0
votes
1
answer
83
views
Why does X11 break inside Docker container when the container connects to VPN?
My host computer is Windows 10.
My objective is to make docker containers that connect to VPNs inside the container. I do this so that I don't have to have my entire host computer on the VPN.
I use ...
0
votes
1
answer
588
views
WIndows + Openconnect, cannot browse internet
I need to connect to a third-party Cisco AnyConnect VPN.
In my Windows PC, am using CLI openconnect client from https://gitlab.com/openconnect/openconnect
The VPN works perfectly fine, however it ...
0
votes
0
answers
499
views
OpenConnect Server not connecting to internet using ufw ip forwarding
I want to create an OpenConnect VPN server. I followed this tutorial step by step however, while I'm able to connect to the open connect server using a client, the problem is that I don't have any ...
0
votes
0
answers
1k
views
VPN MFA (Keycloak) with openconnect
I am trying to deploy a VPN with dual authentication. While reading the ocserv documentation, I found the oicd option (https://gitlab.com/openconnect/ocserv/-/blob/master/doc/README-oidc.md). I am now ...
1
vote
1
answer
2k
views
Ocserv config for Cisco anyconnect v4.6+
I've configured an open connect vpn server on my vps (ubuntu 22.04) with following parameters on /etc/ocserv/ocserv.conf:
# User authentication method. Could be set multiple times and in
# that case ...
0
votes
1
answer
611
views
Raspberry PI WiFi AP with VPN
I want to make portable Raspberry PI 4 WiFi AP with VPN, so once I connect to AP all my traffic should go through VPN.
The official Raspberry Pi documentation helped me to setup working WiFi access ...
1
vote
0
answers
1k
views
Can't setup Anyconnect/OpenConnect VPN proxy on Linux (Manjaro) - proxy is not on https
Main issue is that when using openConnect, I can't setup proxy, since it's like
http://setpac.mycorp.com
and openConnect will refuse to connect to it
openconnect vpn.mycorp.com -P setpac.mycorp.com
...
1
vote
0
answers
246
views
When VPN is connected it disconnects other clients connections to the server
I'm on Ubuntu 20.04. I followed the tutorial here to install and connect to a VPN, which worked brilliantly. I'm using PuTTy and WinScp to connect. After connecting using PuTTy, I noticed that all ...
1
vote
0
answers
968
views
Using openconnect to connect to a vpn
On Debian, I am using the following command to connect to a vpn:
sudo openconnect --csd-wrapper=/usr/libexec/openconnect/csd-post.sh --verbose vpn.abc.com
It fails:
POST https://vpn.abc.com/
...
1
vote
0
answers
113
views
Connect to FTP server with tunneling through VPN in Nextcloud
My main goal is to bind an external ftp storage in my Nextcloud. I can't access the ftp storage directly, so I have to use a VPN.
I tried to connect to the VPN, but it failed:
openconnect -u User --...
2
votes
0
answers
449
views
SSH over VPN (openconnect) in one line
I have succeeded the following commands:
sudo openconnect hoge.com
ssh -p <PORT> user@IP
But I cannot execute these commands with one line.
ssh -t -o ProxyCommand='echo "PASS" | sudo ...
0
votes
0
answers
50
views
Browsing ouside VPN
My company asks to connect thru a VPN client (Cisco), but when I do I lose access to a bunch of sites.
In a solution I found here, installing OpenConnect solved the issue, as it uses the same protocol ...
1
vote
1
answer
776
views
TCP handshake failed after forward LAN connection through VPN
We have some secured web services, including websites, that are only accessible when connected to a VPN provided by the service owner, and since the VPN account is only allowed to be connected by one ...
0
votes
1
answer
507
views
Why is Windows preferring IPv4 when using VPN split tunnel with OpenConnect?
I am connecting to a VPN using OpenConnect 8.03 on Windows 10. The profile of the VPN only sets a route for the subnet of the VPN. All other IPv4-traffic is still routed via my normal connection. My ...