vpnns command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
vpnns: command not found
or when using sudo you get the following error message
sudo: vpnns: command not found
Solutions to vpnns: command not found
How To Fix vpnns: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu vpnns is provided by ocproxy package.
ocproxy is:
ocproxy is a SOCKS and port-forwarding proxy for use with openconnect. It implements its own userland IP stack, allowing a non-administrator to establish VPN connections without a need for tunnel devices. Instead of adding the host machine to the network at the other end of the VPN, ocproxy listens for local connections and forwards their traffic over the VPN, similar to “ssh -D” and “ssh -L”. Web browsers, remote login utilities and other programs can then access resources on the VPN through the proxy. Applications that are unaware of the proxy cannot accidentally send traffic over the VPN, and multiple ocproxy instances may be connected to different VPNs concurrently.
To fix this problem, we can install more using the command below.
sudo apt-get -y install ocproxy
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install ocproxy.
sudo apt -y install ocproxy
Or if you have aptitude installed you can use the following command.
sudo aptitude install ocproxy
Summary
In this tutorial we learn how to fix vpnns command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.