socks ssh through firewall firefox

socks ssh through firewall firefox
1. ssh -X -fN -l remote_user_name -L 2212:remote_linux_machine:22 firewall_machine

instead of 2212 you can use anything higher than 1024 (I think)

2. ssh -X -p2212 -D2232 remote_user_name@localhost
3. Open firefox and select "only protocol 5"

4. If you use an internal-hostname in the browser please make sure you are using the IP only as the DNS resolver is set to your DSL provider and not your remote network DNS server.

5. Test with
curl --socks5 localhost:2232
which should show the HTML code