From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.62) (envelope-from ) id 1H6PRd-0000sm-MF for garchives@archives.gentoo.org; Mon, 15 Jan 2007 10:52:06 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.8/8.13.8) with SMTP id l0FAos7B014764; Mon, 15 Jan 2007 10:50:55 GMT Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.224]) by robin.gentoo.org (8.13.8/8.13.8) with ESMTP id l0FAjEvJ014614 for ; Mon, 15 Jan 2007 10:45:15 GMT Received: by wx-out-0506.google.com with SMTP id i30so2466157wxd for ; Mon, 15 Jan 2007 02:45:14 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Fp+RugQVfQGWeCxT8jJJYcmf1Xn3NvHh/P0r4BdLJANADfZuSWthRcaHLe/CPg5byh6xPdAdBvXhWN3VUeWdkSvu87yZP2/h+jt10n5aeKIE11qrx5aL1GeuTrMCqhd0Kwos668T9JZovIvu1mtW1dUUa6eAfC0ot4hUH4fb5dQ= Received: by 10.90.113.18 with SMTP id l18mr2650755agc.1168857914148; Mon, 15 Jan 2007 02:45:14 -0800 (PST) Received: by 10.90.56.8 with HTTP; Mon, 15 Jan 2007 02:45:13 -0800 (PST) Message-ID: <6142e6140701150245k4d8d20edncfdd49fc7613c063@mail.gmail.com> Date: Mon, 15 Jan 2007 11:45:13 +0100 From: "Daniel Pielmeier" To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Setting up a home router In-Reply-To: <20070115112602.d9f7e97c.hilse@web.de> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <6142e6140701141127ke803445jb5d9a89f8fa523a@mail.gmail.com> <20070115112602.d9f7e97c.hilse@web.de> X-Archives-Salt: 73149a9d-7023-4f10-a599-2c8c3daccb0e X-Archives-Hash: e05195ee41344706855233980347c818 > > route > > > > Kernel IP routing table > > Destination Gateway Genmask Flags Metric Ref Use Iface > > dslb-088-067-01 * 255.255.255.255 UH 0 0 0 ppp0 > > localhost * 255.255.255.0 U 0 0 0 eth0 > > loopback * 255.0.0.0 U 0 0 0 lo > > default dslb-088-067-01 0.0.0.0 UG 0 0 0 ppp0 > > Looking at this, I wouldn't even expect it to work at all, since the > only route via eth0 is for "localhost". But since you can connect > between router and desktop, I think you borked your /etc/hosts. > "localhost" clearly doesn't seem to be assigned to 127.0.0.1. So fix > your hostnames! > > > This here: > > > /etc/hosts > > > > 127.0.0.1 localhost > > 192.168.0.1 gentoo-vdr.linux gentoo-vdr > > 192.168.0.2 gentoo.linux gentoo > > ::1 localhost I think localhost is assigned to 127.0.0.1, or did i misunderstood something? > just can't be true if the routes above are the complete routes and you > can connect to your desktop from the router. I can connect from router to desktop and back ping and ssh are working, i can connect to the internet from the router, but i couldn't do this from the desktop > Another option than /etc/hosts may be a seriously broken dnsmasq config. I will post the config when i am back. > > > For those who are not familiar with shorewall here are the > > > generated iptables on the router. > > > > iptables -L -t filter > > > > Chain FORWARD (policy DROP) > > target prot opt source destination > > Empty FORWARD chain and policy DROP means everything not going to the > router itself is gonna be dropped. > > Note that you made yourself a hard time since there's DROP and REJECT > (built-in targets) and you also reference "Drop", "drop", "Reject" and > "reject" targets. I never used shorewall, but if that naming is from > them, they are clearly freaks. the whole iptables config is generated by shorewall, i recognised this different namings too. -- gentoo-user@gentoo.org mailing list