LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-28-2009, 12:19 AM   #1
zawhtet
LQ Newbie
 
Registered: Apr 2006
Location: Japan
Distribution: RedHat Enterprise Linux 4 AS
Posts: 2

Rep: Reputation: 0
Unhappy Forward Multiport for Exchange Server 2003 Access


Hello Everybody

I got one issue for iptables port forwarding to exchange server 2003.

here is my network setting

my linux box...
eth0 - 172.16.1.75
eth1 - 192.168.10.36


Exchange server 2003 with AD domain /dns
nic - 172.16.1.73

Client ip..
ip - 192.168.10.35/24
gw - 192.168.10.36
Dns - 172.16.1.73

(iptables config)

-A POSTROUTING -o eth0 -j SNAT --to-source 172.16.1.75
-A FORWARD -o eth0 -m state --state RELATED,ESTABLISHED -j ACCEPT
-A FORWARD -o eth1 -m state --state RELATED,ESTABLISHED -j ACCEPT
-A FORWARD -o eth2 -m state --state RELATED,ESTABLISHED -j ACCEPT
-A FORWARD -s 192.168.10.30 -o eth0 -m state --state NEW -j ACCEPT
-A FORWARD -s 192.168.10.35 -o eth0 -p tcp -m state --state NEW -m multiport --dports 21,123,137,143,138,139,3268,389,53,53211,53212,88 -j ACCEPT
-A FORWARD -s 192.168.10.35 -o eth0 -p udp -m state --state NEW -m multiport --dports 21,123,137,143,138,139,3268,389,53,53211,53212,88 -j ACCEPT

I can telnet from client with 25,110 and even rejoin the domain.
but when I open outlook and connect with exchange setting ... popup
"exchange server is not available"

Can anybody help me out with this issue?

regards;
 
Old 05-28-2009, 05:29 PM   #2
orvaquim
LQ Newbie
 
Registered: Nov 2004
Posts: 17

Rep: Reputation: 0
Well

It seems that when the answer from the AD server is SNATed to the gateway IP, when you actually asked for the IP AD server.

Remove the AD server from the SNAT or

DNAT those 25, 110 ports to the AD, and the client should ask for the gateway IP.

Hope this will help
Caveman
 
Old 06-01-2009, 07:26 AM   #3
zawhtet
LQ Newbie
 
Registered: Apr 2006
Location: Japan
Distribution: RedHat Enterprise Linux 4 AS
Posts: 2

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by orvaquim View Post
Well

It seems that when the answer from the AD server is SNATed to the gateway IP, when you actually asked for the IP AD server.

Remove the AD server from the SNAT or

DNAT those 25, 110 ports to the AD, and the client should ask for the gateway IP.

Hope this will help
Caveman

Thanks for your reply.

let me try and get back to you....

 
  


Reply



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
linux server intergrating with exchange 2003 fretbrner Linux - Server 5 02-07-2008 02:30 PM
Re-Installing exchange server 2003? frankkky General 2 10-05-2007 12:56 PM
How to configure Exchange server 2003 from behind firewall?? frankkky General 1 09-21-2007 04:51 AM
Connect to M$ Exchange 2003 server from a Linux Notebook chief_officer Linux - General 1 05-21-2007 03:50 PM
Global Address List (Exchange Server 2003) gravitek Linux - Software 2 01-13-2007 06:05 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:48 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
Open Source Consulting | Domain Registration