home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 35 Internet / 35-Internet.zip / isdnpm29.zip / masquere.txt < prev    next >
Text File  |  1997-05-04  |  4KB  |  96 lines

  1.  
  2.  
  3.  
  4. The 'IP-Masquerading' feature ( IP-M ):
  5.  
  6.     In IP packages the IP-masquerading function manipulates
  7.     for each outgoing IP package the sender's IP address and port.
  8.     These manipulations are reset when incoming IP packages are received.
  9.  
  10.  
  11.     When is IP-M useful?
  12.  
  13.     1.) Your provider has assigned you ONE dynamic or fixed IP address
  14.         but you wish to provide other computers in your LAN with an
  15.         internet access, too.
  16.  
  17.                                 LAN
  18.  
  19.                                         10.1.1.1   +-----------+
  20.                                     |              |  Linux    |
  21.             +---------------+       +--------------+           |
  22.             |               |       |              |           |
  23.             |         10.1.1.254    |              +-----------+
  24.             |               |       |
  25.   ISDN      |  OS/2 mit     +-------+              +------------+
  26.             |   ISDNPM      |       |   10.1.1.2   |  W95       |
  27.   ......... |               |       +--------------+            |
  28.             +---------------+       |              |            |
  29.                                     |              +------------+
  30.    132.130.4.5                      |
  31.                                     |              +------------+
  32.                                     |   10.1.1.3   |  OS/2      |
  33.                                     +--------------+            |
  34.                                     |              |            |
  35.                                     |    ......    +------------+
  36.                                     |
  37.  
  38.         The following configurations are required on your ISDNPM machine:
  39.  
  40.         1.1 Configuration of the Lan interface (TCPCFG.EXE)
  41.  
  42.         1.2 Make sure the forwarding of IP packages between your LAN
  43.             and the serial interface (sl0) as well as the 'IP FORWARDING'
  44.             function are active. (TCPCFG.EXE)
  45.  
  46.         1.3 The IP-M function must have been activated in 'isdn.cfg'
  47.  
  48.                 [ip]
  49.  
  50.                 ...
  51.  
  52.                 if_masquerade : 2           // all IP packages will be
  53.                                             // modified
  54.  
  55.                 if_masquerade : 3           // the IP packages of the
  56.                                             // computer on which ISDNPM is run
  57.                                             // are not modified.
  58.                                             // There may be Servers on this
  59.                                             // computer.
  60.  
  61.         The 'DEFAULT-ROUTE' parameter of the computers making up the LAN
  62.         must indicate to the OS/2 computer (10.1.1.254)
  63.  
  64.  
  65.         1.4 If the IP address of your provider is assigned during a
  66.             login procedure this must be made clear to the system.
  67.  
  68.              rc = SETLOCALIP(Channel,LocalIp)
  69.  
  70.  
  71.     2.) Your provider has assigned you ONE dynamic IP address. This may
  72.         cause problems when the connection is set up with 'AUTODIAL'
  73.         (i.e. the IP connection is not achieved immediately)
  74.         IP-M helps you to get around this problem.
  75.  
  76.         2.1 When configuring you ISDNPM pretend to have a fixed IP address
  77.             (NO 'IfconfigFile' in isdnuser.cfg and NO interface configuration
  78.             in TONLINE.FNC)
  79.  
  80.         2.2 Activate IP-M in 'isdn.cfg'
  81.  
  82.                 [ip]
  83.  
  84.                 ...
  85.  
  86.                 if_masquerade : 2           // all IP packages will be
  87.                                             // modified
  88.  
  89.     What IP-M cannot do:
  90.  
  91.     It is NOT possible to establish any connections to the PCs of the LAN
  92.     from outside (from the internet).
  93.     When ISDNPM is installed on a PC this machine may NOT be used as a
  94.     server (for FTPD...).
  95.  
  96.