Smoothwall Firewall project

Wednesday 18 March 2009

Getting Mozilla Fennec to work through a proxy on Linux

I have just downloaded the latest version of Fennec to have a look at the latest Mozilla mobile offering to run on Linux. Now as my machine sits behind a proxy, I had to make the following changes to the preferences file at the command line, as I couldn't find a way to do this through the UI.

Basically all you need to do is add these lines to the following file, and then re-start Fennec

nickh-desktop:~/tmp/fennec/defaults/preferences$


I added these lines to the bottom of this file:

pref("network.proxy.backup.ftp", "192.168.1.2");
pref("network.proxy.backup.ftp_port", 8080);
pref("network.proxy.backup.gopher", "192.168.1.2");
pref("network.proxy.backup.gopher_port", 8080);
pref("network.proxy.backup.socks", "192.168.1.2");
pref("network.proxy.backup.socks_port", 8080);
pref("network.proxy.backup.ssl", "192.168.1.2");
pref("network.proxy.backup.ssl_port", 8080);
pref("network.proxy.ftp", "192.168.1.2");
pref("network.proxy.ftp_port", 8080);
pref("network.proxy.gopher", "192.168.1.2");
pref("network.proxy.gopher_port", 8080);
pref("network.proxy.http", "192.168.1.2");
pref("network.proxy.http_port", 8080);
pref("network.proxy.no_proxies_on", "localhost, 127.0.0.1,192.168.54.56,wiki,192.168.55.130");
pref("network.proxy.share_proxy_settings", true);
pref("network.proxy.socks", "192.168.1.2");
pref("network.proxy.socks_port", 8080);
pref("network.proxy.ssl", "192.168.1.2");
pref("network.proxy.ssl_port", 8080);
pref("network.proxy.type", 1);


Now it works a treat, though with a few graphic issues, but at least you can see what the developers are upto.

Nick

1 comment:

Unknown said...

Thanks for sharing information, it was a great help