Specific services via VPN (like POP3/SMTP/IMAP), how?

How to customize and extend your OpenVPN installation.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Post Reply
SaturnusDJ
OpenVPN User
Posts: 30
Joined: Thu Nov 24, 2011 11:17 pm
Location: Netherlands

Specific services via VPN (like POP3/SMTP/IMAP), how?

Post by SaturnusDJ » Fri Jan 27, 2012 1:48 pm

In what direction should I look to get these specific services via VPN (like POP3/SMTP/IMAP, port forwarding) working?
It should be possible using SSH. But is that the best approach? Does OpenVPN itself maybe have some options to work this out?

I would love some suggestions.
Last edited by SaturnusDJ on Fri Jan 27, 2012 3:10 pm, edited 1 time in total.

User avatar
maikcat
Forum Team
Posts: 4200
Joined: Wed Jan 12, 2011 9:23 am
Location: Athens,Greece
Contact:

Re: Specific services via VPN (like POP3/SMTP/IMAP), how?

Post by maikcat » Fri Jan 27, 2012 2:01 pm

what exactly do you want to do?

keep in mind that openvpn simply :D creates a point to point tunnel
using virtual interfaces,that means that everything passes over it is encrypted..

also

smtp supports TLS & SSL
pop3s and imaps also exists..

cheers,

Michael.
Amiga 500 , Zx +2 owner
Long live Dino Dini (Kick off 2 Creator)

Inflammable means flammable? (Dr Nick Riviera,Simsons Season13)

"objects in mirror are losing"

SaturnusDJ
OpenVPN User
Posts: 30
Joined: Thu Nov 24, 2011 11:17 pm
Location: Netherlands

Re: Specific services via VPN (like POP3/SMTP/IMAP), how?

Post by SaturnusDJ » Fri Jan 27, 2012 2:23 pm

Hey Michael,

Well, I still haven't solved topic9602.html. (According to http://code.google.com/p/tunnelblick/wi ... S_Settings it might be fixable manually.)

Meaning that: at the moment I can only effectively work with a routed (tun) setup. That's why I ask it a bit more theoretically than normal because I still want to get the bridged (tap) working.

At my remote location, they use a proxy to block everything except HTTP/HTTPS and, depending on which of the two proxies I choose MSN or Skype.
I want to receive my mail (some IMAPs and one POP3/SMTP account) in Apple Mail and maybe in the future some other things.

Therefor I need Apple Mail to connect via the OpenVPN server, like this I guess:

Apple Mail --- OpenVPN client tun/tap ---OpenVPN server tun/tap --- Mail host: ISP: POP3 @ 995 + SMTP @ 587 and Gmail: IMAP @ 993 and 465.

:)

Post Reply