linux & ipmasq

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Kevin O'Connor
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)


From fredlogo" < Thu Mar 16 06:34:36 2000
From: fredlogo" < (fredlogo)
Date: Wed, 15 Mar 2000 23:34:36 -0700
Subject: 486 Server: partition sizes, ACE 5000, firewall, webmin, wine, newbie Plug meetings
References: <>
Message-ID: <002101bf8f11$b31b73c0$4d19fad1@Fredlogo>

Well I have decided to built a 486 Linux box to tie my DSL line into and
then network from there. I'll be using SuSE linux 6.2.

Partitions: Some of the linux security info I've read suggests putting
/var, /usr, and other directories on separate partitions. How big should I
make these partitions? Is there a percentage of drive space that each
should be allotted?

ACE 5000 MWave modem: I have a voice modem, soundcard, CD-rom control
combination card and a non-ide cdrom. Have any of you been able to
configure these to run under Linux? I'm more interested in the sound card
and the cd-rom but could use the modem for an answering machine.

Firewall: I've read about ipchains and other firewall configurations. What
is the easiest to install and configure that would enable me to just get up
and running and have some protection until I get more Linux acclimated?

Webmin: Is this the simplest way to go on setting up and administering my
Linux server.

Windows 98: I still will have to use Windows applications for my business
and have been trying to connect to Wine headquarters at www.winehq.com. is
that url no longer valid?

There was some discussion about having Newbie meetings to help newbies get
started.
Have those started or stalled?

Thanks,
Fred