Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Dec 1999 11:21:33 -0800
From:      "James Webster" <james3838@tsi-net.com>
To:        "Ben WIlliams" <williamsl@Home.Com>
Cc:        <freebsd-questions@freebsd.org>
Subject:   Re: Re[2]: Problems with NATD
Message-ID:  <027401bf41b1$82e33b50$41586b83@mins05>
References:  <021c01bf4116$6fb21150$41586b83@mins05> <14101.991208@Home.Com>

next in thread | previous in thread | raw e-mail | index | archive | help
I didn't get the sources.  This is a standard kernel.  I understood that nat
functionality was the default for the standard kernel.  I guess I could
download the sources and do a rebuild, but Id rather not if I don't have to.

----- Original Message -----
From: "Ben WIlliams" <williamsl@Home.Com>
To: "James Webster" <james3838@tsi-net.com>
Cc: <freebsd-questions@freebsd.org>
Sent: Tuesday, December 07, 1999 11:25 PM
Subject: Re[2]: Problems with NATD


>                                          Wednesday, December 08, 1999
> [*NOTE** Please do not send HTML formatted e-mails to lists  **NOTE*]
>
> I don't know if this is your case but the only time I ever saw this
> kind of error was when my kernel didn't match my 'world'. I had
> cvsup'd my kernel sources and built a new kernel which appears to have
> changed the functions which ipfw talked to .... but I hadn't updated
> ipfw so it was trying to talk to functions that no longer existed in
> the kernel. Do you have fresher kernel sources you've built from
> without making world?
>
> HTH,
> Ben.
>
>
> Tuesday, December 07, 1999, 7:51:28 PM, you wrote:
>
> JW> Did some more digging and found a problem, but don't know the
> JW> solution - /sbin/ipfw add divert natd all from any to any via ex0
> JW> 0000 divert 868 ip from any to any via ex0 ip_fw_ctl: invalid
> JW> command ipfw: setsockopt(IP_FW_ADD): Invalid argument
>
>
> JW>   ----- Original Message -----
> JW>   From: Chameleon
> JW>   To: James Webster ; freebsd-questions@FreeBSD.ORG
> JW>   Sent: Tuesday, December 07, 1999 9:18 AM
> JW>   Subject: Re: Problems with NATD
>
>
> JW>   At 09:02 PM 12/6/99 -0800, James Webster wrote:
> JW>   >I'm a first time user of FreeBSD ( my NIC card wouldn't work with
netBSD for
> JW>   >some reason). While I'm familiar with networking, and network
address
> JW>   >translation, so some reason I can't get it working on FreeBSD.
> JW>   >
> JW>   >I'm setting up a weird testing topology to simulate a slow link
(serial), so
> JW>   >I have a box with an Ethernet card (fixed IP 172.30.224.9) and a
PPP
> JW>   >(10.0.0.1) connection. I want all connections going to the Ethernet
address
> JW>   >to be redirected to the machine on the other side of the PPP
(10.0.0.2)
> JW>   >connection. I have everything working but the redirection.
> JW>   >
> JW>   >I have used "/sbin/natd -n ex0 -redirect_port tcp 10.0.0.2:80 80"
and "-n
> JW>   >ex0 -f /etc/natd.conf" with "redirect_port tcp 10.0.0.2:80 80" in
the conf
> JW>   >file. Neither has worked for me.
> JW>   >
> JW>   >If I've some how misread the man pages, please feel free to let me
know what
> JW>   >I'm doing wrong. I'm not on this mailing list, so please include me
in any
> JW>   >response.
> JW>   >
> JW>   >Thanks,
> JW>   >James Webster
> JW>   >
> JW>   Been through all this myself last week...
>
> JW>   in the natd.conf try:
>
> JW>   redirect_port tcp 10.0.0.2:80 172.30.224.9:80
>
> JW>   that should do it... seems to work for me at least.
> JW>   Cheers, Swen
> JW>   Windows 98: n.
> JW>   useless extension to a minor patch release for
> JW>   32-bit extensions and a graphical shell for a
> JW>   16-bit patch to an 8-bit operating system
> JW>   originally coded for a 4-bit microprocessor,
> JW>   written by a 2-bit company that can't stand for
> JW>   1 bit of competition.
>
>
>
> --
>  Ben                                      mailto:williamsl@Home.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?027401bf41b1$82e33b50$41586b83>