Friday, December 17, 2010

ssh, socks, and selinux

Trying to use ssh's -D option to setup a SOCKS proxy and getting the error below?

channel 3: open failed: administratively prohibited: open failed

If you are running SELinux (e.g. Fedora), you need to run:

# setsebool -P sshd_forward_ports on

1 comment:

John Saalwaechter said...

FYI -- in firefox you can switch dns queries to use the socks proxy, too, with network.proxy.socks_remote_dns = true in about:config