lkml.org 
[lkml]   [1996]   [Apr]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: ipfw
Date
> I am getting a problem when  start ipfw.
> It's giving:
>
> add maquerading all from 192.168.0.0/24 to 0.0.0.0/0
> ipfw: setsockopt(IP_FW_ADD_FWD): Invalid argument
>
> Can somebody pls help me out on this.

Get ipfwadm from ftp.xos.nl:/pub/linux/ipfwadm (take version 2.0beta2
for kernels 1.3.66 and above!) and issue the command:

ipfwadm -F -a masq -S 192.168.0.0/24 -D 0.0.0.0/0

--
-- Jos Vos <jos@xos.nl>
-- X/OS Experts in Open Systems BV | Phone: +31 20 6938364
-- Amsterdam, The Netherlands | Fax: +31 20 6948204


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