NAT Question? vs. Exchange Server

NAT Question? vs. Exchange Server

Post by Weber La » Tue, 01 Aug 2000 04:00:00



I'm running FreeBSD 3.4, use ADSL  connect to ISP,
I'm configuring NAT, and that all  packets from internal network can travell
in and out through the BSD.
Even internal Exchange Server 5.5 can send and receive email, But I can not
read email from other external
computer. Therefore, I want to use the method of mapping ip address  (Static
NAT).
But it seems not work , Anybody can help me?

Exchange Server ip: 192.168.128.20
Static external IP:  200.20.5.3
NIC rl0  IP:200.20.5.2
Method 1:
[natd.conf]
natd -redirect_address 192.168.128.20  200.20.5.3 -alias_address 200.20.5.2

Method 2:
[natd.conf]
natd -redirect_port tcp 192.168.128.20:110 200.20.5.3:110  -interface rl0

Still not work !!

[rc.conf]
ifconfig_fxp0="inet 192.168.128.12  netmask 255.255.255.0"
ifconfig_rl0="inet 200.20.5.2 netmask 255.255.255.248"
ifconfig_rl0_alias0="inet 200.20.5.3 netmask 255.255.255.248"
#
hostname="dns.abc.com.tw"
gateway_enable="YES"
defaultrouter="200.20.5.1"
#
sendmail_enable="NO"
#
# router_enable="YES"
 firewall_enable="YES"
 natd_enable="YES"
 natd_interface="rl0"

[rc.firewall]
/sbin/ipfw -f flush
/sbin/ipfw add 60000 divert natd all from any to any via rl0
/sbin/ipfw add 61000 pass all from any to any

 
 
 

NAT Question? vs. Exchange Server

Post by Dang Huyn » Tue, 01 Aug 2000 04:00:00


RECOMMEND "IPFILTER" FROM THIS SITE:

http://coombs.anu.edu.au/~avalon/


Quote:> I'm running FreeBSD 3.4, use ADSL  connect to ISP,
> I'm configuring NAT, and that all  packets from internal network can
travell
> in and out through the BSD.
> Even internal Exchange Server 5.5 can send and receive email, But I can
not
> read email from other external
> computer. Therefore, I want to use the method of mapping ip address
(Static
> NAT).
> But it seems not work , Anybody can help me?

> Exchange Server ip: 192.168.128.20
> Static external IP:  200.20.5.3
> NIC rl0  IP:200.20.5.2
> Method 1:
> [natd.conf]
> natd -redirect_address 192.168.128.20  200.20.5.3 -alias_address
200.20.5.2

> Method 2:
> [natd.conf]
> natd -redirect_port tcp 192.168.128.20:110 200.20.5.3:110  -interface rl0

> Still not work !!

> [rc.conf]
> ifconfig_fxp0="inet 192.168.128.12  netmask 255.255.255.0"
> ifconfig_rl0="inet 200.20.5.2 netmask 255.255.255.248"
> ifconfig_rl0_alias0="inet 200.20.5.3 netmask 255.255.255.248"
> #
> hostname="dns.abc.com.tw"
> gateway_enable="YES"
> defaultrouter="200.20.5.1"
> #
> sendmail_enable="NO"
> #
> # router_enable="YES"
>  firewall_enable="YES"
>  natd_enable="YES"
>  natd_interface="rl0"

> [rc.firewall]
> /sbin/ipfw -f flush
> /sbin/ipfw add 60000 divert natd all from any to any via rl0
> /sbin/ipfw add 61000 pass all from any to any


 
 
 

NAT Question? vs. Exchange Server

Post by Thomas Wol » Thu, 03 Aug 2000 04:00:00



Quote:>I'm running FreeBSD 3.4, use ADSL  connect to ISP,
>I'm configuring NAT, and that all  packets from internal network can
travell
>in and out through the BSD.
>Even internal Exchange Server 5.5 can send and receive email, But I can not
>read email from other external
>computer. Therefore, I want to use the method of mapping ip address
(Static
>NAT).
>But it seems not work , Anybody can help me?

>Exchange Server ip: 192.168.128.20
>Static external IP:  200.20.5.3
>NIC rl0  IP:200.20.5.2
>Method 1:
>[natd.conf]
>natd -redirect_address 192.168.128.20  200.20.5.3 -alias_address 200.20.5.2

>Method 2:
>[natd.conf]
>natd -redirect_port tcp 192.168.128.20:110 200.20.5.3:110  -interface rl0

>Still not work !!

>[rc.conf]
>ifconfig_fxp0="inet 192.168.128.12  netmask 255.255.255.0"
>ifconfig_rl0="inet 200.20.5.2 netmask 255.255.255.248"
>ifconfig_rl0_alias0="inet 200.20.5.3 netmask 255.255.255.248"
>#
>hostname="dns.abc.com.tw"
>gateway_enable="YES"
>defaultrouter="200.20.5.1"
>#
>sendmail_enable="NO"
>#
># router_enable="YES"
> firewall_enable="YES"
> natd_enable="YES"
> natd_interface="rl0"

>[rc.firewall]
>/sbin/ipfw -f flush
>/sbin/ipfw add 60000 divert natd all from any to any via rl0
>/sbin/ipfw add 61000 pass all from any to any

Hi,

I dont fully understand your lines about 'natd.conf'
I think you should give your natd - parameters either in rc.conf via:

natd_flags="-redirect_port tcp 192.168.128.20:110 110  -interface rl0"

or specify

natd_flags="-f /usr/local/etc/natd.conf"
and put:

redirect_port tcp 192.168.128.20:110 110
interface rl0

in /usr/local/etc/natd.conf

I dont think that natd uses a default for an natd.conf file (but maybe I am
wrong about this)

hope this helps
Thomas

 
 
 

NAT Question? vs. Exchange Server

Post by Edward Benso » Fri, 04 Aug 2000 04:00:00


Quote:>>>>>>>>>>>>>>>>>> Original Message <<<<<<<<<<<<<<<<<<


NAT Question? vs. Exchange Server:


> >I'm running FreeBSD 3.4, use ADSL  connect to ISP,
> >I'm configuring NAT, and that all  packets from internal network can
> travell
> >in and out through the BSD.
> >Even internal Exchange Server 5.5 can send and receive email, But I
can not
> >read email from other external
> >computer. Therefore, I want to use the method of mapping ip address
> (Static
> >NAT).
> >But it seems not work , Anybody can help me?

> >Exchange Server ip: 192.168.128.20
> >Static external IP:  200.20.5.3
> >NIC rl0  IP:200.20.5.2
> >Method 1:
> >[natd.conf]
> >natd -redirect_address 192.168.128.20  200.20.5.3 -alias_address
200.20.5.2

> >Method 2:
> >[natd.conf]
> >natd -redirect_port tcp 192.168.128.20:110 200.20.5.3:110  -interface

rl0

I believe your natd.conf should look more like this:

## Begin Natd.conf
##
redirect_port tcp 192.168.128.20:110 110
redirect_port tcp 200.20.5.3:110 110
##
## end natd.conf

 
 
 

1. slightly offtopic: Outlook appointment information exchange without M$-Exchange server

I do ask my question here because I think that this problem mostly appears
when substituting an Exchange server by a Linux server...

Outlook98 offers the use of "URLs" for giving a location where to make
public the free/booked information for its calendar module. I wonder which
facility is used to upload this information (to a webserver?). ftp?
Frontpage extension? something else?

I need this information to be able to offer a linux server solution to
someone who wants to use the shared Outlook calendar functionality on his
Win* workstations.

Thanks in advance
    Henning

2. Abit Be6 Rv 2 and Maxtor 10.2 G

3. URGENT! Linux vs MS-Exchange as email server

4. Linux, Samba and Windows

5. MS Exchange server vs Intranet: What's the difference?

6. PATCH: fix "assignment from incopatible pointer type" in amd-k7-agp.c

7. ISDN Routers (NAT) vs. External Modems Linux does the NAT

8. Restoring Files using Wildcards?

9. Exchange server question

10. Linux vs OS2 vs NT vs Win95 vs Multics vs PDP11 vs BSD geeks

11. linux as NAT client with win98 NAT server

12. microsoft ipsec problem with linux iptables nat tunnel: problem in isakmp key exchange apparently

13. TZO, NAT, ipmasqadm, Exchange