LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-18-2013, 10:59 AM   #1
proNick
Member
 
Registered: Apr 2005
Posts: 104

Rep: Reputation: 15
Mail server in local network, should be accessible from outside


Hello,

I have mail server on Windows machine, and it work fine, but it's accessible only on local network (it is not accessible outside of local network).

I also have Linux machine, that is accessible from outside.

On Windows machine is a mail server (Exchange), that have to be accessible also from outside, so users can check their emails from other places, not only from local network (ie. using url like http://mydomain.com/owa).

Can you give me some points what do I have to do to enable users to be able to check their emails from outside. Do I have to create tunnel for this?

Thank you in advance!
 
Old 06-18-2013, 11:28 AM   #2
thedaver
Member
 
Registered: Jan 2010
Posts: 65

Rep: Reputation: 21
How have you exposed external access to the internal network?
 
Old 06-18-2013, 11:36 AM   #3
proNick
Member
 
Registered: Apr 2005
Posts: 104

Original Poster
Rep: Reputation: 15
i have one linux box connected to internet, and it's fully accessible.

from that box i can access to exchange mail server and in can open it's integrated outlook mail client using web browser and url http://192.168.21.10/owa


i need to be able to open url like http://192.168.21.10/owa, from all other networks, not only from internal.

Last edited by proNick; 06-18-2013 at 11:47 AM.
 
Old 06-18-2013, 01:28 PM   #4
szboardstretcher
Senior Member
 
Registered: Aug 2006
Location: Detroit, MI
Distribution: GNU/Linux systemd
Posts: 3,836

Rep: Reputation: 1360Reputation: 1360Reputation: 1360Reputation: 1360Reputation: 1360Reputation: 1360Reputation: 1360Reputation: 1360Reputation: 1360Reputation: 1360
Well,.. unless you set up a VPN or IPSEC tunnel between your network and everyone elses, you are not going to be able to reach a private address range such as 192.168.0.0

You have many options. If this machine is not behind a firewall -- which is a terrible idea -- then you will have to give it a public ip defined by your ISP.

If you are behind a firewall you will have to set up a port forward, virtual ip, or a mapped ip, depending on your gear, to point to the internal address of that mail server.

Edit: also, if you are doing this on a work network, you should really seek the assistance of your network admin.

Last edited by szboardstretcher; 06-18-2013 at 01:30 PM.
 
Old 06-18-2013, 02:22 PM   #5
proNick
Member
 
Registered: Apr 2005
Posts: 104

Original Poster
Rep: Reputation: 15
@szboardstretcher - can you please give me some links to find out more about it?
 
Old 06-18-2013, 02:39 PM   #6
szboardstretcher
Senior Member
 
Registered: Aug 2006
Location: Detroit, MI
Distribution: GNU/Linux systemd
Posts: 3,836

Rep: Reputation: 1360Reputation: 1360Reputation: 1360Reputation: 1360Reputation: 1360Reputation: 1360Reputation: 1360Reputation: 1360Reputation: 1360Reputation: 1360
Certainly. A google search of 'firewall port forwarding' will help.

iptables example of protecting a server:
http://bencane.com/2012/09/iptables-...ic-web-server/
 
Old 06-19-2013, 05:02 PM   #7
proNick
Member
 
Registered: Apr 2005
Posts: 104

Original Poster
Rep: Reputation: 15
i followed instructions on next link:

http://geekyprojects.com/ubuntu/ubuntu-vpn-connection/

i have some trouble starting vpn, but i solved it.

problem i have is that tunneling does not work - when i open in browser ip address where vpn is installed (linux ubuntu) i still getting web page on that machine, and not on the other (http://192.168.21.10/owa).

can you help me what i did wrong?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to get a subdomain accessible outside the local network? Cant!! CrewXp Linux - Networking 7 07-26-2011 01:43 AM
Send email to mail server/account on local network? dbrazeau Linux - Networking 2 03-07-2011 12:52 PM
Forward certain local mail to an external mail server marciano Linux - Server 1 05-11-2009 12:08 PM
How to make HTTPS dir accessible only from local network and one IP adress nevarlen Linux - Security 4 02-12-2005 12:09 AM
Setting up Mail server for Local Network Deep13 Linux - Software 2 10-30-2003 09:05 AM


All times are GMT -5. The time now is 01:39 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration