From owner-freebsd-questions Mon May 19 15:35:26 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id PAA23643 for questions-outgoing; Mon, 19 May 1997 15:35:26 -0700 (PDT) Received: from sunsrv5.lrz-muenchen.de (sunsrv5.lrz-muenchen.de [129.187.10.15]) by hub.freebsd.org (8.8.5/8.8.5) with SMTP id PAA23635 for ; Mon, 19 May 1997 15:35:21 -0700 (PDT) Received: from sun1.lrz-muenchen.de by sunsrv5.lrz-muenchen.de; Tue, 20 May 97 00:35:19 +0200 Received: by sun1.lrz-muenchen.de (5.x/SMI-SVR4) id AA15444; Tue, 20 May 1997 00:35:18 +0200 From: Joachim.Wunder@lrz.tu-muenchen.de (Joachim Wunder) Message-Id: <9705192235.AA15444@sun1.lrz-muenchen.de> Subject: HELP: IP Masquerading Probs To: questions@FreeBSD.ORG Date: Tue, 20 May 1997 00:35:18 +0200 (MET DST) X-Mailer: ELM [version 2.4 PL25] Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: owner-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Hi! I have a BSDi 2.1 and a FreeBSD 2.2.1 box. The BSDi box has the following routing table: Destination Gateway Flags Refs Use Interface default 10.0.0.217 UGS 1 611 ne0 10/24 link#1 UC 0 0 ne0 10.0.0.216 127.0.0.1 UGHS 1 21 lo0 10.0.0.217 0:0:b4:3c:6d:c9 UHL 2 81 ne0 10.0.0.255 link#1 UHL 1 2 ne0 127.0.0.1 127.0.0.1 UH 0 3 lo0 The FreeBSD box has the following routing table: Destination Gateway Flags Refs Use Netif Expire default 129.187.24.125 UGSc 2 639 tun0 10/24 link#1 UC 0 0 10.0.0.216 0:0:b4:3a:96:1e UHLW 2 5375 ed0 927 10.0.0.217 0:0:b4:3c:6d:c9 UHLW 1 26 lo0 10.0.0.255 ff:ff:ff:ff:ff:ff UHLWb 1 28 ed0 127.0.0.1 127.0.0.1 UH 0 0 lo0 129.187.24.125 129.187.24.146 UH 2 0 tun0 I am using NAT on the FreeBSD box and I am having the following problems: An rlogin from both machines to any other internet machines show: rlogind: Permission denied. An rlogin between both machines work correct! And: /etc/hosts on the FreeBSD machine works fine /etc/hosts on the BSDi machine doesn't work if I add the default route to the FreeBSD machine.:( What am I doing wrong? TIA, Achim -- EMail: Joachim.Wunder@LRZ-Muenchen.DE