From owner-freebsd-net@FreeBSD.ORG Wed Aug 24 15:08:40 2005 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 A366316A420 for ; Wed, 24 Aug 2005 15:08:40 +0000 (GMT) (envelope-from fin7pl@dnainternet.net) Received: from smtp2.dnainternet.net (smtp2.dnainternet.net [62.240.72.111]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0E09943D46 for ; Wed, 24 Aug 2005 15:08:39 +0000 (GMT) (envelope-from fin7pl@dnainternet.net) Received: from b-179-254.dsl.ipy.dnainternet.fi ([212.149.179.254]:4799 "EHLO PATE.dnainternet.net" TLS-CIPHER: ) by smtp2.dnainternet.net with ESMTP id S1230067AbVHXPIi convert rfc822-to-8bit (ORCPT ); Wed, 24 Aug 2005 18:08:38 +0300 Message-Id: <6.2.0.14.2.20050824180234.03fe4f88@mail.dnainternet.net> X-Mailer: QUALCOMM Windows Eudora Version 6.2.0.14 Date: Wed, 24 Aug 2005 18:04:51 +0300 To: freebsd-net@freebsd.org From: Patrick Lindholm Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1"; format=flowed Content-Transfer-Encoding: 8BIT Subject: Routing? 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: Wed, 24 Aug 2005 15:08:40 -0000 Here´s the deal I have my Freebsd 4.10 gateway/nat/firewall on my network. On my LAN i have couple WIN machines and a Linux Redhat machine working ok to outside and other machine´s with IP 192.168.255.252 eth0 I have one software running on Redhat Machine that uses SLIP and i have configured sl0 with 192.168.255.252 P-t-P 192.168.0.6 The 192.168.0.6 is the IP of that Software Ok with these configurations i can connect from my Linuxbox locally to the software with 192.168.0.6 But the 192.168.0.6 Does´nt appear to be available for other computers on my LAN So i checked out some manuals and used command: ARP -Ds 192.168.0.6 sl0 pub and 92.168.0.6 came visible to other computers on my LAN. So now i thought that all i have to do is to put on my BSDBOX natd.conf to redirect all requests from 23 and 81 to 192.168.0.6 right? and allow of course ports from Firewall (My software with the SLIP has entrance via HTTP and TELNET) Well nobody can´t still connect to my Linux software from outside? From my LAN it´works ok. I tried also adding allow ip from any to 192.168.0.6 via ep0 and that worked for a while (now anybody from outside can connect to my software) It works only for couple hours and the no response? I´cant understand how the allow ip from any to 192.168.0.6 can help. Well if anyone has understood what i´m trying to do here and wants to send couple hints i would be glad. :-) Thanks for your reply. Patrick