On Windows, you can use the Cisco AnyConnect VPN client to connect to a Cisco VPN.
The alternative on Linux to connect to a Cisco VPN is to install the package "openconnect".
You can do this by opening a console window (Ctrl-Alt-T) and run this command: (Ubuntu)
sudo apt-get install openconnect
To set up the VPN to server MyServer on port 12000, run this command:
sudo openconnect MyServer:12000
The openconnect executable stays running.
Before you can use the remote network, you probably need to add an IP route. When the remote network is 192.168.2.0 with network mask 255.255.255.0, you can execute this command (in a new terminal window):
sudo route add -net 192.168.2.0 netmask 255.255.255.0 tun0
To disconnect the VPN connection, press Ctrl-C to terminate openconnect (or kill this process).
Nenhum comentário:
Postar um comentário