[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] Port Forwarding with Qube 2
- Subject: Re: [cobalt-users] Port Forwarding with Qube 2
- From: "dr. mikey" <mikey@xxxxxxxxxxxxxxxxx>
- Date: Wed Dec 6 11:13:02 2000
- Organization: biosearch technologies, inc.
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
Michael Aronoff wrote:
>
> I followed Mike Songster's great instructions and was able to get port
> forwarding installed on my Qube2. I use it to get around many ISP's port 25
> SMTP blocks. I forward port 25250 to port 25 on my mail server and it works
> awesome.
i'm always glad to hear i have actually contributed something usefull.
> My only problem is getting it to load on startup has been tough. I have
> added the following line to the end or /etc/rc.d/rc.local but it wont work.
>
> #startup portfoward
> cd /usr/sbin; ./portfwd -c portfwd.cfg > /var/log/messages 2>&1
i also had trouble with this. i added an equivalent line to my rc.local
file as well (namely "/usr/local/sbin/portfwd -c
/usr/local/sbin/portfwd.cfg"), but it didn't seem to work as
planned...at first. some time later (weeks? months?) i noticed that
the portfwd utility did auto start on reboot. i have no idea why it
didn't work at first but later decided to. such is life i suppose.
in any case, just for the fun of it i went ahead and wrote a little init
script for portfwd, which i placed with all the other start/stop scripts
in "/etc/rc.d/init.d". i then changed the line in rc.local to read
"/etc/rc.d/init.d/portfwd start portfwd.cfg". i would be happy to send
you (or anyone else for that matter) the init script i wrote if you
think you would find it useful, but keep in mind that i'm just a hack
and don't really know what the hell i'm doing.
it all seems to be working ok now, but then again it has been awhile
since i have rebooted, so i may not really know what i am talking about
(it happens from time to time donchaknow).
love etc.,
mikey.
--
mike songster <mikey@xxxxxxxxxxxxxxxxx>
work1: http://www.biosearchtech.com
work2: http://www.chem.umn.edu/orgs/ampepsoc
spinning and spinning and spinning around...
the feelies