From owner-freebsd-net Thu Dec 27 18:22:25 2001 Delivered-To: freebsd-net@freebsd.org Received: from ns1.nttmcl.com (ns1.nttmcl.com [216.69.68.197]) by hub.freebsd.org (Postfix) with ESMTP id F230C37B41A for ; Thu, 27 Dec 2001 18:22:22 -0800 (PST) Received: from hsu (dhcp252.nttmcl.com [216.69.69.252]) by ns1.nttmcl.com (Postfix) with SMTP id BDD2DDE547; Thu, 27 Dec 2001 18:22:22 -0800 (PST) Reply-To: From: "Henry Su" To: "Julian Elischer" Cc: Subject: RE: socket call in the kernel Date: Thu, 27 Dec 2001 18:24:56 -0800 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 In-Reply-To: Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Same thing, it only works for telneting to test2:80 for test1. -----Original Message----- From: Julian Elischer [mailto:julian@elischer.org] Sent: Thursday, December 27, 2001 5:31 PM To: Henry Su Cc: freebsd-net@FreeBSD.ORG Subject: RE: socket call in the kernel put the forward rule as rule 50 and see what happens. On Thu, 27 Dec 2001, Henry Su wrote: > Hi, Julian: > > > Here's all the rules that I am using: > > [17:13:59][root@test2:~]$ ipfw show > 00100 0 0 allow ip from any to any via lo0 > 00200 0 0 deny ip from any to 127.0.0.0/8 > 00300 0 0 deny ip from 127.0.0.0/8 to any > 00400 0 0 allow udp from 0.0.0.0 2054 to 0.0.0.0 > 00500 1159 71707 allow ip from any to 216.69.69.254 > 00600 946 72546 allow ip from 216.69.69.254 to any > 00700 0 0 allow udp from any 67 to any 68 > 00800 16 4416 allow udp from any 68 to any 67 > 00900 20 1229 allow udp from any to 216.69.68.197 53 > 00910 20 4695 allow udp from 216.69.68.197 53 to any > 65533 39 2034 fwd 127.0.0.1,8800 log logamount 100 tcp from any to any 80 > 65535 393 35800 deny ip from any to any > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-net" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message