lkml.org 
[lkml]   [1997]   [Jan]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Again: Maquerading FireWall Feature and New Init behaviour !
Date
Stefan Bosnjakovic wrote:
> The transparent masquerading works quite well for me with the 2.0.25/27 kernel,
> but it does not seem to forward anything with 2.1.17-2.1.19. Any ideas?

Try adding rules for outgoing and incoming packets with ipfwadm:
e.g.
ipfwadm -F -a accept -m -S xx.xx.xx.0/24 -D 0.0.0.0/0 -W eth1
ipfwadm -F -a accept -S 0.0.0.0/0 -D xx.xx.xx.0/24 -W eth0

and

echo 1 >/proc/sys/net/ipv4/ip_forwarding

--
Harald Hoyer
saturn@studbox.uni-stuttgart.de
http://saturnnet.wh.uni-stuttgart.de/~saturn
-------------------------------------------------------------------------
> Someone:
> Asking Linus to add such things in the kernel is as pertinent as asking
> to still support 80286 CPU (IMHO).
We are working on it.
Alan Cox

\
 
 \ /
  Last update: 2005-03-22 13:38    [W:0.254 / U:0.108 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site