Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Aug 2002 22:35:23 +0200
From:      "Patrick O'Reilly" <bsd@perimeter.co.za>
To:        maske@maske.org
Cc:        questions@freebsd.org
Subject:   Re: ipfw rules question
Message-ID:  <002201c2399a$fe0236e0$0200000a@perimeter.co.za>
References:  <1185.10.0.0.27.1028221738.squirrel@mail.maske.org>

next in thread | previous in thread | raw e-mail | index | archive | help
----- Original Message -----
From: "Douglas A. Maske" <maske@maske.org>


> Hello,
>
>    I am nat'ing my cable modem, why doesn't this configuration work?
It's
> either slow or inaccessable.
>
> #!/bin/sh
> ipfw add 00100 divert 8668 ip from any to any

AFAIK you should only divert packets through natd on the external
interface.  So, if you NIC facing the internet is fxp0, your rule should
be:

ipfw add 00100 divert 8668 ip from any to any via fxp0

Maybe that will help a little?

Regards,
Patrick O'Reilly.



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?002201c2399a$fe0236e0$0200000a>