Page 1 of 1

Problem Sending & Receiving Email While Connected To OpenVPN

Posted: Sat May 03, 2014 4:49 pm
by Illustrator76
I am having issues receiving IMAP e-mail while connected through OpenVPN on my Mac (using Viscosity VPN). I am able to browse the internet, RDP in to my home NAS, etc... just fine, but sending and receiving IMAP e-mails (using Mac Mail) has been an issue. I have an Asus AC68U router and I am using the built-in OpenVPN server for my secure connections. In my Viscosity VPN settings I have "Send all traffic over VPN" checked because I want to make sure most of my internet traffic is secured. I did try adding some routes in the Viscosity VPN settings that sent the IPs associated with my SMTP servers through the Net Gateway, but the issue is that Comcast (my ISP) uses dynamic IPs for their mail servers, so those will change on a daily basis, making this solution essentially ineffective.

Basically, this is the setup that I am looking for while connected to OpenVPN:

1. All traffic to my home NAS/server flows securely through VPN
2. All web browsing traffic flows securely through VPN (in case I need to make a purchase online using my credit card info)
3. Sending and receiving e-mails can flow through the Net Gateway/unsecured internet

I have posted my client.ovpn details below.

Any help given on this issue would be great!

Code: Select all

client
dev tun
proto udp
remote [networkname.com] 1194
float
comp-lzo adaptive
keepalive 15 60
auth-user-pass
<ca>
-----BEGIN CERTIFICATE-----
Removed
-----END CERTIFICATE-----
</ca>
<cert>
-----BEGIN CERTIFICATE-----
Removed
-----END CERTIFICATE-----
</cert>
<key>
-----BEGIN PRIVATE KEY-----
Removed
-----END PRIVATE KEY-----
</key>
ns-cert-type server
resolv-retry infinite
nobind

Re: Problem Sending & Receiving Email While Connected To Ope

Posted: Sat May 10, 2014 10:31 am
by Illustrator76
Is anyone able to provide some assistance with this?

Thank you!