Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Jan 2002 00:55:25 -0800
From:      "Crist J. Clark" <cristjc@earthlink.net>
To:        Joseph Bogner <bognerj@mindspring.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: IPFW/NATD redirect_port problem
Message-ID:  <20020108005525.I286@gohan.cjclark.org>
In-Reply-To: <20020104203714.GA28669@mindspring.com>; from bognerj@mindspring.com on Fri, Jan 04, 2002 at 03:37:14PM -0500
References:  <20020104203714.GA28669@mindspring.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Jan 04, 2002 at 03:37:14PM -0500, Joseph Bogner wrote:
> Hello, I have a problem with natd and ipfw. I am trying to redirect
> traffic from my freebsd gateway, 192.168.0.25 to my internal web
> server, 192.168.0.1. The freebsd gateway is connected through pppoe to
> earthlink on /dev/tun0.

This all looks good.

> [root@dmzsilo ratm]# tcpdump port http
> Kernel filter, protocol ALL, TURBO mode (575 frames), datagram packet
> socket
> tcpdump: listening on all devices
> 11:07:24.731111 ppp0 > user-2injgpx.dialup.mindspring.com.1891 >
> user-2injgkx.dsl.mindspring.com.http: S 1879014911:1879014911(0) win
> 5808 <mss 1452,sackOK,timestamp 26006972 0,nop,wscale 0> (DF)
> 11:07:24.841111 eth0 < user-2injgpx.dialup.mindspring.com.1891 >
> 192.168.0.1.http: S 1879014911:1879014911(0) win 5808 <mss
> 1412,sackOK,timestamp 26006972 0,nop,wscale 0> (DF)
> 11:07:27.731111 ppp0 > user-2injgpx.dialup.mindspring.com.1891 >
> user-2injgkx.dsl.mindspring.com.http: S 1879014911:1879014911(0) win
> 5808 <mss 1452,sackOK,timestamp 26007272 0,nop,wscale 0> (DF)
> 11:07:27.871111 eth0 < user-2injgpx.dialup.mindspring.com.1891 >
> 192.168.0.1.http: S 1879014911:1879014911(0) win 5808 <mss
> 1412,sackOK,timestamp 26007272 0,nop,wscale 0> (DF)

The web server on 192.168.0.1 is actually working, right? On
user-2injgkx.dsl.mindspring.com you can,

  $ telnet 192.168.0.1 80

And talk to the webserver, right?
-- 
"It's always funny until someone gets hurt. Then it's hilarious."

Crist J. Clark                     |     cjclark@alum.mit.edu
                                   |     cjclark@jhu.edu
http://people.freebsd.org/~cjc/    |     cjc@freebsd.org

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020108005525.I286>