On Fri, 10 Dec 1999 10:18:43 +0100, Onno wrote: >At 09:02 AM 12/9/99 -0800, Dave Wiard wrote: >>could somebody help me out with this one. i'm trying to masq my amd >>behind my alpha, but i only get the following error reported back upon >>trying to exec ipmasqadm: >> >>/usr/sbin/ipmasqadm portfw -a -P tcp -L $SEEN_IP 4000 -R $HIDE_IP 4000 >>portfw: setsockopt failed: Invalid argument > >Are you trying to masq ICQ ? > >For normal masq usage use ipchains, for ICQ there is a beta kernel module.
I think we have a little misunderstanding here. I've already tried to help Dave privately. From what I've understood he's NOT trying to masq the connection, but he's trying to forward traffic to the ICQ port on his router to one of his internal LAN machines. For this purpose the above command is perfectly ok. I'm using the same commands to redirect POP3, SMTP, ssh, etc. to my internal server machine. HOWEVER, he gets the above error message which I can't explain. He has by my directions built the portfw module and loaded it. Loading it works without errors so he should be fine, but still he gets the error "setsockopt....". According to my experience this error message is a message that originates in the kernel. *I* can execute the exact same statement on *my* box without any error messages, so I guess there must be "something" wrong with his setup (wrong ipmasqadm binary?!). -- Sign the EU petition against SPAM: L I N U X .~. http://www.politik-digital.de/spam/ The Choice /V\ of a GNU /( )\ Generation ^^-^^