On Wed, 10 Aug 2005, CL (dnoyeB) Gilbert <(E-Mail Removed)> wrote:
> (E-Mail Removed) wrote:
>> I use Cox Cable for my internet and e-mail, but they require that I be
>> on their network (i.e. at home) in order to send mail over the SMTP
>> server. Thus, when I am traveling I cannot send e-mail with my Cox
>> account because I am not hooked directly to their network.
>>
>> I have a Linux server running Red Hat 8.0 in my attic that I connect to
>> using SSH. I use port forwarding to reach a VNC server on port 5904. Is
>> there any way I can route my SMTP traffic through my internet
>> connection at home while I am traveling? I would assume that a VPN
>> solution would be ideal but I can't seem to get a VPN server working on
>> my box.
>>
>> In short I just want somehow to be able to send e-mail using my Cox
>> account in Outlook while traveling which would require routing the
>> packets through my home network connection.
>>
>> Any ideas?
>>
>> Thanks!
>>
>
> my first choice would be to use a VNC desktop and just use your linux
> email client. Thats what I do. So my mail is always there and i can
> access it from any computer I can ssh in from. I run VNC over ssh.
>
> you are going to need a proxy running on your linux box to relay the
> smtp signal. Just as if you were trying to relay your web browsing
> across ssh through a proxy running on your linux box.
No need for any proxy. He just needs to ssh tunnel port 25 on his client
end to port 25 of Cox mail relay on remote end. A rough example (not
knowing name of their outgoing relay): -L 25:smtp.cox.com:25
Then if he tells mail client on client machine to send mail through
localhost (127.0.0.1) it would connect to the near side of tunnel and come
out remote to smtp.cox.com.
I have done that for my Unix ISP, since smtp server is a different box
than we log into.