From owner-freebsd-questions Mon May 29 11:34:31 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mail-2.sjc.telocity.net (mail-2.sjc.telocity.net [216.227.56.42]) by hub.freebsd.org (Postfix) with ESMTP id D033237BCCA for ; Mon, 29 May 2000 11:34:26 -0700 (PDT) (envelope-from otterr@telocity.com) Received: from telocity.com (dsl-216-227-91-85.telocity.com [216.227.91.85]) by mail-2.sjc.telocity.net (8.9.3/8.9.3) with ESMTP id LAA17798; Mon, 29 May 2000 11:31:19 -0700 (PDT) Message-ID: <3932B878.33C6E77@telocity.com> Date: Mon, 29 May 2000 14:35:36 -0400 From: Otter X-Mailer: Mozilla 4.7 [en] (X11; I; FreeBSD 5.0-CURRENT i386) X-Accept-Language: en MIME-Version: 1.0 To: Florian Helmut Mueller Cc: questions@FreeBSD.ORG Subject: Re: freebsd translation of linux firewall settings or natd versus battlecom References: <001601bfc99a$b1eb5600$0200a8c0@local> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Florian Helmut Mueller wrote: > > Hi! > > I have our LAN connected to the Inet via a freebsd router, but Battlecom > isnt working beause of the Firewall. > I have found a workaraound on the Battlecom Homepage that is ment for Linux > boxes: > > To use BattleCom Client from within a network which is connected to the > Internet through an IP Masquerade you must forward the appropriate ports to > the PC behind the masquerade. > > Step 1: You need to have root or su access. > Step 2: Find the ipmasqadm rpm for ipchains or the ipautofw rpm if you're > using ipfwadm and install the RPM (if not already installed... can be found > at rpmfind.net) > Step 3: For IP Chains use this command set: > > ipmasqadm autofw -A -v -r udp 2300 2400 -h www.xxx.yyy.zzz > ipmasqadm autofw -A -v -r tcp 2300 2400 -h www.xxx.yyy.zzz > ipmasqadm autofw -A -v -r tcp 47624 47624 -h www.xxx.yyy.zzz > ipmasqadm autofw -A -v -r udp 47624 47624 -h www.xxx.yyy.zzz > ipmasqadm autofw -A -v -r udp 28800 28900 -h www.xxx.yyy.zzz > > For ipfwadm: > > ipautofw -A -v -r udp 2300 2400 -h www.xxx.yyy.zzz > ipautofw -A -v -r tcp 2300 2400 -h www.xxx.yyy.zzz > ipautofw -A -v -r tcp 47624 47624 -h www.xxx.yyy.zzz > ipautofw -A -v -r udp 47624 47624 -h www.xxx.yyy.zzz > ipautofw -A -v -r udp 28800 28900 -h www.xxx.yyy.zzz > > You should replace www.xxx.yyy.zzz with the IP Address of the PC behind the > masquerade that will be running the BattleCom Client. > > Now as these lines seem to be a little not so common, i have trouble to > translate them into some freebsd compatible format. I have read lots of > Documents about freebsd and linux firewalling, but still have trouble > finding out, just WHAT THESE LINES ARE TELLING THE FIREWALL TO DO!! > So if somebody please could come up with an explanation or even a freebsd > compatible version of these lines, i would be really thankfull. > > cu and thx in advance > > FHM > As I don't use natd, and therefore not wiz with it, i'm not going on the lecture circuit. i can tell you, however, that it does have a redirect_port feature you might want to look in to, assuming that's what you're using on your gateway there. -Otter To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message