Get e-mail via VPN connection

Hi,

I would like to connect my laptop to our business network when I'm outise the office.
for doing this, I'm using the software Schrew to connect to the modem Lancom whose adress is 192.168.0.254
Behind the lancom there is a Win 2008 R2 sp1 server for the dhcp. its adress is 192.168.0.246
The VPN server is the Lancom.
Connect VPN is OK and i can ping whole the network.
The issue is when i want to get e-mail. Outlook can't connect to the Exchange Server running on the 192.168.0.246.

Can some help.
Hassan NOUR EL DINEIT ManagerAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

JohnBusiness Consultant (Owner)Commented:
using the software Schrew to connect to the modem Lancom whose address is 192.168.0.254

Exchange Server running on the 192.168.0.246.

It appears you are using the same subnet from your machine to the office. Is that true?   You need a different subnet.
Owen RubinConsultantCommented:
I’m also confused. Is the address you mentioned for your machine the one provided by the VPN software?

Also, if you can truly ping the entire office network, but cannot connect to the mail server (which I assume you can also ping) then I suspect the VPN service, or the VPN server is not passing the proper ports to connect to mail via VPN.

I do not know either that app or the modem accepting the VPN, but I would check each to see if you need to enable ports on either service for the services you want to support over VPN, or perhaps the service itself (like SSL) is blocked.

Assuming SSL and TLS for secure IMAP connections outlook to Exchange, you need to pass ports 993 and  587.

Also curious, has the machine you are using that has Outlook on it, can it connect to Exchange when not on VPN or has it never been in the work office? Wondering if the machine your using has ever been able to get mail via Outlook? Maybe an Outlook install issue if never checked. Need to narrow down possible problems.

Here is a page on setting up passthrough connection on a Lancom modem,  I suspect you modem has something similar.
https://www2.lancom.de/kb.nsf/1276/0F253797F29C55C9C1257D3B00391414?OpenDocument

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
JohnBusiness Consultant (Owner)Commented:
We have used Shrew and it does not handle NAT traversal well so we abandoned it in favour of NCP Secure Entry
Webinar: Cyber Crime Becomes Big Business

The rising threat of malware-as-a-service is not one to be overlooked. Malware-as-a-service is growing and easily purchased from a full-service cyber-criminal store in a “Virus Depot” fashion. Join us in our upcoming webinar as we discuss how to best defend against these attacks!

Owen RubinConsultantCommented:
Thanks John, you answered my question to you before I could ask it!  :-)
Hassan NOUR EL DINEIT ManagerAuthor Commented:
Hi;

I finally get it working. I change the WINS and the DNS suffix in VPN configuration file giving them manual values as follows :

Schrew.png
Problem solved.
Thanks to all of you.
Hassan NOUR EL DINEIT ManagerAuthor Commented:
for answering the questions :

- The subnet are different since I use my mobile phone to connect to business router.
- Exchange server (192.168.0.246) and Lancom modem/router are in the office side. So it's normal they belong to the same subnet.
- The machine that wants to  get e-mail has already been on the subnet of exchange server when not on VPN. Already got e-mails.

By the way Schrew works fine.
Hassan NOUR EL DINEIT ManagerAuthor Commented:
Thanks
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Office

From novice to tech pro — start learning today.