From owner-freebsd-questions Sun Jul 7 12:39: 0 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 142D937B400 for ; Sun, 7 Jul 2002 12:38:45 -0700 (PDT) Received: from shockwave.systems.pipex.net (shockwave.systems.pipex.net [62.190.223.9]) by mx1.FreeBSD.org (Postfix) with ESMTP id 057C843E42 for ; Sun, 7 Jul 2002 12:38:44 -0700 (PDT) (envelope-from sroberts@dsl.pipex.com) Received: from ThisAddressDoesNotExist (81-86-129-77.dsl.pipex.com [81.86.129.77]) by shockwave.systems.pipex.net (Postfix) with ESMTP id 711741600096B; Sun, 7 Jul 2002 20:38:41 +0100 (BST) Subject: RE: Help required for dynamic DNS home network, please From: Stacey Roberts Reply-To: sroberts@dsl.pipex.com To: sagacious@unixhideout.com Cc: FreeBSD-Questions In-Reply-To: References: Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-wmPq09CYoFYJYWv14WTW" Message-Id: <1026070515.344.42.camel@Demon.vickiandstacey.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.0.7 Date: 07 Jul 2002 20:38:36 +0100 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --=-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||-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||-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