enable_proxy
enable_proxy($connection,$proxy); - set proxy for the specified network connection
The function accepts parameters as input:
$connection – connection name (can be found in the properties of network connections)
$proxy – proxy address (for example 192.168.0.1:8080 )
After testing, the function returns the result of its work to the script :
true – successfully set
false – failed to set