You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Eugene <ht...@infosatgeomatica.com> on 2004/08/30 06:35:50 UTC

Re[2]: [users@httpd] Re: ip aliasing and port forwarding

Hello Zoe, thats what I'm trying to explain: he can use this IP range
just locally, but not from outside. And just for info: no, we dont
have host domain on this address. We have five IP addresses that we
can use to connect to internet or for hosting. To connect to router I need:
1) router IP (I said DNS, sorry),
2) my IP, 3) subnet mask, 4) gateway for five IPs(in my case). So outside
will be accesible just these five IPs from 67.xxx.xxx.200 to
67.xxx.xxx.205 but not 192.xxx.xxx.xxx. Sorry for my English:)

Sunday, August 29, 2004, 8:01:11 PM, you wrote:

> Hiya

> Maybe I am missing the point of what you are trying to achive, but if all
> you want to do is to use http://192.168.bla.bla to access your site locally
> from the same machine, why dont you just make apache listen to the relevent
> addresses? This is done in httpd.conf .

> Listen 192.168.bla.bla:80
> Listen 67.bla.bla.bla:80

> Your friends in the outside world cannot use the 192 address to access the
> site as this this range of ips if for the sole use of small LANs and is
> invalid in the net.

> All the best

> Zoe

> http://zoeballz.net - Website Hosting for the Transgendered Community


> I don't have a router because I have a static IP number the 67.XX
> I got three nics on my box.
> eth1 is the one connected to the modem that's how I can browse the
> outside world.

> now, on the same box I run apache and if I make
> apache listen to 67.xx... i can see apache from the outside world,
> meaning my friends can see my server.

> what I want to do is make an alias for the 67.xxx with a 192.168.1.x
> and make apache listen to the 192.168.1.x number i choose.
> so that when my friends point to the 67.x.x ip number, they get redirected
> to
> the 192.168.1.x and apache answers back.

> right now this doesn't work, it seems like I am missing somehting with
> ip aliasing. ofcourse i can get a router and give that router
> the 67.x.x.x number then port forward port 80 to the 192.168. and apache
> will
> be seen from the outside world, I am trying t osee if I
> can get away with getting a router for this purpose.

> eth1 is the nic connected to the 67.x.x..x
> my alias is eth1:1, I got 3 nics on the box but the other nics are for
> something else.  Idon't have problem browsing outside, or being seen
> as long as I use the 67.x, but I just wanted to see if I can
> forward 67.x to the 192.x
> that's all.
> thanks,




> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org

> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
 



-- 
Best regards,
 Eugene                            mailto:httpd.subscribe@infosatgeomatica.com


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org