Re: Need Help on setting up a small home site.
- From: Tim <tim@xxxxxxxxxxxxxxxxxxxxxx>
- Date: Sun, 3 Jul 2005 19:14:29 +0930
On 3 Jul 2005 01:04:48 -0700,
anhhung@xxxxxxxxx posted:
> Hi . I did as you advised but:
> --- As I mentioned, my ADSL modem (Router) has a web-based
> configuration site. Perhaps I have to explain a bit. It's a website
> that allow anyone on the network to configure the modem without having
> to telnet to it or use a specific software.Unfortunately, this web tool
> binds itselft to 192.168.1.1, therefore, telling Apache to listens to
> that address is impossible : (99)Cannot assign requested address:
> make_sock: could not bind to address 192.168.1.1:80
> no listening sockets available, shutting down
> Unable to open logs
The 192.168.1.1 address is only one that I used for the sake of example,
likewise for other addresses I used in my examples. Of course, you have to
change it to suit however your network is set up.
> -- I then tried to bind it to 192.168.1.33 since my computer is
> the one that connects to the modem (no LAN).
Which is what you need to do, and the principle's the same whether your
local network is one router and one computer, or has many more devices.
> 192.168.1.33 points me to the exact testing website in /var/www/html
> as well as anhhung.dyndns.info, in the case I have already added
> anhhung.dyndns.info as an alias to /etc/hosts. Without doing so,
> anhhung.dyndns.info still points to the website of the modem
> (192.168.1.1).Outsiders cannot access the dns and now, they can
> access it,but not to my website, to the modem website.
192.168.x.y addresses are *internal* networking addresses only. Your
modem/router has two interfaces, one at your side (192.168.1.1 and one on
the world size with your public IP - whatever that is, though your current
message headers indicate it's probably 210.245.104.13).
The external address is the one that you need to set into public DNS
servers as the IP address for your anhhung.dyndns.info domain name. It's
the only one that other people (outsiders can connect to). Currently, I
see that your domain name is pointing at 210.245.99.168 (I used the "dig"
tool on Linux against your hostname), but there's no response to trying to
browse to it.
> the problem lies in the Modem configuration. It's bad, I don't know
> much about port forwarding and stuff like this. Hoping that someone
> uses the same modem like me :). It's a Zyxel Prestige 660R-61C.
Have you tried the Zyxel knowledge base?
> ---- ifconfig gives me the following :
> eth0 Link encap:Ethernet HWaddr 00:06:7B:0A:F7:8D
> inet addr:192.168.1.33 Bcast:192.168.1.255 Mask:255.255.255.0
> inet6 addr: fe80::206:7bff:fe0a:f78d/64 Scope:Link
>
> Then 192.168.1.33 should be my IP address.
*ONLY* inside your own network. Well, that's *nearly* always *only*...
There are a few rather scummy ISPs which use private network addresses for
all of their customers.
All across the planet there are thousands of networks that have their own
devices at 192.168.1.1. Such addresses are not routeable over networks so
that many private networks can be made without needing registered IPs.
No-one, other than people on the same network as you, will be able to
connect to your web server at an address like 192.168.1.33.
You need a public IP address for outsiders to be able to connect to you.
> I use NAT, there are two options : SUAonly and Fullfeature. But SUA
> must be used if I have one public WAN address and the latter is for
> more than one. How do I know that I have one or many Wan puplic
> address. I obtain my IP address from ISP. If NAT-SUA or FullFeature is
> the right tool for port forwarding, how come it won't work. I've tried
> editting everything to 192.168.1.33 port 80 both SUA and Full feature
> alternatively but fails. I really have no idea what's going. Anyone
> having experience with the modem please help me out.
A quick searching around looks like "SUA" is some sort of Zyxel brandnaming
of NAT/proxying. Where you'd use it so that multiple computers on your LAN
can connect to your ISP, with *it* handling the network routing to the
right computers inside your network (responses to requests going to the
right PC). If you only have one computer, I can't see why you'd need to be
using it.
I haven't noticed anything detailing what "full feature" would mean. But
if it's the opposite of NAT/proxying (seeing as you've mentioned it or
SUA), the modem is used as a bridge (similar to dial-up modems - it's just
a connection between your PC and the ISP, your computer is treated as the
first network device, rather than the modem; the computer will get assigned
the public IP by the ISP).
Have a look at the webserver built into your modem. Somewhere ought to be
some indication of your current external IP address. But what tool do you
use to set your dyndns records with? It ought to be able to determine your
external address (unless you've got an extremely crap program, in which
case change it). Most of them are "set and forget" scripts, you ensure
it's called at the appropriate moments (e.g. at connection, and
periodically while connected), that it's configured with your hostname, and
it maintains the correct public IP address for your hostname all by itself.
As I've mentioned before, forwarding IPs through a device is only part of
the equation. If the device also has a firewall, you have to open a hole
through it, first. I haven't found an on-line manual for the modem you
mentioned to find out specifically how it operates, nor what its features
are.
--
If you insist on e-mailing me, use the reply-to address (it's real but
temporary). But please reply to the group, like you're supposed to.
This message was sent without a virus, please delete some files yourself.
.
- References:
- Need Help on setting up a small home site.
- From: anhhung
- Re: Need Help on setting up a small home site.
- From: Tim
- Re: Need Help on setting up a small home site.
- From: anhhung
- Re: Need Help on setting up a small home site.
- From: Tim
- Re: Need Help on setting up a small home site.
- From: Tim
- Re: Need Help on setting up a small home site.
- From: anhhung
- Need Help on setting up a small home site.
- Prev by Date: Re: Need Help on setting up a small home site.
- Next by Date: .htaccess bypassed by PDA!
- Previous by thread: Re: Need Help on setting up a small home site.
- Next by thread: PHP CODE CAN ONLY READ AND NOT DELETE OR INSERT BUT WHEN I LOG IN ON THE MACHINE I CAN DO DELETE AND INSERT WITH THE SAME LOG IN AND PASSWORD /...
- Index(es):
Relevant Pages
|