irc, ftp and masquerading

i have a linux box configures with ipmasquerading. it's working because a can access internet and send e-maisl from any machine on my intranet.

i loaded the modules for ftp and irc but, how configure the mirc and the ws-ftp to work?

the mirc ask for:
use socks firewall? -i'm using ipfwadm, select it?
protocol: socks 4 or socks 5 ...
hostname: i inserted the firewall ip.
user id??
port. what port should i use, do i have to configure something on my linux box?
iniciate dcc's through firewall - has to be selected?

the ftp:
asks for the samething that on mirc.. but has more, what kinf of
firewall: transparent? etc.
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

First, I am assuming you are using a different internal machine on your network to access the internet through your Linux firewall machine.  If this is true, you need to first have the default gateway set to be your Linux box ip intranet ip address.  Then in ftp program, you should be able to just access anything as if teh firewall were transparent.  If you have packet forwarding enabled on the linuxbox, it is transparent.  Your irc account password and username is what is being requested.  I would select socks 4.  Not sure which port irc uses.  Let me check.  FTP will use port 21 in most cases, but it depends on the server you are logging into.  The most important thing to realize here is that the linux machine is not going to have anything to do with the configuration of the client applications on the internal machines on your network, unless the ftp or irc server you are logging onto IS your own linux machine.  You really just behave as if you were connected directly to the internet via a modem, etc.
If you have loaded all of the modules for ipmasq and ipmasq is configured correctly. Then all you have to do is configure you client software as if their is no firewall. The firewall most of this software refers to is a proxy based firewall. In your case ignore anything dealing with a firewall as it is not needed.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Once you've selected the right modules under /etc/rc.d/rc.modules and enabled masquerading, you should be able to use the Internet transparently, without even having to inform that you have a firewall...

 Note that ipfwadm is deprecated, consider changind to ipchains.

 Good luck!
Daniel_AAuthor Commented:

it's all working now!
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.