Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Mar 2001 10:59:56 -0600
From:      "Daryl Chance" <dchance@valuedata.net>
To:        "Tymanthius Rune Speak" <tymanthius@usa.net>, "David Preece" <davep@afterswish.com>
Cc:        <freebsd-questions@freebsd.org>
Subject:   Re: More NATD/IPFW woes . . . 
Message-ID:  <020b01c0aca8$32c61760$0200000a@mike>
References:  <20010314164606.9982.qmail@nwcst333.netaddress.usa.net>

next in thread | previous in thread | raw e-mail | index | archive | help
----- Original Message -----
From: "Tymanthius Rune Speak" <tymanthius@usa.net>
To: "David Preece" <davep@afterswish.com>; "Tymanthius Rune Speak"
<tymanthius@usa.net>
Cc: <freebsd-questions@freebsd.org>
Sent: Wednesday, March 14, 2001 10:46 AM
Subject: Re: More NATD/IPFW woes . . .


Below are outputs of ifconfig -a, ipfw show, ps ax as requested.

>   PID  TT  STAT      TIME COMMAND
>     0  ??  DLs    0:00.38  (swapper)
>     1  ??  ILs    0:00.23 /sbin/init --
>     2  ??  DL     0:02.03  (pagedaemon)
>     3  ??  DL     0:00.00  (vmdaemon)
>     4  ??  DL     0:00.64  (bufdaemon)
>     5  ??  DL     0:14.03  (syncer)
>    38  ??  Is     0:00.01 adjkerntz -i
>   105  ??  Ss     0:03.25 syslogd -s
>   108  ??  Is     0:00.02 /usr/sbin/portmap
>   118  ??  I      0:00.01 nfsd: server (nfsd)
>   119  ??  I      0:00.01 nfsd: server (nfsd)
>   120  ??  I      0:00.01 nfsd: server (nfsd)
>   121  ??  I      0:00.01 nfsd: server (nfsd)
>   126  ??  I      0:00.00 nfsiod -n 4
>   127  ??  I      0:00.00 nfsiod -n 4
>   128  ??  I      0:00.00 nfsiod -n 4
>   129  ??  I      0:00.00 nfsiod -n 4
>   147  ??  Is     0:00.25 inetd -wW
>   149  ??  Ss     0:03.79 cron
>   152  ??  Is     0:00.06 /usr/sbin/lpd
>   155  ??  Is     0:04.79 sendmail: accepting connections (sendmail)
>   174  ??  Is     0:00.03 moused -p /dev/cuaa0 -t auto
>   205  ??  Ss     0:17.78 /usr/local/sbin/httpd
>   210  ??  I      0:00.03 /usr/local/sbin/httpd
>   211  ??  I      0:00.04 /usr/local/sbin/httpd
>   212  ??  I      0:00.03 /usr/local/sbin/httpd
>   213  ??  I      0:00.03 /usr/local/sbin/httpd
>   214  ??  I      0:00.03 /usr/local/sbin/httpd
>   232  ??  S      0:01.61 /usr/local/sbin/mgetty cuaa1
>   239  v0  Ss     0:02.14 -csh (csh)
>  1324  v0  R+     0:00.01 ps ax
>   225  v1  Is+    0:00.14 /usr/libexec/getty Pc ttyv1
>   226  v2  Is+    0:00.13 /usr/libexec/getty Pc ttyv2
>   227  v3  Is+    0:00.16 /usr/libexec/getty Pc ttyv3
>   228  v4  Is+    0:00.14 /usr/libexec/getty Pc ttyv4
>   229  v5  Is+    0:00.13 /usr/libexec/getty Pc ttyv5
>   230  v6  Is+    0:00.14 /usr/libexec/getty Pc ttyv6
>   231  v7  Is+    0:00.12 /usr/libexec/getty Pc ttyv7


> 00100 211 18144 divert 8668 ip from any to any via ed1
> 00200  34  3625 allow ip from any to any
> 65535 449 51264 deny ip from any to any

here you're diverting natd, but I don't see it running in the process list.

try running this:

/sbin/natd -n ed0
ipfw -f flush
ipfw add divert natd all from any to any via ed0
ipfw add pass all from any to any

see if that works for you. :)
-
Daryl Chance       | And which parallel universe did
ValueData, LLC     | YOU crawl out of?
Memphis, TN        |      - http://www.thinkgeek.com



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?020b01c0aca8$32c61760$0200000a>