linux & ipmasq

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: KevinO'Connorkevin_oconnor@geocities.com
Date:  
Subject: linux & ipmasq
Marc,
    Since you are running Mandrake 7 (I just installed this a couple weeks
ago myself) you are running a 2.2.14 kernel. With 2.2 and later kernels,
you are using IPCHAINS. 


The HOWTO for IPCHAINS can be found at:
http://www.rustcorp.com/linux/ipchains/HOWTO.html

The HOWTO for IPMASQ can be found at:
http://www.e-infomax.com/ipmasq/ipmasq-HOWTO-1.82.html

Exactly where the lines go depends on how you have set it up. If it is
set up per the HOWTO, probably '/etc/ipchains.rules' or
'/etc/rc.d/rc.firewall'. You will know if you are in the right place
because you will see similar looking lines in the file.

See also the man pages:

#man ipchains
#man ipfw

Since they ran out of room on the Mandrake 7 CD, you will probably want
to get the whole set of HOWTOs from:
http://www.linuxdoc.org/docs.html#howto

I grabbed the HTML version and serve them up w/ Apache.

If my attempt at helping you out proves inadequate, ask here again and
one of the more experienced folks will help you out.

Kevin O



Marc wrote:
>
> Hi all,
> I'm fairly new to linux and ran across a problem that I'm not sure how to
> fix. I'm running a Linux box (Mandrake 7.0), which is set up as a router for
> my other winblows comps. I am trying to use a program called battlecom(on
> windows comp), which has not worked since I started using my linux box as a
> router.
> I found the config below on the website of battlecom, but I wasnt sure where
> I'm supposed to enter these lines. Do they go into the etc/rc.d/rc.local
> file??
> Any help is highly appreciated.
> Thanks
> Marc
>
> Step 1: You need to have root or su access.
> Step 2: Find the ipmasqadm rpm for ipchains or the ipautofw rpm if you're
> using ipfwadm and install the RPM (if not already installed... can be found
> at rpmfind.net)
> Step 3: For IP Chains use this command set:
>
> ipmasqadm autofw -A -v -r udp 2300 2400 -h www.xxx.yyy.zzz
> ipmasqadm autofw -A -v -r tcp 2300 2400 -h www.xxx.yyy.zzz
> ipmasqadm autofw -A -v -r tcp 47624 47624 -h www.xxx.yyy.zzz
> ipmasqadm autofw -A -v -r udp 47624 47624 -h www.xxx.yyy.zzz
> ipmasqadm autofw -A -v -r udp 28800 28900 -h www.xxx.yyy.zzz
>
> For ipfwadm:
>
> ipautofw -A -v -r udp 2300 2400 -h www.xxx.yyy.zzz
> ipautofw -A -v -r tcp 2300 2400 -h www.xxx.yyy.zzz
> ipautofw -A -v -r tcp 47624 47624 -h www.xxx.yyy.zzz
> ipautofw -A -v -r udp 47624 47624 -h www.xxx.yyy.zzz
> ipautofw -A -v -r udp 28800 28900 -h www.xxx.yyy.zzz
>
> You should replace www.xxx.yyy.zzz with the IP Address of the PC behind the
> masquerade that will be running the BattleCom Client.
>
> _______________________________________________
> Plug-discuss mailing list -
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss


--
Kevin O'Connor

"Waving away a cloud of smoke, I look up, and am blinded by a bright,
white
light. It's God. No, not Richard Stallman, or Linus Torvalds, but God.
In
a booming voice, He says: "THIS IS A SIGN. USE LINUX, THE FREE UNIX
SYSTEM
FOR THE 386."
(Matt Welsh)