Automatic proxy configuration


#1

Is it possible to configure proxy automatically, to avoid editing and adding redsocks.conf to system-proxy folder on boot manually.


#4

Hi @vickyshelke! Yes, you can use the supervisor API for that: https://docs.resin.io/reference/supervisor/supervisor-api/#patch-v1-device-host-config


#5

Hello, thank you for reply.
I was able to set up proxy as per guideline. but i did observed that after running that supervisor api request from command prompt ,device goes offline for some time .
I was thinking to put that in startup script but then ,it will lead device to go offline again and again . how can i solve this ?