Re: Socks5 Error

Stefan Laudat (stefan@ns.art.ro)
Fri, 18 Dec 1998 15:26:58 +0200


> I have a newbie problem. I'm setting up a firewall and i want to allow the
> workstations to have IRC through socks5. My probelm is these socks5 error
> appears after i start the socks5 server:
>
> Bind failed 192.168.7.1:1080: Bad file descriptor
>
> Accept: Failed to make listening socket.
Hmm.. although you don't need rewt privileges to run socks maybe there
can be something wrong there... Can you send me a copy of your socks5 conf file?
It will be also useful to strace socks5 and attach the results to a future mail :)
I still don't get why ppl use socks instead of a good set of masquerade
rules... maybe U should try a ipchains -A forward -s 192.168.7.0/24 -d 0/0 -j MASQ if you're running a 2.1.xxx kernel or a ipfwadm -Fm -a acc -P tcp -S 192.168.7.0/24 -D 0/0 and use (on the local network) 192.168.7.1 as default gateway...

>
> Can somebody help me?

Yes we can, send us more info :)

-- 
Stefan Laudat
System Engineer - Dragon Art

"Power comes from the barrel of the gun"

-- Mao Tze Dong

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/