[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
problem with IPNAT/rdt
- To: misc_(_at_)_openbsd_(_dot_)_org
- Subject: problem with IPNAT/rdt
- From: Xin Ding <cindyding29_(_at_)_yahoo_(_dot_)_com>
- Date: Tue, 29 Jun 1999 01:31:17 -0700 (PDT)
Hi,
I'm using an ISDN router to connect to the Internet. The IP/PPP address
for the router is 202.a.b.1. I have valid Internet address from
202.a.b.1 to 202.a.b.7.
My firewall box (openbsd 2.5 of course) has two network interface. The
external one is 202.a.b.2 on le1, and the internal one is 192.168.81.2.
My email server is on the private network (192.168.81.x) with IP
address 192.168.81.1.
So I have the following rules for IPNAT on the firewall box:
-------------------------------------------------------
rdr le1 202.a.b.3/32 port smtp -> 192.168.81.1 port smtp
rdr le1 202.a.b.3/32 port uucp -> 192.168.81.1 port uucp
map le1 192.168.81.1/32 -> 202.a.b.3/32
-------------------------------------------------------
(My ISP is using UUCP for email.)
However, the rdr doesn't seem to work, since "tpcdump -i le1" shows me
the followings:
------------------------------------------------------
16:11:29.530184 mail.willowglen.com.my.48575 > 192.228.128.104.uucp: S
892097102:892097102(0) win 16384 <mss 512,nop,wscale
0,nop,nop,timestamp[|tcp]>
16:11:29.569719 arp who-has mail.willowglen.com.my tell
router.willowglen.com.my
16:11:33.306393 arp who-has mail.willowglen.com.my tell
router.willowglen.com.my
16:11:37.304417 arp who-has mail.willowglen.com.my tell
router.willowglen.com.my
16:11:38.030196 mail.willowglen.com.my.6007 >
mta108.yahoomail.com.smtp: S 889610328:889610328(0) win 16384 <mss
512,nop,wscale 0,nop,nop,timestamp[|tcp]>
-------------------------------------------------------
router.willowglen.com.my is 202.a.b.1,
mail.willowglen.com.my is 202.a.b.3.
Any hints?
Please reply to this account, since I don't want to use this account to
subscribe the mailing list.
Thanks,
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
Visit your host, monkey.org