Where are the Proxy Settings in FreeNAS?

I'm behind a proxy and I'm trying to install packages in FreeNAS. Where can I find the proxy settings? The export command (along with many other things) isn't installed as part of the standard release. I imagine there is a config file somewhere?

1 Answer

The following commands will do it:

setenv HTTP_PROXY
setenv FTP_PROXY ftp://proxy.domain:port

Add these lines to your .cshrc or .profile in your ~/ directory to keep the changes after reboot.

Also: Apparently if you want to install additional software on FreeNAS you need to use a jail to do so. Make sure you create the correct type of jail (pluginjail?) to make sure the correct packages are there. See:

Also just in case you were wondering how to do any of the following:

To add a DNS server add the following line in resolv.conf in /etc. (You can add more than one).

nameserver xxx.xxx.xxx.xxx

Hostname is set in rc.conf in /etc:

hostname="FreeNASJail"

Default Gateway is set in rc.conf in /etc"

defaultrouter="xxx.xxx.xxx.xxx"

See here for more info on rc.conf:

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like