Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: Tony on February 17, 2002, 06:16:17 PM

Title: ipforward
Post by: Tony on February 17, 2002, 06:16:17 PM
I have a SME 5.1.2 with a extern and local nic.
I have some public ip numbers, some of the numbers I want to give to the local network, so those pc can be acessed from the internet.
is it possible?
Title: Re: ipforward
Post by: Garret on February 17, 2002, 08:24:55 PM
http://e-smith.org/bboard/read.php?f=3&i=11646&t=11646
Title: Re: ipforward
Post by: Tony on February 17, 2002, 08:49:45 PM
Ok thanks!
But I can not find thar rpm..
Title: Re: ipforward
Post by: Tony on February 18, 2002, 11:45:04 AM
Thanks Garret!

I need to tranfer all public traffic to an other server inside the the LAN.
Ex I have some public ipnumbers
One SME with public on the outside and one privat number on the inside.
On the inside I have some more SME servers with needs public numbers.
So I need to make like:
212.*.*.* = 192.*.*.*
Is this possible?
Title: Re: ipforward
Post by: Garret on February 18, 2002, 02:57:19 PM
if your using 5.1.2 you should just be able ot type "rpm -qiv e-smith-proxypass" in and follow the directions.

[root@ruffdogs3 /root]# rpm -qiv e-smith-proxypass
Name        : e-smith-proxypass            Relocations: (not relocateable)
Version     : 1.0.0                             Vendor: (none)
Release     : 01                            Build Date: Fri 21 Dec 2001 03:09:52 PM E
ST
Install date: Sun 17 Feb 2002 03:52:58 AM EST      Build Host: lamington.ottawa.e-smi
th.com
Group       : Networking/Daemons            Source RPM: e-smith-proxypass-1.0.0-01.sr
c.rpm
Size        : 7540                             License: e-smith, inc
Packager    : e-smith developers
Summary     : e-smith server and gateway - proxypass module.
Description :
e-smith server and gateway software - proxypass module.

This module allows Apache to be configured to pass requests for
specified URLs through to other internal or external web sites.
Access to the passthrough locations is optionally restricted
to particular IP addresses or ranges.

To create a passthrough URL, add an entry to the accounts db:

/sbin/e-smith/db accounts set path1 ProxyPass Target http://some.where/blah \
   ValidFrom 127.0.0.1,203.25.102.15,203.25.100.0/24
/sbin/e-smith/signal-event console-save

To allow the URL to be passed through when accessed via HTTP as well as when
accessed via HTTPS, add a "Protocol http" property.
Title: Re: ipforward
Post by: Tony on February 18, 2002, 04:17:26 PM
Thanks Again Garret!

Maybe you find me a bit slow :-)
I have on external 212.1.2.2
and internal 192.*.*.*

And 16 adresses 212.1.2.2 to 212.1.2.18
sub 255.255.255.240

On one or more servers on the 192 net I need to be public for all traffic and not only for http.
How do I do that?
Title: Re: ipforward
Post by: Boris on February 19, 2002, 12:03:29 AM
I can put all your servers as needed on the public subnet (via hub) and configure one of them with the second NIC to be used as a gateway.
Rest of the servers will be just a public servers only.

kinda like this:

---Internet router/modem------ hub--------1 st Server-Gateway---------Internal net----
                                              |--------2 nd Server only
                                              |--------3d, 4th etc. Server only
Title: Re: ipforward
Post by: Boris on February 19, 2002, 12:05:44 AM
Sorry, post broke my picture :-)

2nd, 3d,4th Servers attached to the hub and NOT behind the gateway.
Title: Re: ipforward
Post by: Tony on February 19, 2002, 08:27:14 AM
Hi and Thanks Boris!

The problem is..
I need the servers after the local nic.
The first server I use to controll bandwidh.
Like 1 server have 128 kb the next 256 kb..
Title: Re: ipforward
Post by: Boris on February 19, 2002, 10:53:46 AM
I only see the options to use additional router(s) on the local network and use private "transfer network(s)" to route public addresses. You can use old PCs (386-486) to build the router.
Where do you control your bandwidth? on SME server?