All of lore.kernel.org
 help / color / mirror / Atom feed
* Redirect from internet to a LAN computer
@ 2004-05-04 22:24 Hernan Dario Arredondo
  2004-05-04 22:45 ` David Cannings
  2004-05-04 23:01 ` Antony Stone
  0 siblings, 2 replies; 3+ messages in thread
From: Hernan Dario Arredondo @ 2004-05-04 22:24 UTC (permalink / raw)
  To: netfilter

Hi every one... this is my question...
I had a Web Server running in a Solaris Sparc for test in my enterprise 
LAN with private IP (192.168.2.XX) and no connection to Internet, but I 
need to demo my apps to external clients. I don't want to install the 
Web Server in my gateawy Internet server, is any way to redirect a port 
in the gateway to my Web Server...

Regards....


Hernan Dario


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Redirect from internet to a LAN computer
  2004-05-04 22:24 Redirect from internet to a LAN computer Hernan Dario Arredondo
@ 2004-05-04 22:45 ` David Cannings
  2004-05-04 23:01 ` Antony Stone
  1 sibling, 0 replies; 3+ messages in thread
From: David Cannings @ 2004-05-04 22:45 UTC (permalink / raw)
  To: netfilter

On Tuesday 04 May 2004 23:24, Hernan Dario Arredondo wrote:
> Hi every one... this is my question...
> I had a Web Server running in a Solaris Sparc for test in my enterprise
> LAN with private IP (192.168.2.XX) and no connection to Internet, but I
> need to demo my apps to external clients. I don't want to install the
> Web Server in my gateawy Internet server, is any way to redirect a port
> in the gateway to my Web Server...

So long as the private IP is routable from your netfilter machine, DNAT 
should do the trick.  See the "NAT HOWTO" on the following page:

http://netfilter.org/documentation/index.html#documentation-howto

David


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Redirect from internet to a LAN computer
  2004-05-04 22:24 Redirect from internet to a LAN computer Hernan Dario Arredondo
  2004-05-04 22:45 ` David Cannings
@ 2004-05-04 23:01 ` Antony Stone
  1 sibling, 0 replies; 3+ messages in thread
From: Antony Stone @ 2004-05-04 23:01 UTC (permalink / raw)
  To: netfilter

On Tuesday 04 May 2004 11:24 pm, Hernan Dario Arredondo wrote:

> Hi every one... this is my question...
> I had a Web Server running in a Solaris Sparc for test in my enterprise
> LAN with private IP (192.168.2.XX) and no connection to Internet, but I
> need to demo my apps to external clients.

No connection to the Internet?   Then it is not accessible to external 
clients.   You need a route to the outside world for the outside world to 
reach the machine.

> I don't want to install the Web Server in my gateawy Internet server, is any
> way to redirect a port in the gateway to my Web Server...

If you have a gateway router between the machine and the Internet then a 
simple NAT rule will allow people to see the web server.

Any tutorial linked from http://www.netfilter.org/documentation will tell you 
to set this up.

Antony.

-- 
Normal people think "If it ain't broke, don't fix it".
Engineers think "If it ain't broke, it doesn't have enough features yet".

                                                     Please reply to the list;
                                                           please don't CC me.



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-05-04 23:01 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-05-04 22:24 Redirect from internet to a LAN computer Hernan Dario Arredondo
2004-05-04 22:45 ` David Cannings
2004-05-04 23:01 ` Antony Stone

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.