forwarding with linux 2.2.12

forwarding with linux 2.2.12

Post by Rob Fon » Tue, 03 Jul 2001 22:44:41



Hi,

I'm looking for any information that will enable me to set up forwarding
on my firewall that will directly forward any address in the range
1.2.3.10-200 to 192.168.0.10-200, where the last digit remains the same
on both sides.

Eg. if an incoming connection is received for 1.2.3.4.20 (on whatever
port) it is forwarded to 192.168.0.20 (on same port) on the other
interface. Obviously this is to take place after the packet has passed
through the filtering chains to get rid of the dodgy stuff.

Thanks in advance for any help.

Rob.

 
 
 

forwarding with linux 2.2.12

Post by Wine Developmen » Wed, 04 Jul 2001 04:03:42



> Hi,

> I'm looking for any information that will enable me to set up forwarding
> on my firewall that will directly forward any address in the range
> 1.2.3.10-200 to 192.168.0.10-200, where the last digit remains the same
> on both sides.

> Eg. if an incoming connection is received for 1.2.3.4.20 (on whatever
> port) it is forwarded to 192.168.0.20 (on same port) on the other
> interface. Obviously this is to take place after the packet has passed
> through the filtering chains to get rid of the dodgy stuff.

Others will probably post about ipmasq, I'll just say it would be a
_very_ good idea to upgrade to a newer kernel, there have been a few
external security holes fixed since 2.2.12.

--
Keith Matthews                  Spam trap - my real account at this
                                                        node is keith_m

Frequentous Consultants  - Linux Services,
                Oracle development & database administration

 
 
 

forwarding with linux 2.2.12

Post by Rob Fon » Wed, 04 Jul 2001 18:19:48



> Others will probably post about ipmasq, I'll just say it would be a

MASQ is no good - that maps a single "public" IP to all the internal. I
want to map on a one-to-one basis.

Mind you - I've changed my mind since then. I think I'm going to go with
port forwarding using ipmasqadm instead.

Quote:> _very_ good idea to upgrade to a newer kernel, there have been a few
> external security holes fixed since 2.2.12.

* hangs head in shame *

Yeah I know, you're totally right. I'd really like to get the box updated
to a 2.4.x kernel. The problem is I just can't afford that sort of
downtime from the FW at the moment. The hassle from the L Users would be
unbearable! ;o)

Time to talk to the Tech Director.... <EVIL>hahahahaha</EVIL> =o)

Cheers,
Rob.

 
 
 

forwarding with linux 2.2.12

Post by Luke Voge » Wed, 04 Jul 2001 19:11:46



> Yeah I know, you're totally right. I'd really like to get the box updated
> to a 2.4.x kernel. The problem is I just can't afford that sort of
> downtime from the FW at the moment. The hassle from the L Users would be
> unbearable! ;o)

Downtime?

How long does it take to reboot your box?

--
Regards
Luke
------
Q:  What does FAQ stand for?
A:  We are Frequently Asked this Question, and we have no idea.
------
PLEASE NOTE: Spamgard (tm) installed.

------

 
 
 

forwarding with linux 2.2.12

Post by Rob Fon » Fri, 06 Jul 2001 19:06:54



> How long does it take to reboot your box?

The reality is that the whole box could do with a reinstall rather than
upgrading all the individual packages. ie. (g)libc, the kernel, ssh(d),
etc. all needs updating.

I'm in the process of some fairly major changes to our network anyway, so
maybe I can get a fresh install as part of the process.

 
 
 

1. Help: Baldur's Gate Port Forwarding with 2.2.12 kernel

Hi,

     I'm running Linux Slackware (2.2.12 kernel) as a Gateway for 2
Windows machines.  I'm having trouble getting Baldur's Gate to work
through the Linux box. I know that I have to open ports 2300 - 2399
and 47624.

Someone posted the following lines but it didn't work for me. Not sure
if I'm missing something else.

 /usr/sbin/ipmasqadm autofw -F
 # forward Baldur's Gate packets
 /usr/sbin/ipmasqadm autofw -A -r tcp 47624 47624 -h 192.168.3.10
 /usr/sbin/ipmasqadm autofw -A -r udp 47624 47624 -h 192.168.3.10
 /usr/sbin/ipmasqadm autofw -A -r tcp 2300 2399 -h 192.168.3.10
 /usr/sbin/ipmasqadm autofw -A -r udp 2300 2399 -h 192.168.3.10

Any help would be much appreciated.

2. Can this font trick be done?

3. linux kernel 2.2.12 and DAC-960

4. WordPerfect 8 console version?

5. UFS and Linux 2.2.12

6. EIDE problems?

7. Linux 2.2.12 problem with X

8. NE2500 does it work ???

9. Re drivers for Intel 82562ET network Card on Linux 2.2.12-20

10. NIS using Corel Linux 2.2.12

11. Linux Kernel Modules 2.2.12 question

12. Linux 2.2.12 with ASUS P5A motherboard onchip sound

13. MTD/JFFS and Flash 28F640 on Linux kernel 2.2.12