Home > IT Services > IT FAQs > CampusAnywhere (VPN) on Linux - How do I connect?
More in this section VPN

CampusAnywhere (VPN) on Linux - How do I connect?

Question:
CampusAnywhere (VPN) on Linux - How do I connect?
Answer:

 

Prerequisites

  • You must be connected to the internet.
  • Root or Admin permissions will be needed to install the client

 Quick install steps

1. Download the Linux BIG-IP Edge command line client.  It's best to make a new folder and download to that. 

2. Open a Terminal session and cd to the download location.

3. Run this command to expand the file: 

tar zxf linuxsslvpn.gz

If there are any problems opening the file, try renaming it to linuxsslvpn.tar.gz 

4. Install the shell file and type Yes to installing the components: 

sudo ./Install.sh

When the installation completes, you see the following text.

--> f5fpc is installed in /usr/local/bin

--> Please check f5fpc --help command to get started

--> Uninstaller located in /usr/local/lib/F5Networks/uninstall_F5.sh

5. To make a VPN connection run the following command: 

f5fpc --start --host webvpn.rhul.ac.uk -x

OR

f5fpc -s -t webvpn.rhul.ac.uk -x

NOTE: At the time of writing it will only work with the -x option.

6. To stop the f5 VPN connection run.

f5fpc --stop 

Linux BIG-IP Edge command line client commands and arguments 

Command

Arguments

f5fpc --start [arguments]

f5fpc -s [arguments]

Starts a VPN connection. Required the --hostor -t argument at a minimum.

--nonblock

-b

Returns the CLI immediately after the command.

 

--host [https://]hostname[:port]

-t [https://]hostname[:port]

The hostname to which the client starts the VPNconnection. This is required.

 

--user username

-u username

The optional username for the connection.

 

--password password

-p username

The optional password for the connection.

 

--userhex hex-encoded-username

-U hex-encoded-username

The optional hex-encoded username for the connection.

 

--passwordhex hex-encoded-password

-P hex-encoded-password

The optional hex-encoded password for the connection.

f5fpc --stop

f5fpc -o

Stops the VPN connection.

 

f5fpc --info

f5fpc -i

Displays connection status.

 

f5fpc --help

f5fpc -h

Displays help for the command line client.

 


Info command status and error codes

Table A.5 Info command error codes

Error

Hexvalue

Shellvalue

Description

CLI_ERROR_SUCCESS

0x0

0

The CLI operations was successful.

CLI_ERROR_USERS_DISCONNECT

0x150

80

The user was disconnected.

CLI_ERROR_LOGON_FAILURE

0x151

81

Logon failed due to incorrect auth info orlogon errors.

CLI_ERROR_ATTENTION_REQUIRED

0x154

84

The users attention is required.

CLI_ERROR_GENERIC_FAILURE

0x155

85

An error occurred in the system API.

CLI_ERROR_UNKNOWN_PARAMETER

0x156

86

In incorrect or unknown parameter was passed to the CLI.

CLI_ERROR_WRONG_VALUE

0x157

87

This is an undefined error.

CLI_ERROR_UNKNOWN_SESSION_ID

0x158

88

An uknown session ID was encountered. The user should reconnect to the server

CLI_ERROR_NO_PROFILE

0x15B

91

No such profile exists.

CLI_ERROR_MSGQ_OPEN_FAILURE

0x15D

93

The system failed to open the message queue.

CLI_ERROR_OPERATION_IN_PROGRESS

0x15F

95

An operation is in progress, please retry.

kss_Initialized

1

1

The session is initialized.

kss_LogonInProgress

2

2

The user logon is in progress.

kss_Idle

3

3

The session is idle.

kss_Established

5

5

The session is established.

kss_AttentionReq

6

6

The session requires the users attention.

kss_LogonDenied

7

7

Logon was denied.

kss_LoggetOut

8

8

The user is logged out of the server.

 


 
 
 

Comment on this page

Did you find the information you were looking for? Is there a broken link or content that needs updating? Let us know so we can improve the page.

Note: If you need further information or have a question that cannot be satisfied by this page, please call our switchboard on +44 (0)1784 434455.

This window will close when you submit your comment.

Add Your Feedback
Close