Unix domain socket tunnel to TCP on other machine

Kelly Jones kelly.terry.jones at gmail.com
Wed Dec 3 17:34:23 PST 2008

For mimedefang/clamav purposes, I'm trying to setup a Unix domain
socket that tunnels to a TCP port on another machine.

For example, if I "telnet -u /var/spool/mysock" on machine X, I want
it to be just like doing "telnet Y 25".

I've poked around with stunnel and ssh's port forwarding/ControlMaster
stuff, but I can't quite get this working.

We're just a Bunch Of Regular Guys, a collective group that's trying
to understand and assimilate technology. We feel that resistance to
new ideas and technology is unwise and ultimately futile.

More information about the freebsd-questions mailing list