Meshlets can use proxy servers to avoid directly sending a request to a target server. Instead of a direct request, meshlets will send a request to the proxy server, and the proxy server will send the request to the target.


To connect to the proxy server, you will need the following values: 

DirectiveDescription
hostAddress that is hosting the proxy server
port

Port number that represents the communication endpoint

usernameUsername credentials to connect to the server 
passwordPassword credentials to connect to the server


Example application-dev.yml configuration

The example below shows part of the configuration that must be set to connect a proxy server to a meshlet :

proxy:
	host: proxyExample.perspectium.net 
	port: 8080
	username: userExample
	password: userPassword 

SOCKS (TCP) Proxy

To connect a SOCKS proxy server to a meshlet, use the following: 

spring:
	rabbitmq:
		host: proxyExample.perspectium.net 
		port: 5672
		username: username
		password: password
		proxy:
			host: example_socks_host
			port: 1080