Linux Advanced Routing and Traffic Control list
 help / color / mirror / Atom feed
* [LARTC] routing with 2.4 kernel
@ 2001-10-26 11:45 Fabian Gervan
  2001-10-27  1:54 ` Greg Scott
  0 siblings, 1 reply; 2+ messages in thread
From: Fabian Gervan @ 2001-10-26 11:45 UTC (permalink / raw)
  To: lartc

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/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-10-27  1:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-10-26 11:45 [LARTC] routing with 2.4 kernel Fabian Gervan
2001-10-27  1:54 ` Greg Scott

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox