Documentations

Setting up a proxy on a ServiceNav Box

On the page

Do you need help?

Context

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

Access to the outside world requires a proxy.

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

Procedure

Before run 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 entering 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.

Change the following lines:

;http-proxy-retry # retry on connection failures

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

In order to keep the configuration when rebooting the box, you must keep the environment variables in the /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 the /etc/hostsand add them if necessary in NO_PROXY and no_proxy.  

Some commands like apt-get, ability will not use the environment variables. So you will have to complete the 95proxies metrics 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

You may also be interested in

servicenav hyperV1

Commissioning of a ServiceNav Box

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

IMG 0006

Configure Exim emailing with Microsoft Office365

en_GB

Welcome to ServiceNav!

Do you need some help? More information about our products? Write to us!
You have taken note of our privacy policy.
We use cookies to ensure the best experience on our site. 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.