May 25, 20224 yr I using unraid 6.10, My server need config a proxy to access Internet. I want to install community.applications, but it not use proxy. I tried to add proxy config to /boot/config/go and /config/plugins/community.applications/proxy.cfg, but it not work. How can I do?
May 25, 20224 yr Author I said I has add a proxy config to /config/plugins/community.applications/proxy.cfg, but it not work.
May 25, 20224 yr You also need to configure add the appropriate lines to /config/go on the flash drive: http_proxy=http://xxx:xxx https_proxy=http://xxx:xxx /usr/local/sbin/emhttp & (change accordingly) Those two lines allow Unraid itself access to the internet via a proxy. The proxy.cfg file is only used by Community Applications, as it does things differently.
May 25, 20224 yr Author 3 minutes ago, Squid said: You also need to configure add the appropriate lines to /config/go on the flash drive: http_proxy=http://xxx:xxx https_proxy=http://xxx:xxx /usr/local/sbin/emhttp & (change accordingly) Those two lines allow Unraid itself access to the internet via a proxy. The proxy.cfg file is only used by Community Applications, as it does things differently. Is there a way can take effect without rebooting?
May 25, 20224 yr Author Quote root@Tower:~# cat /boot/config/go #!/bin/bash # Start the Management Utility http_proxy=http://10.x.x.x:8080 https_proxy=http://10.x.x.x:8080 http_proxy=http://10.x.x.x:8080 HTTPS_PROXY=http://10.x.x.x:8080 /usr/local/sbin/emhttp & #/usr/local/sbin/emhttp & echo "export http_proxy=\"http://10.x.x.x:8080\"" >> /root/.bash_profile echo "export https_proxy=\"http://10.x.x.x:8080\"" >> /root/.bash_profile Quote root@Tower:~# cat /boot/config/plugins/community.applications/proxy.cfg port=8080 tunnel=1 proxy=http://10.x.x.x I edited, and restarted. But it not work ....
May 25, 20224 yr 10 minutes ago, Airwu said: I edited, and restarted. But it not work .... The go file contents should be exactly like this with each option on new lines #!/bin/bash http_proxy=http://10.x.x.x:8080 https_proxy=http://10.x.x.x:8080 echo "export http_proxy=\"http://10.x.x.x:8080\"" >> /root/.bash_profile echo "export https_proxy=\"http://10.x.x.x:8080\"" >> /root/.bash_profile # Start the Management Utility /usr/local/sbin/emhttp & Edited May 25, 20224 yr by jmztaylor
May 25, 20224 yr Author It not work too. I can curl "https://raw.githubusercontent.com/Squidly271/community.applications/master/plugins/community.applications.plg", but gui install failed. Quote plugin: installing: https://raw.githubusercontent.com/Squidly271/community.applications/master/plugins/community.applications.plg plugin: downloading https://raw.githubusercontent.com/Squidly271/community.applications/master/plugins/community.applications.plg plugin: downloading: https://raw.githubusercontent.com/Squidly271/community.applications/master/plugins/community.applications.plg ... failed (SSL verification failure) plugin: https://raw.githubusercontent.com/Squidly271/community.applications/master/plugins/community.applications.plg download failure (SSL verification failure)
July 27, 20232 yr On 5/26/2022 at 11:20 AM, Airwu said: Any body can help me? Follow my instructions below: if you want to miniplate just the user account make follow file below in ~/ cd ~/ vi .wgetrc for all systems users make a file here: cd /etc/ vi wgetrc in the file you need to put the follow: use_proxy = on http_proxy = http://x.x.x.x:xxxx/ https_proxy = http://x.x.x.x:xxxx/ ftp_proxy = http://x.x.x.x:xxxx/ wait = 10 make sure to also have the proxy set in /boot/config/on #!/bin/bash http_proxy=http://x.x.x.x:xxxx https_proxy=http://x.x.x.x:xxxx echo "export http_proxy=\"http://x.x.x.x:xxxx\"" >> /root/.bash_profile echo "export https_proxy=\"http://x.x.x.x:xxxx\"" >> /root/.bash_profile /usr/local/sbin/emhttp & Hope this helps!
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.