From owner-freebsd-questions@FreeBSD.ORG Sat Apr 30 12:06:54 2005 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 ADC1416A4CE for ; Sat, 30 Apr 2005 12:06:54 +0000 (GMT) Received: from mta10.adelphia.net (mta10.adelphia.net [68.168.78.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2543843D39 for ; Sat, 30 Apr 2005 12:06:54 +0000 (GMT) (envelope-from bob@a1poweruser.com) Received: from barbish ([69.172.31.81]) by mta10.adelphia.net (InterMail vM.6.01.04.01 201-2131-118-101-20041129) with SMTP id <20050430120653.XLUB17140.mta10.adelphia.net@barbish>; Sat, 30 Apr 2005 08:06:53 -0400 From: To: "Fafa Diliha Romanova" , Date: Sat, 30 Apr 2005 08:06:49 -0400 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 In-Reply-To: <20050430115036.3430F4BEAD@ws1-1.us4.outblaze.com> Importance: Normal Subject: RE: Please help me with PF (thanks) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: bob@a1poweruser.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 30 Apr 2005 12:06:54 -0000 Simple question, do problems 1, 2, & 3 still happen when you comment out the pf statements in rc.conf and run with out a firewall? -----Original Message----- From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd-questions@freebsd.org]On Behalf Of Fafa Diliha Romanova Sent: Saturday, April 30, 2005 7:51 AM To: questions@freebsd.org Subject: Please help me with PF (thanks) Hello! Problems: 1. BIND stops workin after a while 2. I cannot establish SSH connections 3. I cannot FTP to certain sites 4. PF crashes my computer on FTP uploads So I'm seeking solutions to these problems. And maybe ways to SIMPLIFY my pf.conf: ----------------------------- int_if="ep0" ext_if="lnc0" # *** Options # set block-policy drop # *** Scrub incoming packets # scrub in all # *** NAT # nat on $ext_if from $int_if:network to any -> ($ext_if) rdr on $int_if proto tcp from any to any \ port 21 -> 127.0.0.1 port 8021 # *** Default deny policy # block drop log all # *** Pass loopback traffic # pass quick on { lo0 $int_if } # *** Outgoing # pass out on $ext_if inet proto { tcp, udp, icmp } \ from ($ext_if) to any keep state # *** Bootstrap # pass out on $ext_if inet proto udp \ from any port 68 to any port 67 keep state # *** DNS and NTP # pass out on $ext_if inet proto udp \ from ($ext_if) to any port { 53, 123 } keep state # *** SSH, HTTP and Ident # pass in on $ext_if inet proto tcp \ from any to ($ext_if) port { 22, 80, 113 } flags S/SA keep state # *** Active FTP # pass in on $ext_if inet proto tcp \ from port 20 to ($ext_if) user proxy flags S/SA keep state ----------------------------- Thank you all so much! -- Fafa -- ___________________________________________________________ Sign-up for Ads Free at Mail.com http://promo.mail.com/adsfreejump.htm _______________________________________________ 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"