We use cookies on our website to ensure we provide you with the best experience on our website. By using our website, you agree to the use of cookies for analytics and personalized content.This website uses cookies. More Information
It seems like your browser didn't download the required fonts. Please revise your security settings and try again.
Barracuda NextGen Firewall X

How can I make the VPN Client installed on CentOS 7 establish a connection automatically on boot?

  • Type: Knowledgebase
  • Date changed: 5 months ago
Solution #00007043


Barracuda VPN Client for Linux installed on CentOS 7 (may be applicable to other flavors)


1. Install and configure the Linux VPN Client in accordance with the TechLibrary.



Note: In CentOS, the install directory will be /usr/local/bin, not /usr/sbin as stated in the TechLib. Run 'which barracudavpn' on the CLI to confirm.



2. Edit the /etc/rc.local file to run the VPN client at boot.
a. If using x.509 certificate authentication, add the line:
/usr/local/bin/barracudavpn -sk <cert password> &

b. If using MSAD authentication, add the line:
/usr/local/bin/barracudavpn -s --login <username> --serverpwd <password> &

c. If you would like to log output for debugging, include the "v" flag and specify the log file, as in the example below (for x.509 authentication):
/usr/local/bin/barracudavpn -svk <cert password> > tmp/barracudavpn.log 2>&1

d. For other options and configuration examples, run 'barracudavpn --help' on the CLI.

Link To This Page: