I've got an ssh running and accepting connections like this:
ssh -ND 9896 firstname.lastname@example.org
and i've installed tsocks. my /etc/tsocks.conf looks like this:
server = localhost
port = 9896
server_type = 5
when i try to run a php script from the command line like 'tsocks php /var/www/htm/something.php', i get:
Invalid pair type (port) specified on line 2 in configuration file, "port = 9896"
21:15:40 libtsocks(17881): Error 111 attempting to connect to SOCKS server (Connection refused)
failed: Connection refused.
when i try to run 'tsocks skype', i get this:
ERROR: ld.so: object '/usr/lib64/libtsocks.so' from LD_PRELOAD cannot be preloaded: ignored.
any idea what the problem is and how to fix it?