From owner-freebsd-net@FreeBSD.ORG Tue Apr 26 22:52:36 2005 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8CC4B16A4CE for ; Tue, 26 Apr 2005 22:52:36 +0000 (GMT) Received: from blurp.one.pl (blurp.t2.ds.pwr.wroc.pl [156.17.224.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0A9D143D39 for ; Tue, 26 Apr 2005 22:52:36 +0000 (GMT) (envelope-from gizmen@blurp.one.pl) Received: by blurp.one.pl (Postfix, from userid 1001) id EDFE6700; Wed, 27 Apr 2005 00:52:30 +0200 (CEST) Date: Wed, 27 Apr 2005 00:52:30 +0200 From: GiZmen To: freebsd-net@freebsd.org Message-ID: <20050426225230.GA61019@procent.t2.ds.pwr.wroc.pl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.9i Subject: Changing packets ttl's X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Apr 2005 22:52:36 -0000 Hi, I am searching how to change packet ttl. I am runing a freebsd 5.4 gateway and i would like to change ttl of any packets that are going out from my internal interface. My goal is to change ttl to 1 so the last hop is the next host in my internal network. I want to prevent people to do small NAT in my network. I know that changing ttl's is easy to bypass but not for normal user :) I am using pf as my packet filter but there is no option to change ttls to smaler value. Please help me with this problem. Big thanks -- Best Regards: GiZmen UNIX is user-friendly; it's just picky about its friends UNIX is simple; it just takes a genius to understand its simplicity