Quantcast
Viewing latest article 26
Browse Latest Browse All 59

VPN parameter useragent and NetworkManager

After some changes on server or in local packages now during trial to connect vpn server I receive 404 error response. Preiously I was using configuration for NetworkManager under Gnome with success for 2 years. I already found a solution when debug connection with command line openconnect client.

It requires adding parameter --useragent=AnyConnect and connection is working fine

Now it's time to update NetworkManager. I didnt't found any field in gui to enter this parameter or add custom parameters to pass to openconnect.

I've found that config reflecting graphic form is located in:/etc/NetworkManager/system-connections/VPN 1.nmconnection

I'v added 'useragent=AnyConnect' line to [vpn] and even after restart of system (to reload configs) vpn connection window reports 404 still

How I should pass this parameter?

Here is [vpn] section from my config:

[vpn]authtype=certautoconnect-flags=0cacert=/etc/pki/tls/certs/Company_Root_CA.crtcertsigs-flags=0cookie-flags=2enable_csd_trojan=nogateway=vpn.net.company.com/EE-Linuxgateway-flags=2gwcert-flags=2lasthost-flags=0pem_passphrase_fsid=noprevent_invalid_cert=noprotocol=anyconnectresolve-flags=2stoken_source=manualuseragent=AnyConnectusercert=/home/user/keys/user.crtuserkey=/home/user/keys/user.keyxmlconfig-flags=0service-type=org.freedesktop.NetworkManager.openconnect

Viewing latest article 26
Browse Latest Browse All 59

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>