socks - re: lpr printing through firewall



Hi:

A co-worker just stumbled on the answer.

Socks 5 support has been native to AIX since v4.3.3. Check out:
http://www.redbooks.ibm.com/redbooks/pdfs/sg245855.pdf

All you need is /etc/socks5c.conf which contains something like:

<destination_IP> <socks5_server_IP>:<port>

Then set your variable SOCKS5C_CONFIG:

export SOCKS5C_CONFIG=/etc/socks5c.conf

You can then run tcp applications like lpr, telnet, ftp, ssh, etc. This meets a need we have. Very nice indeed. Of course you also need a Socks 5 server.

Paul Deveau
University of Ottawa


Hi:

I have an AIX 5.3 host behind a couple of firewalls. There is a need to print to a network printer on the other side of these firewalls. For other applications this host has access to a socks server. Do you know of a tool that allows me to do this, i.e., socksified lpr, socks client, w/o punching a hole through the firewall?

TIA,

Paul Deveau
University of Ottawa



Relevant Pages