I have a similar setup. However, I don't use ipfw so you may not be able to
use my advice. I just run natd on my firewall, and have it forward the
ports I need to my main machine.
Here's an excerpt from my /etc/rc.conf:
natd_flags="-redirect_port tcp 10.0.0.10:6699 6699 \
-redirect_port tcp 10.0.0.10:113 113"
The interesting entry is the last one. The firewall forwards incoming
connections on ports 6699 and 113 to my main box, which is 10.0.0.10 on my
internal network. Napster defaults to use port 6699, but you can tell it to
use a different one if you'd rather. At least the official windows client..
if you're using another client, I'm not sure what your options are. The
windows napster client _will_ run behind a firewall, just set the port to 0
in the sharing preferences. (In that case, though, you won't be able to get
files from anyone else who is also behind a firewall.) 113 is for identd,
which I chose to run on my machine rather than the firewall.
I don't know offhand what ports ICQ uses, but you can forward as many ports
as you want in the manner outlined above (assuming you're using natd...)
> Hello Everybody,
> I guess this must have been asked too many times already, however i could
> not find the information suitable for me. Therefore the question again:
> I made a FreeBSD 4.1 box, which is my gateway to the cable modem internet
> my house. Everything is working great except two things that won't work.
> Napster and ICQ do not work anymore. I do not receive any files etc...
> ICQ, and Napster does not work at all anymore.
> Could anybody help me and explain me which are the IPFW rules that I could
> insert to enable this traffic. (Or could anybody give me the rules for
> forwarding all the packets, since I do not really need a "secure" setting)
> Thanks in advance,
> Pascal Willemssen