/* HINT: Search archives @ http://www.indyramp.com/masq/ before posting! */



I don't have a script for you, but I think rewording your functional
description may help you get the solution going.

You want to masquerade your internal 192.168.10.0/24 subnet to the external
net as 216.16.11.35/32.  Get this working first - see the IPMASQ howto.
Verify that you can get from 192.168.10.23 to the external net and back by
pinging an external address.  You might want to use traceroute to verify
that it's being masqueraded through the Linux router.

Once IPMASQ is working properly, you then want to set up port forwarding
from 216.16.11.35 port 23 to 192.168.10.23 port 23.

Note that in order to get the first step, masquerading, working properly,
you will have to either change the gateway on 192.168.10.250 to the Linux
router you're using to masquerade (192.168.10.250) or configure the
192.168.10.3 router to route external packets through 192.168.10.250.
Changing the gateway is simpler

Ajit

-----Original Message-----
From:   [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of
[EMAIL PROTECTED]
Sent:   Tuesday, September 21, 1999 3:46 PM
To:     [EMAIL PROTECTED]
Subject:        [Masq]  (no subject)

/* HINT: Search archives @ http://www.indyramp.com/masq/ before posting! */



Setup:
----------------------------------------------------------------------------
-
  Internal telnet server:       192.168.10.23 mask 255.255.255.0
                        gateway:        192.168.10.3 - can't change.

  Linux Router:
                        Internal IP: 192.168.10.250 mask 255.255.255.0
                        External IP: 216.16.11.35 mask 255.255.255.240
----------------------------------------------------------------------------
-


I think I need to mask both IPs(interfaces) on the router machine so that
anything hitting the 216.16.11.35 address is rewritten as 192.168.10.250 and
forwarded to the 192.168.10.23 machine.  Then when the 192.168.10.23 machine
responds it replies to 192.168.10.250 which forwards to 216.16.11.35 and
returns the packets to its destination.

Can you help me with a sample script?  I've tried but have had much success.
I beginning to think this may not even be possible.

Adam


_______________________________________________
Masq maillist  -  [EMAIL PROTECTED]
Admin requests can be handled at http://www.indyramp.com/masq-list/ -- THIS
INCLUDES UNSUBSCRIBING!
or email to [EMAIL PROTECTED]

PLEASE read the HOWTO and search the archives before posting.
You can start your search at http://www.indyramp.com/masq/
Please keep general linux/unix/pc/internet questions off the list.


_______________________________________________
Masq maillist  -  [EMAIL PROTECTED]
Admin requests can be handled at http://www.indyramp.com/masq-list/ -- THIS INCLUDES 
UNSUBSCRIBING!
or email to [EMAIL PROTECTED]

PLEASE read the HOWTO and search the archives before posting.
You can start your search at http://www.indyramp.com/masq/
Please keep general linux/unix/pc/internet questions off the list.

Reply via email to