Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

I need config a proxy

Featured Replies

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?

  • Author

I said I has add a proxy config to /config/plugins/community.applications/proxy.cfg,  but it not work.

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.

  • 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?

You should be able to enter the two lines at a command prompt and it'll work.  

  • 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 ....

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 by jmztaylor

  • Author

Any body can help me?

  • 1 year later...
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.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.