View Single Post
hans51's Avatar
Posts: 25 | Thanked: 5 times | Joined on May 2010 @ Philippines and Cambodia
#11
Originally Posted by uTMY View Post
Once again may I suggest having a look at OpenVPN.

Once you have a tunnel through to your mailserver on any port you choose so it should not get blocked by your ISP.

You will have access to the local IP address of the mail server (the other end of the tunnel).

you can then use

mailserver.vpntunnel.ip.address:25

from the N900

All you need then is to tell the mailserver to allow relay from the vpn tunnel address range.

rgds

OK
I understand your solution
as said above I have already a tunnel simply by using

ssh -L 44999:localhost:25 root@xxx.xxx.xxx.xxx

that is default method on any Linux box as long as all ssh and server keys are already properly installed on all ends

you quote:

mailserver.vpntunnel.ip.address:25

on my linux box and local mail client it is default Linux = localhost
hence as a smtp server in the email configuration it is simply

localhost:44999 ( for my port 44999)

i have tried to use as

mailserver.vpntunnel.ip.address

anything from

localhost
127.0.0.1
192.168.2.15

??? without success
hence either there is another TO ME UNKNOWN IP in use for such ...

as a general rule
if a too such as openVPN can do
then there also should be a simple bash command line doing the very same

can u give me please the precise IP address for your LOCAL mailserver IP on your N900 ??