From owner-freebsd-questions Wed Mar 1 7:11:34 2000 Delivered-To: freebsd-questions@freebsd.org Received: from falla.videotron.net (falla.videotron.net [205.151.222.106]) by hub.freebsd.org (Postfix) with ESMTP id 8257637C391 for ; Wed, 1 Mar 2000 07:11:26 -0800 (PST) (envelope-from yves@radicaux-libres.qc.ca) Received: from [192.168.0.3] ([24.200.181.48]) by falla.videotron.net (Sun Internet Mail Server sims.3.5.1999.12.14.10.29.p8) with SMTP id <0FQR00C1V0JDQP@falla.videotron.net> for freebsd-questions@FreeBSD.ORG; Wed, 1 Mar 2000 10:04:26 -0500 (EST) Date: Wed, 01 Mar 2000 10:04:27 -0500 From: yves@radicaux-libres.qc.ca (Yves Berthiaume) Subject: Re: Problem with IP aliasing X-Sender: radicaux@205.236.182.3 To: Bhishan Hemrajani Cc: freebsd-questions@FreeBSD.ORG Message-id: MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG At 8:08 PM 2/29/00, Bhishan Hemrajani wrote: >First of all, that stuff you have in your rc.firewall is wrong. >Your rc.firewall should look like this: >$fwcmd -f flush >$fwcmd add 10 divert natd all from any to any via de1 >$fwcmd add 65000 allow all from any to any There is a couple of things I dont get here. >$fwcmd -f flush flush is fine >$fwcmd add 10 divert natd all from any to any via de1 10... is this a port? services does'nt specify it... I've also never used divert... I'm assumming that "de1" is in fact "xl1" >$fwcmd add 65000 allow all from any to any 65000.. also a port I'm not aware of... On rc.firewal I've basically took the prototype and seasoned it to taste for the different services I have on the server i.e mail, ftp, etc... >Also, you should be starting natd like this: >natd -n xl1 I did see your point when I read man natd. Also, could anybody point me to a *good* HOWTO on natd? Thanks for your help. _______________________________________________ Radicaux Libres Solutions technologiques Yves Berthiaume 4644 Parthenais T:514.529.0989 Montreal, Quebec F:514.529.4633 H2H 2G7 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message