Koozali.org formerly Contribs.org

Accessing Outlook Web Access with SME 6

Suzzy027

Accessing Outlook Web Access with SME 6
« on: May 05, 2006, 08:43:02 AM »
Has anyone been able to bypass the SME proxy and get access to there exchange email through the Internet?  

I have tried using a program called ProxyPass which I could not get working.  Maybe I set it up wrong, I am not sure.  

Help Please.

Thanks,
S
 :-(

Accessing Outlook Web Access with SME 6
« Reply #1 on: May 10, 2006, 10:09:54 AM »
I am able to log into my jobs outlook exchange server from behind my sme 6 server at home with no problems.  Not sure if that is what  you are asking ....
All that's necessary for the forces of evil to win in the world is for enough good men to do nothing.???" Edmund Burke -Irish orator, philosopher, & politician


For the battle is not yours, but God's.   2 Chronicles 20:15

Suzzy027

Outlook Web Access
« Reply #2 on: May 11, 2006, 12:43:05 AM »
Hi,

Yes that is what i am talking about.  How did you get it working?  I have my exchange box ready to allow access to OWA but I am not sure what to do from here one.  

Thanks,
S

Accessing Outlook Web Access with SME 6
« Reply #3 on: May 11, 2006, 02:21:19 AM »
Basically you are trying to connect from home going thru a sme server to your office OWA server ?
or are you trying to connect to an OWA server that is behind a sme server

I didnt do anything as far as setup goes on my end. I am using a slightly modified sme 6 on a dynamic dsl connection. I use the url my company provided that I can use on my personal computer and I log into one page that redirects me to the OWA page where I have to log in again.


Now something else you might want to keep in mind is that my job also requires that one weekend a month I am on call and I use a company provided laptop and use my internet connection to vpn into the company network.  Sometimes I cannot log in to the vpn  and everytime this happens its because I have an external ip  in  71.X.X.X range. I would still have internet access but just be unable to connect to thru my companies vpn. When I am in a 65.X.X.X range I dont have problems.

At first I could not figure out why the VPN would not work and serveral times talked to my network operations as to what was wrong with the vpn software and after a reboot and resetting my dsl modem I would be able to connect. Over the course of a year I eventually noticed that at times I could not access my sme server when I was at work. I would call home and ask the wife to check the internet by opening a webpage and the internet would work fine.  

When I checked the sme server when I would get home it would have a wierd looking external ip address (71.X.X.X range). Weird because  the normal ranges I have seen in the past were always in a 60-65.X.X.X. Now after it happened one night while I was at work I had a buddy on his cable connection connect to my web server and login to webmail with no problem when I was being told it was down.when I tried to ping the dyndns name. It was then that I determined that for some reason my company must be blocking that ip range.  So now when I can connect but my internet works I know that I need to shut the modem and sme server down for 2-5 mins and that usually I dont have anymore problems connecting.

Can others connect from home and you cant ?
All that's necessary for the forces of evil to win in the world is for enough good men to do nothing.???" Edmund Burke -Irish orator, philosopher, & politician


For the battle is not yours, but God's.   2 Chronicles 20:15

Suzzy027

Outlook Web Access
« Reply #4 on: May 11, 2006, 02:40:43 AM »
Hi,

I am trying to connect to an OWA server that is behind a sme server.  I can VPN into the SME server no problems then open Outlook and it works fine but I dont want to VPN in everytime I need to use outlook. I would prefer to just jump on any pc with an internet connection browse to the outlook web page and email from there.

Accessing Outlook Web Access with SME 6
« Reply #5 on: May 11, 2006, 02:50:20 AM »
Have you tried forwarding a port thru the the sme server to your OWA server ?

Or you could thru creating a webpage on the sme server and have a link from the sme server to your OWA  ?

Im not exactly sure how it would work but someone on here must know how
All that's necessary for the forces of evil to win in the world is for enough good men to do nothing.???" Edmund Burke -Irish orator, philosopher, & politician


For the battle is not yours, but God's.   2 Chronicles 20:15

Suzzy027

Outlook web access
« Reply #6 on: May 11, 2006, 03:02:10 AM »
Hi,

I have tried port forwarding on my sme box but it did not work.  I have also put a link on my website to OWA which brings up the logon page but once you put your details this page can not be displayed comes up.  Maybe someone has worked out one of these methods and can talk me through getting it working.  

Thanks  :-(

Accessing Outlook Web Access with SME 6
« Reply #7 on: May 11, 2006, 03:08:23 AM »
when port forwarding did you foward  both the udp and tcp when you opened the port on the sme server for the port you were using ? I played around with setting up a game server  behind my sme server about 2 years ago and that was what gave me the most trouble.
All that's necessary for the forces of evil to win in the world is for enough good men to do nothing.???" Edmund Burke -Irish orator, philosopher, & politician


For the battle is not yours, but God's.   2 Chronicles 20:15

Suzzy027

Outlook Web Access
« Reply #8 on: May 11, 2006, 03:15:25 AM »
Hi,

I port forwarded 443 and 8080.  Are they the right ports?

Accessing Outlook Web Access with SME 6
« Reply #9 on: May 11, 2006, 03:24:21 AM »
Im not sure what ports you will need but when you forwarded the  ports you have to select what type of packets gets forwarded ... I vaguely remember thier being a drop down box that allows you to select what type(its been 2 years since I played with port forwarding). The options are udp and tcp.  I recommend you setting it to forward both types then after you get it working figure out if you need both types forwarded.
All that's necessary for the forces of evil to win in the world is for enough good men to do nothing.???" Edmund Burke -Irish orator, philosopher, & politician


For the battle is not yours, but God's.   2 Chronicles 20:15

Suzzy027

Outlook web access
« Reply #10 on: May 11, 2006, 03:33:00 AM »
Hi,

I can do that no problems but when your typing in your internet address yourdomainname.com/exchange how does your SME box know to forward /exchange to OWA?  There must be a set I am missing.

Thanks

Accessing Outlook Web Access with SME 6
« Reply #11 on: May 11, 2006, 03:45:35 AM »
when you set up the portforwarding you need to include the ip address of the machine you want the port forwarded to.


example lets say your sme website is

hhhhh.com

you want certain ports forwarded to a system behind the sme server so anytime someone hits say port 8181 it forwards to the other machine. so to hit the other server they would put the following in thier web browser

hhhhh.com:8181  

when you set up the port forwarding you would put in all traffic (udp and tcp) coming in on port 8181 gets sent to the internal ip address of the server you want them to access.
All that's necessary for the forces of evil to win in the world is for enough good men to do nothing.???" Edmund Burke -Irish orator, philosopher, & politician


For the battle is not yours, but God's.   2 Chronicles 20:15

Suzzy027

outlook web access
« Reply #12 on: May 11, 2006, 04:01:47 AM »
Hi,

This is what I have done in Port Forwarding:
Protocol TCP Source port 8080 Desitination IP 192.168.0.2 Destination port 8080
Protocol TCP Source port 443 Desitination IP 192.168.0.2 Destination port 443
Protocol UDP Source port 8080 Desitination IP 192.168.0.2 Destination port 8080
Protocol UDP Source port 443 Desitination IP 192.168.0.2 Destination port 443

Then I type http://www.domainname.com/443 and page can not be displayed comes up.

Is there something else I am missing?

Accessing Outlook Web Access with SME 6
« Reply #13 on: May 11, 2006, 04:32:11 AM »
what ports is the owa set to ?  if it is coming up blank then is sounds you might not be forwarding  to the correct ports on the OWA server.  

I would say you might want to do a google search OWA Setup +router and find out what would have to be done to get it working behind a router then using that information.  

When I was setting up my game server it took me awhile get the ports stuff correct so that it could be seen outside my network. Because the system  required several ports in a certain range. You will need to find out what ports the OWA is running on and what ports need to be forwarded.
All that's necessary for the forces of evil to win in the world is for enough good men to do nothing.???" Edmund Burke -Irish orator, philosopher, & politician


For the battle is not yours, but God's.   2 Chronicles 20:15

Accessing Outlook Web Access with SME 6
« Reply #14 on: May 11, 2006, 06:28:21 AM »
you need to type https://domainname.com/exchange
or https://domainname.com/remote
you need the S, so it used port 443


hope that helps
cheers
.........

Suzzy027

Outlook web access
« Reply #15 on: May 11, 2006, 06:42:43 AM »
Hi,

Yes I tried https://domainname/exchange  It cames up with page can not be displayed.

When i type it on my LAN it works fine but not on the Internet.

Accessing Outlook Web Access with SME 6
« Reply #16 on: May 11, 2006, 07:02:23 AM »
Is the SME server plugged into a router or a modem ??

what windows server are you running ??
On 2 SME servers at 2 different sites, I just had to forward port 443 TCP to the windows server for OWA, but I do also forward tcp 444 and 4125 to enable remote desktop through OWA.
one thing you can do is putty to SME and run
Code: [Select]
tail -f /var/log/messages then try and connect, and see if it comes up with any denyhost messages as your connecting.
.........

Suzzy027

Outlook Web Access
« Reply #17 on: May 12, 2006, 02:45:44 AM »
Hi,
My Sme server is plugged into the router.  I am using SBS sever 2003 with Exchange running on it.  

I used putty and check to log but there were no denyhost messages.


--------------------------------------------------------------------------------
 
Is the SME server plugged into a router or a modem ??

what windows server are you running ??
On 2 SME servers at 2 different sites, I just had to forward port 443 TCP to the windows server for OWA, but I do also forward tcp 444 and 4125 to enable remote desktop through OWA.
one thing you can do is putty to SME and run Code:
tail -f /var/log/messages
then try and connect, and see if it comes up with any denyhost messages as your connecting.

Accessing Outlook Web Access with SME 6
« Reply #18 on: May 12, 2006, 02:48:05 AM »
is the router forwarding TCP port 443 to the SME ???
.........

Suzzy027

Outlook web access
« Reply #19 on: May 12, 2006, 03:25:20 AM »
Hi,

Yes just double checked my router is port forwarding 443 to me Sme server and my Sme server is prot forwarding 443 to my exchange server.  I ype in https://domainname/exchange into a web browser and page cannot be displayed comes up.

Accessing Outlook Web Access with SME 6
« Reply #20 on: May 15, 2006, 05:46:43 PM »
Why are you doing a double forward ? Unless you are using a double firewall (router then sme server then your internal network) I would try forwarding straight to the OWA server and see if this works.  

How is your sme server setup as server and gateway, server only or private server and gateway?  

How is your network setup ? Maybe that is what we are missing  we need to know the path data flows thru your network. For data to get to the machine you are surfing the internet on data flows thru the router then thru a switch/or hub  to your PC or Router then Sme server then switch/or hub  to your PC ?
All that's necessary for the forces of evil to win in the world is for enough good men to do nothing.???" Edmund Burke -Irish orator, philosopher, & politician


For the battle is not yours, but God's.   2 Chronicles 20:15

cc_skavenger

Accessing Outlook Web Access with SME 6
« Reply #21 on: May 17, 2006, 07:31:53 AM »

Offline mmccarn

  • *
  • 2,563
Accessing Outlook Web Access with SME 6
« Reply #22 on: May 18, 2006, 08:57:00 PM »
Can I ask why you're forwarding port 8080 instead of port 80?

OWA normally uses / requires port 80 (for http access) and port 443 (for https access).

You *might* be able to make it work if you forward port 8080 on the SME box to port 80 on the Exchange server, or if you have used the Internet Information Services Manager on the Exchange Server to change the port for the OWA website (probably "Default website") from 80 to 8080 - but some things still won't work.  OMA (Outlook Mobile Access), for example, does not work properly if the main OWA website is not on port 80...

We have several Exchange boxes behind SME 6.0.1 boxes - all running OWA with no problem - we just forwarded ports 80 and 443 to the Exchange box.