From owner-freebsd-questions@FreeBSD.ORG Thu Jan 8 16:17:51 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4F7CD16A4CE for ; Thu, 8 Jan 2004 16:17:51 -0800 (PST) Received: from etrn2.doruk.net.tr (etrn2.doruk.net.tr [212.58.5.167]) by mx1.FreeBSD.org (Postfix) with ESMTP id EABF543D41 for ; Thu, 8 Jan 2004 16:17:49 -0800 (PST) (envelope-from vahric@doruk.net.tr) Received: from mail.doruk.net.tr ([212.58.5.6] helo=doruk.net.tr) by etrn2.doruk.net.tr with smtp (Exim 4.24) id 1AekR9-0006RG-6p; Fri, 09 Jan 2004 02:23:39 +0200 Received: from [82.151.156.1] (account vahric HELO hpvaho) by doruk.net.tr (CommuniGate Pro SMTP 4.1.8) with ESMTP id 71016691; Fri, 09 Jan 2004 02:22:52 +0200 From: "Vahric MUHTARYAN" To: "'Dan Rossi'" , Date: Fri, 9 Jan 2004 02:17:33 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-9" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Office Outlook, Build 11.0.5510 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Thread-Index: AcPWPI2vEEuBh+uvR26MzFtOPL47aQACBMKA In-Reply-To: <1073642681.2625.1.camel@dev> Message-ID: Subject: RE: firewall settings in rc.firewall X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Jan 2004 00:17:51 -0000 Hi,=20 For example if you are using clint mode than go to client section for firewall configuration you will se mynetwork en subnet section check you wrote everything is correct. =20 =DDf you have two difference network then add sone veriables like in = example of rc.conf which include 192.168.0.0 network and write same firewall = rules=20 Example=20 For your configuration=20 # set these to your network and netmask and ip net=3D"192.168.0.0" mask=3D"255.255.255.0" ip=3D"I dont know what is your " setup_loopback # Allow any traffic to or from my own net. ${fwcmd} add pass all from ${ip} to ${net}:${mask} ${fwcmd} add pass all from ${net}:${mask} to ${ip} With this configuration you can allow access to your ip from 192.168.0.0 network=20 Vahric=20 -----Original Message----- From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of Dan Rossi Sent: Friday, January 09, 2004 12:05 PM To: freebsd-questions@freebsd.org Subject: firewall settings in rc.firewall Hello, i am trying to make my webserver accessible to the net, i tried to run the out of the box rc.firewall, but there was some default rules which blocked the 192.168.0 network which is my local lan lol, so killed it instead of helped it, anyway i tried setting it to open, but still wont allow access to port 1023 which is wot the server is running on, can someone please help me with an example rules which may get me going, let me know thanks. _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to = "freebsd-questions-unsubscribe@freebsd.org"