From mboxrd@z Thu Jan 1 00:00:00 1970 From: "John A. Sullivan III" Subject: Re: forwarding Date: Tue, 18 May 2004 13:02:57 -0400 Sender: netfilter-admin@lists.netfilter.org Message-ID: <1084899777.7261.17.camel@localhost> References: <33934.200.44.170.105.1084890127.squirrel@200.44.170.105> <1084891180.6410.18.camel@localhost> <34012.200.44.170.105.1084892235.squirrel@200.44.170.105> <1084892325.6417.40.camel@localhost> <34103.200.44.170.105.1084893176.squirrel@200.44.170.105> <1084895498.7289.7.camel@localhost> <34404.200.44.170.105.1084898303.squirrel@200.44.170.105> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <34404.200.44.170.105.1084898303.squirrel@200.44.170.105> Errors-To: netfilter-admin@lists.netfilter.org List-Help: List-Post: List-Subscribe: , List-Id: List-Unsubscribe: , List-Archive: Content-Type: text/plain; charset="us-ascii" To: alucard@kanux.com Cc: netfilter@lists.netfilter.org On Tue, 2004-05-18 at 12:38, alucard@kanux.com wrote: > All right, let me explain my current setup because is not working after > all your great help, let me put here step by step everything that is > currently going on here. > > -Server 1 has this /etc/rc.d/rc.firewall script: > > #----- > > -in order to avoid any eth0/eth1 packets confussion, I have only one NIC > in server2, the one that has the second webserver. This is the server2's > route output: > > -----route script > [root@linserv root]# route > Kernel IP routing table > Destination Gateway Genmask Flags Metric Ref Use Iface > 192.168.0.0 * 255.255.255.0 U 0 0 0 eth0 > 127.0.0.0 * 255.0.0.0 U 0 0 0 lo > default 192.168.0.1 0.0.0.0 UG 0 0 0 eth0 > -----route script > > It seems to be ok, from server2 I can access server1 thru 192,168 network > but, what concerns me is that, it takes too long to show the default > router, it gets stuck in lo about a minute. About accessing it from > server1 using telnet, i have a remote server trying to access ip:8080 and > it stills get no answer, even though the nmap record shows that port 8080 > in server one is filtered > > Thanx a lot for this great help, I really apreciated it > > Peace > Juan > Programmin' Python is like sugar... Sweet! ;) OK - it's good to simplify :-) You should not need to INPUT rule for 8080. The delay in finding the default route is route's attempt at reverse name resolution. Use route -n instead. Our next step is to trace. From what address are you attempting to telnet and where does that address live? -- John A. Sullivan III Chief Technology Officer Nexus Management +1 207-985-7880 john.sullivan@nexusmgmt.com