Browse securely and bypass a restrictive firewall

You don’t have to enable proxy in system network preferences in order to work with Firefox. The key is set type to SOCKS v5, clear other proxy types and enable “Proxy DNS”.