Documentation

Setting up a proxy on a ServiceNav Box

On the page

Need some help?

Background

The ServiceNav Box is installed on your network but does not have direct access to the SaaS platform.

Access to the outside world requires a proxy.

It is therefore necessary to go via this proxy in order to retrieve the box configuration and to establish the VPN link with the platform.

Procedure

Before running the script vsb_installation.pl

Set the environment variables for the proxy to be used when retrieving certificates

export http_proxy=http://serveur:port

export https_proxy=http://serveur:port

If the proxy requires authentication, add the following variables by filling in the user/password

export proxy_user=user

export proxy_password=password

Configure the openvpn client to use the proxy.

Edit the file /etc/openvpn/client.conf.

Modify the following lines:

;http-proxy-retry # retry on connection failures

http-proxy [proxy server] [proxy port #]

In order to preserve the configuration following a reboot of the box, you must save the environment variables in the file /etc/environment

http_proxy=http://myproxy.server.com:8080/

https_proxy=http://myproxy.server.com:8080/

ftp_proxy=http://myproxy.server.com:8080/

no_proxy="localhost,127.0.0.1,localaddress,.localdomain.com,.loc"

HTTP_PROXY=http://myproxy.server.com:8080/

HTTPS_PROXY=http://myproxy.server.com:8080/

FTP_PROXY=http://myproxy.server.com:8080/

NO_PROXY="localhost,127.0.0.1,localaddress,.localdomain.com,.loc"

Check the domain names used in /etc/hostsand add them if necessary to NO_PROXY and no_proxy.  

Some commands like apt-get, ability will not use the environment variables. So you will have to enter the proxies in /etc/apt/apt.conf.d/

Acquire::http::proxy "http://myproxy.server.com:8080/";

Acquire::ftp::proxy "ftp://myproxy.server.com:8080/";

Acquire::https::proxy "https://myproxy.server.com:8080/";    

Restart the ServiceNav Box

This may also be of interest to you

Replace a ServiceNav Box Ubuntu 16.04 with a ServiceNav Box 4.17 Ubuntu 20.04

servicenav hyperV1

Deploying a ServiceNav Box

IMG 0006

Configure Exim emailing with Microsoft Office365

en_US

Welcome to ServiceNav!

Need help? More information about our products? Write to us!
You have taken note of our privacy policy.

[COVID - 19 ] - TELEWORKING, TARGET AVAILABILITY 100% !

While the epidemic lasts, ensure the availability and performance of your IT services for teleworking, with ServiceNav!

Following the government's call to mobilize to help businesses overcome the current health and economic context, we help you, free of charge, to ensure the complete monitoring of your teleworking environments: VPN, VDI, Teams, Skype Enterprise, Citrix... Objectives: collection, availability and usage indicators, dashboards to support your communication.
We use cookies to ensure that you have the best possible experience on our site, and if you continue to use this site, we will assume that you are satisfied with it.

Reserve your place

You have taken note of our privacy policy.