I also did the same for another mail server.  All I did is replace it's ip address for the one that goes with smtp.googlemail.com.  I don't see why this wouldn't work for any other ip address you might want to connect to.

On 07/13/2013 12:27 AM, Michael Havens wrote:
Thanks. It will prove useful!
:-)~MIKE~(-:


On Fri, Jul 12, 2013 at 11:59 PM, Derek Trotter <expat.arizonan@gmail.com> wrote:
You might remember the problem I had with sending mail while the VPN was connected.  I just got that fixed.  I can't take the credit.  I finally contacted the people at vpnsecure.me and Shane gave me the solution.

First I had to add this to the hosts file.
74.125.137.16 smtp.googlemail.com

Then I had to enter this.  10.0.0.1 is my router's IP address.
route add -net 74.125.137.16 netmask 255.255.255.255 gw 10.0.0.1

Then I was advised to put that in /etc/rc.local which I haven't done yet.  After following the instructions it worked.  I thought I would pass along the solution in the event someone else finds it useful.

-- 
"I get my copy of the daily paper, look at the obituaries page, and if I’m not there, I carry on as usual."

Patrick Moore


---------------------------------------------------
PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org
To subscribe, unsubscribe, or to change your mail settings:
http://lists.phxlinux.org/mailman/listinfo/plug-discuss



---------------------------------------------------
PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org
To subscribe, unsubscribe, or to change your mail settings:
http://lists.phxlinux.org/mailman/listinfo/plug-discuss

-- 
"I get my copy of the daily paper, look at the obituaries page, and if I’m not there, I carry on as usual."

Patrick Moore