/sbin/ipchains -A forward -j MASQ -s 192.168.0.0/24 -d 0/0 
and eventualy
echo 1 > /proc/sys/net/ipv4/ip_forward
Good luck


On Wed, 24 Mar 1999, Robert Johannes wrote:

> Date: Wed, 24 Mar 1999 15:03:45 -0600 (CST)
> From: Robert Johannes <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: IP firewalling & masquerading with new kernel;
> 
> Hello everybody,
> I just installed kernel 2.2.4 and compiled ip_forward (and everything
> related to it), ip_masq, transparent proxy e.t.c, and I'm trying to figure
> out how to enable forwarding/masquerading via the ipchains tool.  
> 
> E.g, what would be the equivalent syntax using ipchains, for a command
> like this one used by ipfwadm?
> 
>       /sbin/ipfwadm -F -a m -S 192.168.0.0/24 -D 0.0.0.0/0
> 
> I read the manual pages but they don't make sense to me, that's why I'm
> contacting the list
> 
> Any help will be appreciated.
> 
> Robert
> 

---------------------------
Vesselin Mladenov
NetBG Communications Ltd.
Phone 1: +3592-9744260
Phone 2: +3592-9744261
---------------------------

Reply via email to