Willie Wong wrote:
> I have a question regarding SSH tunneling:
> 
> Because DSL has not come to my area yet, broadband access is
> monopolized by optimum online, who, as many of you are aware, is on
> god knows how many e-mail blacklists. Furthermore, in their effort to
> "thwart spam", they also block outgoing smtp connections except those
> made to their own mail relay. 
> 
> I am getting a lot of mail rejected by various ISPs recently, and the
> only common thing is the relay the mail went through. 
> 
> So, I decided to forward mail through my school's mail server via an
> SSH tunnel (I have shell access there). 
> 
> All's working fine, so here's my question: 
> 
>   If I want to start the ssh tunnel automatically at boot, where's
>   the best place to put it?

/etc/conf.d/local.start

it will then start before the local login.

I have lines like

su - <user> -c <command to run>

in mine to start various IRC services at startup - same principle can be
used for other commands.

> 
> Willie

-- 
Tim Igoe
[EMAIL PROTECTED]
http://tim.igoe.me.uk - Personal Site
http://tv.igoe.me.uk - UK TV Guide

"Computers are like Air-con, open windows and they stop working!"

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to