From mboxrd@z Thu Jan 1 00:00:00 1970 From: Fabian Gervan Date: Fri, 26 Oct 2001 11:45:09 +0000 Subject: [LARTC] routing with 2.4 kernel Message-Id: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org Hello I am new with 2.4 kernel an have trouble to setup routing as I had in 2.2 kernel: My setup: server1 eth0:200.47.43.240 (FTP SERVER) server2 eth0: 200.47.43.241 (MASQ BOX) eth1: 10.2.0.1 client1: 10.2.0.2 client2: 10.2.0.3 clientN: 10.2.0.nnn I want to clients 10.2.0.0/16 connect to my FTP server with 10.2 IP (no internet IP). 200.47.43.240 is a linux 2.2 kernel, it already have a right setup for routing to 10.2.0.0/16 clients, I have trouble with 200.47.43.241 (linux 2.4). My actual setup: (in 200.47.43.241) iptables -A FORWARD -s 10.2.0.0/16 -d 200.47.43.240 -j ACCEPT //it doesn't work) iptables -t nat -A POSTROUTING -s 10.2.0.0/16 -j MASQUERADE -- Saludos, Fabian Gervan _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/