On Tue, Sep 30, 2003 at 02:47:44PM +1000, Imran Ahmad wrote:
> I am running FreeBSD 5.1 on i386. I have compiled FWTK successfully and also most of 
> the application under FWTK are runnig fine.
> I have few ports configure to use "plug-gw". I have defined these ports into 
> Services file and inetd.conf and inetd is running with out any option.
> But every time my users try to access "plug-gw" defined service, system is 
> generating the following error
>  
> plug-gw[5235]: fwtkcfgerr: cannot decode datastream as port 

fwtk is a little bit outdated, i would recommend using xinetd:
(/usr/ports/security/xinetd)

service example
{
        disable = no
        socket_type = stream
        wait = no
        user = root
        bind = <your ip>
        redirect = <destination ip> <port>
}


or natd:

http://lists.freebsd.org/pipermail/freebsd-questions/2003-April/004284.html

hth,
toni
-- 
Kann man etwas nicht verstehen, dann urteile man | toni at stderror dot at 
lieber gar nicht, als dass man verurteile.       | Toni Schmidbauer
-- Rudolf Steiner                                | 

Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to