Skip site navigation (1)Skip section navigation (2)
Date:      07 Jul 2002 20:38:36 +0100
From:      Stacey Roberts <sroberts@dsl.pipex.com>
To:        sagacious@unixhideout.com
Cc:        FreeBSD-Questions <freebsd-questions@freebsd.org>
Subject:   RE: Help required for dynamic DNS home network, please
Message-ID:  <1026070515.344.42.camel@Demon.vickiandstacey.com>
In-Reply-To: <CGEIKJFNGMJHCMFBJGJFGEAPCBAA.sagacious@unixhideout.com>
References:  <CGEIKJFNGMJHCMFBJGJFGEAPCBAA.sagacious@unixhideout.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--=-wmPq09CYoFYJYWv14WTW
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

Hey Thanks again for the reply.

Your rc.conf entries make sense for what your described in your set-up,
but I can't see (logically) how setting an IP address in rc.conf in my
case would affect the router's passing http requests onto my gateway
instead of loading its login page..,

I had a look around for port forwarding functions in the router menus
but can't find this anywhere.., Not sure on how to proceed here..,
either..,

Stacey

On Sun, 2002-07-07 at 19:38, sagacious wrote:
> Take a look at my rc.conf for my server which you see as www.unixhideout.=
com
> its behind a hardware firewall, router.
>=20
>=20
> ifconfig_xl0=3D"inet 192.168.1.20 netmask 255.255.255.0"
> defaultrouter=3D"192.168.1.1"
> hostname=3D"labs"
> inetd_enable=3D"YES"
> inetd_flags=3D"-l -R 1024"
> syslogd_flags=3D"-ss -m 0"
> kern_securelevel_enable=3D"YES"
> kern_securelevel=3D"3"
> ntpdate_enable=3D"YES"
> ntpdate_flags=3D"ntp.nasa.gov"
> sendmail_enable=3D"YES"
> linux_enable=3D"YES"
> named_enable=3D"YES"
> named_flags=3D"-u bind -g bind -t /etc/namedb/sandbox"
>=20
>=20
> I left the rest in as possibly you could learn from the other settings bu=
t
> what we are focusing on is this,
>=20
> "
> ifconfig_xl0=3D"inet 192.168.1.20 netmask 255.255.255.0"
> defaultrouter=3D"192.168.1.1"
> hostname=3D"labs"
> "
>=20
> All thats doing is saying, use the DHCP server,however i want a static IP
> one that wont change. If you do not know what ip your server is how will =
you
> get to it, nevermind the internet! hehe. My router is 192.168.1.1, Try an=
d
> open your web browser to http://192.168.1.1 if you get your router, then
> that is what you want for defaultrouter=3D"192.168.1.1" in rc.conf, howev=
er
> some routers assign the internal lan address differently. Just make chang=
es
> as needed. My network consists of 6 machines. Let me try and give you an
> idea..
>=20
>                 192.168.1.1    .20    .30    .40    .50    .60    .70    =
.80
> (evil internet)=3D=3D|<router>|-server-client-client-client-client-client=
-client
>=20
> Not a bad little diagram for someon who flunked art eh?
>=20
>=20
> The router, accessible only from my lan has an ip of 192.168.1.1, then th=
e
> server is 192.168.1.20, the clients are 192.168.1.30, 192.168.1.40, etc..=
 I
> simply port forward port 80 (http) using the option in my router, to
> "192.168.1.20" Keep in mind you are using NATD, and i have no experience
> with it. Im not sure how it differs. But im pretty sure its almost the sa=
me
> type of thing, my router uses NAT, stateful packet inspection and all tha=
t
> nasty junk we need now a days due to script kiddies. If im wrong by all
> means someone correct me. I would hate to waste your time and mine.
>=20
>=20
>=20
>=20
>=20
>=20
>=20
>=20
> -----Original Message-----
> From: owner-freebsd-questions@FreeBSD.ORG
> [mailto:owner-freebsd-questions@FreeBSD.ORG]On Behalf Of Stacey Roberts
> Sent: Sunday, July 07, 2002 2:24 PM
> To: sagacious@unixhideout.com
> Cc: FreeBSD-Questions
> Subject: RE: Help required for dynamic DNS home network, please
>=20
>=20
> Hey Thanks for the kind reply.
>=20
> I'm not sure I follow your instructions here, so please bear with me.
>=20
> Where exactly would I specify the static IP addr for the gateway? I
> already have in /etc/rc.conf the following:
> # grep sis0 /etc/rc.conf
> natd_interface=3D"sis0"
> ifconfig_sis0=3D"DHCP"
> #
>=20
> Or are you saying that I should run a DHCP server on the gateway? I've
> not set that up for this network., and what I have is statically
> assigned IP addrs for each of the client machines on each host, and
> defined in my hosts file.
>=20
> Thanks again for the assistance., you are the only one to take the time
> to respond so far., I'll look forward to hearing your thoughts on what I
> have said here.
>=20
> Stacey
>=20
> On Sun, 2002-07-07 at 19:08, sagacious wrote:
> > You need to specify a "Static" ip address using dhcp, for example
> > "192.168.1.10" will be your server machine, and 192.168.1.20 and
> > 192.168.1.30 will be your clients. That way you know what the ip is of =
the
> > server and you can port forward 80 and what not. And th eips wont chang=
e.
> > You should specify "static" ips using dhcp, and then go to the server u=
rl
> > like so, http://192.168.1.20 This is what i need to do now to view my
> > website otherwise the router passwd dialog pops up. However, i asked yo=
ur
> > same question on this list, and they told me to run my own dns. I ran b=
ind
> > and its working now, and configged, so if anyone wants to clear up how =
i
> can
> > not make www.unixhideout.com hit my router and ask for a password and g=
o
> to
> > my site instead, using DNS now is the time and you will help both me an=
d
> > stacey. The damage is already done as in the meantime i had to change A=
LL
> > the links on my website to actual locations, oppose to a
> > href=3D"http://www.unixhideout.blah, but i would still like to fix this=
. HTH
> a
> > little, and ill save your email as well as write a tutorial on how i se=
tup
> > bind and how i fixed this problem we are both having. I will keep you
> > posted.
> >
> > -----Original Message-----
> > From: owner-freebsd-questions@FreeBSD.ORG
> > [mailto:owner-freebsd-questions@FreeBSD.ORG]On Behalf Of Stacey Roberts
> > Sent: Sunday, July 07, 2002 12:43 PM
> > To: FreeBSD-Questions
> > Subject: Help required for dynamic DNS home network, please
> >
> >
> > Hi,
> >   I'm on a ADSL service at my home here with dynamic IP addressing from
> > my ISP.
> >
> > I signed up for ZoneEdit.com's dynamic DNS services so as to be able to
> > host and play around with my own domain name and website - and I got
> > ddclient installed (and running in daemon mode, I hope so!).
> >
> > The thing is pointing my browser to my newly registered domain name
> > seems to try connecting to the router., instead of my gateway machine,
> > running ddclient. The router's the SMC Barricade with NAPT set (won't
> > work with anything else set).
> >
> > Can someone please provide me with some information / assistance with
> > this?
> >
> > Thanks to all that might respond!
> >
> > Cheers.
> >
> > Stacey
> > --
> > Stacey Roberts B.Sc. (HONS) Computer Science
> > Network Systems Engineer
> >
> >
> > To Unsubscribe: send mail to majordomo@FreeBSD.org
> > with "unsubscribe freebsd-questions" in the body of the message
> --
> Stacey Roberts B.Sc. (HONS) Computer Science
> Network Systems Engineer
>=20
>=20
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
--=20
Stacey Roberts B.Sc. (HONS) Computer Science
Network Systems Engineer

--=-wmPq09CYoFYJYWv14WTW
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

Hey Thanks again for the reply.

Your rc.conf entries make sense for what your described in your set-up,
but I can't see (logically) how setting an IP address in rc.conf in my
case would affect the router's passing http requests onto my gateway
instead of loading its login page..,

I had a look around for port forwarding functions in the router menus
but can't find this anywhere.., Not sure on how to proceed here..,
either..,

Stacey

On Sun, 2002-07-07 at 19:38, sagacious wrote:
> Take a look at my rc.conf for my server which you see as www.unixhideout.=
com
> its behind a hardware firewall, router.
>=20
>=20
> ifconfig_xl0=3D"inet 192.168.1.20 netmask 255.255.255.0"
> defaultrouter=3D"192.168.1.1"
> hostname=3D"labs"
> inetd_enable=3D"YES"
> inetd_flags=3D"-l -R 1024"
> syslogd_flags=3D"-ss -m 0"
> kern_securelevel_enable=3D"YES"
> kern_securelevel=3D"3"
> ntpdate_enable=3D"YES"
> ntpdate_flags=3D"ntp.nasa.gov"
> sendmail_enable=3D"YES"
> linux_enable=3D"YES"
> named_enable=3D"YES"
> named_flags=3D"-u bind -g bind -t /etc/namedb/sandbox"
>=20
>=20
> I left the rest in as possibly you could learn from the other settings bu=
t
> what we are focusing on is this,
>=20
> "
> ifconfig_xl0=3D"inet 192.168.1.20 netmask 255.255.255.0"
> defaultrouter=3D"192.168.1.1"
> hostname=3D"labs"
> "
>=20
> All thats doing is saying, use the DHCP server,however i want a static IP
> one that wont change. If you do not know what ip your server is how will =
you
> get to it, nevermind the internet! hehe. My router is 192.168.1.1, Try an=
d
> open your web browser to http://192.168.1.1 if you get your router, then
> that is what you want for defaultrouter=3D"192.168.1.1" in rc.conf, howev=
er
> some routers assign the internal lan address differently. Just make chang=
es
> as needed. My network consists of 6 machines. Let me try and give you an
> idea..
>=20
>                 192.168.1.1    .20    .30    .40    .50    .60    .70    =
.80
> (evil internet)=3D=3D|<router>|-server-client-client-client-client-client=
- -client
>=20
> Not a bad little diagram for someon who flunked art eh?
>=20
>=20
> The router, accessible only from my lan has an ip of 192.168.1.1, then th=
e
> server is 192.168.1.20, the clients are 192.168.1.30, 192.168.1.40, etc..=
 I
> simply port forward port 80 (http) using the option in my router, to
> "192.168.1.20" Keep in mind you are using NATD, and i have no experience
> with it. Im not sure how it differs. But im pretty sure its almost the sa=
me
> type of thing, my router uses NAT, stateful packet inspection and all tha=
t
> nasty junk we need now a days due to script kiddies. If im wrong by all
> means someone correct me. I would hate to waste your time and mine.
>=20
>=20
>=20
>=20
>=20
>=20
>=20
>=20
> -----Original Message-----
> From: owner-freebsd-questions@FreeBSD.ORG
> [mailto:owner-freebsd-questions@FreeBSD.ORG]On Behalf Of Stacey Roberts
> Sent: Sunday, July 07, 2002 2:24 PM
> To: sagacious@unixhideout.com
> Cc: FreeBSD-Questions
> Subject: RE: Help required for dynamic DNS home network, please
>=20
>=20
> Hey Thanks for the kind reply.
>=20
> I'm not sure I follow your instructions here, so please bear with me.
>=20
> Where exactly would I specify the static IP addr for the gateway? I
> already have in /etc/rc.conf the following:
> # grep sis0 /etc/rc.conf
> natd_interface=3D"sis0"
> ifconfig_sis0=3D"DHCP"
> #
>=20
> Or are you saying that I should run a DHCP server on the gateway? I've
> not set that up for this network., and what I have is statically
> assigned IP addrs for each of the client machines on each host, and
> defined in my hosts file.
>=20
> Thanks again for the assistance., you are the only one to take the time
> to respond so far., I'll look forward to hearing your thoughts on what I
> have said here.
>=20
> Stacey
>=20
> On Sun, 2002-07-07 at 19:08, sagacious wrote:
> > You need to specify a "Static" ip address using dhcp, for example
> > "192.168.1.10" will be your server machine, and 192.168.1.20 and
> > 192.168.1.30 will be your clients. That way you know what the ip is of =
the
> > server and you can port forward 80 and what not. And th eips wont chang=
e.
> > You should specify "static" ips using dhcp, and then go to the server u=
rl
> > like so, http://192.168.1.20 This is what i need to do now to view my
> > website otherwise the router passwd dialog pops up. However, i asked yo=
ur
> > same question on this list, and they told me to run my own dns. I ran b=
ind
> > and its working now, and configged, so if anyone wants to clear up how =
i
> can
> > not make www.unixhideout.com hit my router and ask for a password and g=
o
> to
> > my site instead, using DNS now is the time and you will help both me an=
d
> > stacey. The damage is already done as in the meantime i had to change A=
LL
> > the links on my website to actual locations, oppose to a
> > href=3D"http://www.unixhideout.blah, but i would still like to fix this=
. HTH
> a
> > little, and ill save your email as well as write a tutorial on how i se=
tup
> > bind and how i fixed this problem we are both having. I will keep you
> > posted.
> >
> > -----Original Message-----
> > From: owner-freebsd-questions@FreeBSD.ORG
> > [mailto:owner-freebsd-questions@FreeBSD.ORG]On Behalf Of Stacey Roberts
> > Sent: Sunday, July 07, 2002 12:43 PM
> > To: FreeBSD-Questions
> > Subject: Help required for dynamic DNS home network, please
> >
> >
> > Hi,
> >   I'm on a ADSL service at my home here with dynamic IP addressing from
> > my ISP.
> >
> > I signed up for ZoneEdit.com's dynamic DNS services so as to be able to
> > host and play around with my own domain name and website - and I got
> > ddclient installed (and running in daemon mode, I hope so!).
> >
> > The thing is pointing my browser to my newly registered domain name
> > seems to try connecting to the router., instead of my gateway machine,
> > running ddclient. The router's the SMC Barricade with NAPT set (won't
> > work with anything else set).
> >
> > Can someone please provide me with some information / assistance with
> > this?
> >
> > Thanks to all that might respond!
> >
> > Cheers.
> >
> > Stacey
> > --
> > Stacey Roberts B.Sc. (HONS) Computer Science
> > Network Systems Engineer
> >
> >
> > To Unsubscribe: send mail to majordomo@FreeBSD.org
> > with "unsubscribe freebsd-questions" in the body of the message
> --
> Stacey Roberts B.Sc. (HONS) Computer Science
> Network Systems Engineer
>=20
>=20
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
- --=20
Stacey Roberts B.Sc. (HONS) Computer Science
Network Systems Engineer

-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5.8

iQA/AwUBPSiX8fdn4A8qiCO5EQImmQCg47AAQ5qgYl5TI2S7dVEjAJ84OGsAnRrB
segVkrJBRCH+VZYI/GfllsZX
=PuWN
-----END PGP SIGNATURE-----

--=-wmPq09CYoFYJYWv14WTW--



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1026070515.344.42.camel>