Koozali.org: home of the SME Server

port forwarding from two different puplic IPs

gardnc

port forwarding from two different puplic IPs
« on: July 04, 2004, 01:08:13 PM »
SME Clean install 6.0.1

Problem:

Pass Win2k Client Server to two different inside Win Servers.  Port is fixed at 3391

Solution?:

Successfully added two public IPs to the WAN card.  Now need to
pass 65.x.x.1:3391 to  192.168.x.1:3391
and 65.x.x.2:3391 to 192.168.x.2:3391

Has anyone been able to accomplish this or have a better solution for forwarding to two inside addresses for the same port?

Offline Boris

  • *
  • 783
  • +0/-0
port forwarding from two different puplic IPs
« Reply #1 on: July 04, 2004, 08:09:34 PM »
Looks like NAT1:1 contrib made for you.
...

gardnc

port forwarding from two different puplic IPs
« Reply #2 on: July 04, 2004, 09:05:18 PM »
Boris,

Can you elucidate?

Offline Boris

  • *
  • 783
  • +0/-0
port forwarding from two different puplic IPs
« Reply #3 on: July 05, 2004, 06:11:40 AM »
http://forums.contribs.org/index.php?topic=20545.0

from readme:


Program Name: 1 To 1 NAT

Developer: Abe Loveless (abe_AT_lovelesscentral.org)
Major Contributer: Chris Watkins

Current Version:    1_to_1-0.1.tar.gz
SME Server Version:   Versions 5.5 and DOWN, ONLY

For version 5.6 and UP, see http://tech-geeks.org/contrib/mdrone/1-to-1/

Description:
   Install 1 to 1 NAT on an E-Smith / SME Server.  This will allow
your E-Smith / SME Server (Server & Gateway)to listen on multiple external
IP addresses.  All traffic intended for the specified External IP will
then be forwareded to a specified Internal IP address.

Project History:
February 6, 2002
   - Initial Release.  
   - Package named 1_to_1.tar.gz
March 14, 2002
   - Bug Fix.  Changed the order that the ipchains was entered in the
     routing table.  It was too far down and was getting overridden.
   - Changed naming scheme.  New package name 1_to_1-0.1.tar.gz

To Do's:
   - Server Manager Panel for settings
   - Utilize SME Server's internal database for system variable settings




I hope this is useful.  This software comes with no warranties of any
kind.  Use at your own risk.
...

gardnc

port forwarding from two different puplic IPs
« Reply #4 on: July 05, 2004, 11:39:11 AM »
Much obliged Boris.

Offline Boris

  • *
  • 783
  • +0/-0
port forwarding from two different puplic IPs
« Reply #5 on: July 05, 2004, 06:36:59 PM »
Post mini how-to if you get it working on SME 6.0.1
Others would be interested too.
...