From owner-freebsd-questions@FreeBSD.ORG Mon Dec 3 13:24:45 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 11C1B86C for ; Mon, 3 Dec 2012 13:24:45 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from email2.allantgroup.com (email2.emsphone.com [199.67.51.116]) by mx1.freebsd.org (Postfix) with ESMTP id BFF3E8FC0C for ; Mon, 3 Dec 2012 13:24:44 +0000 (UTC) Received: from dan.emsphone.com (dan.emsphone.com [172.17.17.101]) by email2.allantgroup.com (8.14.5/8.14.5) with ESMTP id qB3DOcuQ010130 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 3 Dec 2012 07:24:38 -0600 (CST) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (smmsp@localhost [127.0.0.1]) by dan.emsphone.com (8.14.5/8.14.5) with ESMTP id qB3DObK7043409 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 3 Dec 2012 07:24:37 -0600 (CST) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.14.5/8.14.5/Submit) id qB3DOblB043408; Mon, 3 Dec 2012 07:24:37 -0600 (CST) (envelope-from dan) Date: Mon, 3 Dec 2012 07:24:37 -0600 From: Dan Nelson To: saeedeh motlagh Subject: Re: redirect incoming telnet to com port Message-ID: <20121203132437.GA18331@dan.emsphone.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-OS: FreeBSD 8.3-STABLE User-Agent: Mutt/1.5.21 (2010-09-15) X-Virus-Scanned: clamav-milter 0.97.6 at email2.allantgroup.com X-Virus-Status: Clean X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (email2.allantgroup.com [172.17.19.78]); Mon, 03 Dec 2012 07:24:38 -0600 (CST) X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00, RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on email2.allantgroup.com X-Scanned-By: MIMEDefang 2.73 Cc: freebsd-questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Dec 2012 13:24:45 -0000 In the last episode (Dec 03), saeedeh motlagh said: > hello everybody > > i have freebsd8.2. i want to redirect incoming telnet from telnet port to > a com port. i mean if somebody telnet to my system with a specific port > (or 22 which is default telnet port), connect to com port and can talk to > modem (something like cisco). (Port 23 is telnet, btw. Port 22 is ssh) > is it possible or not? There are probably a dozen ports that do this, all in the comms category of the ports tree. You can choose anything from a dumb telnet interface with no line control (comserv, ser2net, tcpser), to a RFC-2217 interface that gives you full low-level control over a remote serial port (sredird), to a "managed" system like with optional encryption and per-user access control (conserver). -- Dan Nelson dnelson@allantgroup.com