From owner-freebsd-net@FreeBSD.ORG Sat Apr 8 14:25:29 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org 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 0FE4A16A404 for ; Sat, 8 Apr 2006 14:25:29 +0000 (UTC) (envelope-from nkoch@gmx.de) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id F31FB43D48 for ; Sat, 8 Apr 2006 14:25:27 +0000 (GMT) (envelope-from nkoch@gmx.de) Received: (qmail invoked by alias); 08 Apr 2006 14:25:25 -0000 Received: from N9864.n.pppool.de (EHLO xp2800.koch) [89.50.152.100] by mail.gmx.net (mp034) with SMTP; 08 Apr 2006 16:25:25 +0200 X-Authenticated: #472702 From: Norbert Koch To: freebsd-net@freebsd.org Date: Sat, 8 Apr 2006 16:25:14 +0200 User-Agent: KMail/1.9.1 MIME-Version: 1.0 Content-Disposition: inline Message-Id: <200604081625.15039.nkoch@gmx.de> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 Subject: forward a tcp stream through rs232 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Apr 2006 14:25:29 -0000 Hello. I want to forward one or more tcp ports through the rs232 line. What I want is to forward e.g. ssh and vnc for remote control purposes via modems. That means: A client machine running an application that listens to a port and reliably forwards tcp streams to a server machine where an other applications binds to the service port. Server: Client: ssh port <---> application <---> // <---> application <---> port <---> PuTTY I know I could just use ppp, but the client side will be a windows machine and I do not want to have the overhead of a complete TCP/IP protocol on the serial line. And I also do not want to have to configure IP addresses. Does anybody know about some quick and dirty solution for that? If not, is there at least some serial i/o library with a reliable packet transfer protocol like e.g. HDLC/LAPBC or DDCMP or something similar? I did not find anything in the ports that was helpful. I could but do not want to re-invent a wheel, which surely has been invented more than once in the last century;-) Thank you, Norbert Koch