RE: Need help with DNS
Did you try searching your hard drive for *hosts*.* ??? For NT, 2000 and XP (Winnt can also be Windows) C:\winnt\system32\drivers\etc\hosts For Win98 C:\Windows\System\hosts.sam Add a line like this. 192.168.x.x www.unixhideout.com where 192.168.x.x is the Internal address... -Original Message-From: sagacious [mailto:[EMAIL PROTECTED]]Sent: Tuesday, July 23, 2002 8:23 PMTo: Carroll, D. (Danny)Subject: RE: Need help with DNS Because they are windows boxes.. they dont have a host file and if they do where are they? sagacious (Mike) Network administrator The unixhideout network http://www.unixhideout.com -Original Message-From: Carroll, D. (Danny) [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 23, 2002 8:58 AMTo: [EMAIL PROTECTED]; sagaciousCc: FBSDQSubject: RE: Need help with DNS Why don't you just add the names you want to the host files of the machines on your internal network? -D -Original Message-From: Joe Fhe Barbish [mailto:[EMAIL PROTECTED]]Sent: Tuesday, July 23, 2002 2:49 PMTo: sagaciousCc: FBSDQSubject: RE: Need help with DNS Restating your problem. Every thing works as expected for requests originating from the public internet, But any requests origination from the LAN behind your firewall gets denied. This could very well be a IPFW firewall rules problem. You have to have a IPFW rule to allow all originating LAN traffic to pass through the firewall. For each LAN Nic card you have on your GATEWAY/IPFW FBSD box, you must have an corresponding rule in the IPFW rules file like this. allow all from any to any via xl0 Where xl0 is the FBSD NIC card device name of your Lan Nic card. This rule normally is located in the beginning of the IPFW rules file. If you still need help post your IPFW rules file for review. Joe -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of sagaciousSent: Tuesday, July 23, 2002 3:21 AMTo: [EMAIL PROTECTED]Subject: Need help with DNS Hi. I changed my network setup a while ago. I had to put everything behind a firewall router due to a denial of service attack.. So now, I am specifying a static ip in my rc.conf, but its a local one, 192.168.1.20, I port forwarded all the services to that ip. The problem is, you can all go to my site, http://www.unixhideout.com, but if I click that url, my router pass box pops up I had to temporarily change ALL the links in my site, for example img src="<A" href="javascript:void(0);">http://www.unixhideout.com/img/blah.gif to img src="/img/blah.gif.. and I access the box using http://192.168.1.20 I dont want to have to do this, and a lot of things do not work for me and its my site!! Well, I posted this a while ago, and a lot of people said if I ran my own DNS for my domain, I could stop this from happening.. Well I took the time to learn DNS a bit, and im running it now, and I was wondering exactly what I need to do.. In my unixhideout.com.hosts I specified this.. $ttl 38400 unixhideout.com. IN SOA labs. root.unixhideout.com. ( 1025839968 10800 3600 604800 38400 ) unixhideout.com. IN NS labs labs.unixhideout.com. IN A 65.187.193.189 root.unixhideout.com. IN RP root.unixhideout.com. admin Host-Info.unixhideout.com. IN HINFO INTEL FreeBSD mail.unixhideout.com. IN MX 10 65.187.193.189 unixhideout.com. IN A 65.187.193.189 mail.unixhideout.com. IN A 65.187.193.189 smtp.unixhideout.com. IN A 65.187.193.189 www.unixhideout.com. IN A 65.187.193.189 pop3.unixhideout.com. IN A 65.187.193.189 irc.unixhideout.com. IN A 65.187.193.189 email.unixhideout.com. IN A 65.187.193.189 ftp.unixhideout.com. IN A 65.187.193.189 Everything works.. You guys (the net) can go to my site and use all the services. But I cannot.. I tried changing all those IPS to 192.168.1.20, and then I could use unixhideout.com and you couldnt!! im losing my patience! Please tell me what I have to do for the internet AND ME to be able to use the domain I paid for! =] and when you explain pretend Im 2 years old. Im fragile. Thanks! sagacious (Mike) Network administrator The unixhideout network http://www.unixhideout.com -ATTENTION:The information in this electronic mail message is private andconfidential, and only intended for the addressee. Should youreceive this message by mistake, you are her
RE: Need help with DNS
Why don't you just add the names you want to the host files of the machines on your internal network? -D -Original Message-From: Joe Fhe Barbish [mailto:[EMAIL PROTECTED]]Sent: Tuesday, July 23, 2002 2:49 PMTo: sagaciousCc: FBSDQSubject: RE: Need help with DNS Restating your problem. Every thing works as expected for requests originating from the public internet, But any requests origination from the LAN behind your firewall gets denied. This could very well be a IPFW firewall rules problem. You have to have a IPFW rule to allow all originating LAN traffic to pass through the firewall. For each LAN Nic card you have on your GATEWAY/IPFW FBSD box, you must have an corresponding rule in the IPFW rules file like this. allow all from any to any via xl0 Where xl0 is the FBSD NIC card device name of your Lan Nic card. This rule normally is located in the beginning of the IPFW rules file. If you still need help post your IPFW rules file for review. Joe -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of sagaciousSent: Tuesday, July 23, 2002 3:21 AMTo: [EMAIL PROTECTED]Subject: Need help with DNS Hi. I changed my network setup a while ago. I had to put everything behind a firewall router due to a denial of service attack.. So now, I am specifying a static ip in my rc.conf, but its a local one, 192.168.1.20, I port forwarded all the services to that ip. The problem is, you can all go to my site, http://www.unixhideout.com, but if I click that url, my router pass box pops up I had to temporarily change ALL the links in my site, for example img src="http://www.unixhideout.com/img/blah.gif to img src="/img/blah.gif.. and I access the box using http://192.168.1.20 I dont want to have to do this, and a lot of things do not work for me and its my site!! Well, I posted this a while ago, and a lot of people said if I ran my own DNS for my domain, I could stop this from happening.. Well I took the time to learn DNS a bit, and im running it now, and I was wondering exactly what I need to do.. In my unixhideout.com.hosts I specified this.. $ttl 38400 unixhideout.com. IN SOA labs. root.unixhideout.com. ( 1025839968 10800 3600 604800 38400 ) unixhideout.com. IN NS labs labs.unixhideout.com. IN A 65.187.193.189 root.unixhideout.com. IN RP root.unixhideout.com. admin Host-Info.unixhideout.com. IN HINFO INTEL FreeBSD mail.unixhideout.com. IN MX 10 65.187.193.189 unixhideout.com. IN A 65.187.193.189 mail.unixhideout.com. IN A 65.187.193.189 smtp.unixhideout.com. IN A 65.187.193.189 www.unixhideout.com. IN A 65.187.193.189 pop3.unixhideout.com. IN A 65.187.193.189 irc.unixhideout.com. IN A 65.187.193.189 email.unixhideout.com. IN A 65.187.193.189 ftp.unixhideout.com. IN A 65.187.193.189 Everything works.. You guys (the net) can go to my site and use all the services. But I cannot.. I tried changing all those IPS to 192.168.1.20, and then I could use unixhideout.com and you couldnt!! im losing my patience! Please tell me what I have to do for the internet AND ME to be able to use the domain I paid for! =] and when you explain pretend Im 2 years old. Im fragile. Thanks! sagacious (Mike) Network administrator The unixhideout network http://www.unixhideout.com -ATTENTION:The information in this electronic mail message is private andconfidential, and only intended for the addressee. Should youreceive this message by mistake, you are hereby notified thatany disclosure, reproduction, distribution or use of thismessage is strictly prohibited. Please inform the sender byreply transmission and delete the message without copying oropening it.Messages and attachments are scanned for all viruses known.If this message contains password-protected attachments, thefiles have NOT been scanned for viruses by the ING mail domain.Always scan attachments before opening them.-
RE: ipfw, natd tun0
Is PPP trying to do NAT as well as Natd? I use Natd with tun0 all the time and it works OK.. -D :-Original Message- :From: Allan McDonald [mailto:[EMAIL PROTECTED]] :Sent: Tuesday, July 16, 2002 8:45 AM :To: [EMAIL PROTECTED] :Subject: ipfw, natd tun0 : : :Hi, :I'm trying to use natd with port redirection and it's not working.. : :I have a working model, a box with 2 network cards in it, in :which natd port :redirection is working just fine.. :and I have another which I am trying to do the same thing, :however this poor :box has to connect to the internet via ppp. Now the internet :connection is :working fine. : :My query is.. should natd support port redirection over the :tun0 interface? : :I do have options IPDIVERT compiled.. same format config files :(natd.conf :/etc/rc.conf) on both boxes. :Both boxes running FreeBSD 4.5 : :Anyone had this problem before?? : : :Regards, : :Allan McDonald :IT Manager :Ozdaq Securities Pty Ltd : : : : :To Unsubscribe: send mail to [EMAIL PROTECTED] :with unsubscribe freebsd-questions in the body of the message : - ATTENTION: The information in this electronic mail message is private and confidential, and only intended for the addressee. Should you receive this message by mistake, you are hereby notified that any disclosure, reproduction, distribution or use of this message is strictly prohibited. Please inform the sender by reply transmission and delete the message without copying or opening it. Messages and attachments are scanned for all viruses known. If this message contains password-protected attachments, the files have NOT been scanned for viruses by the ING mail domain. Always scan attachments before opening them. - To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
RE: Need help with software to run my APC UPS
I have the same UPS and I will check tonight if I have the same cable (sounds right from memory). I have one question. Actually 2.. Did you buy the cable or build it? I tried for weeks to build a cable from the plans I found on the net. In the end I bought one from APC and guess what? Worked out of the box.. Also... Do you have 2 UPS's or are you testing with one on two machines? -D :-Original Message- :From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] :Sent: Monday, July 15, 2002 11:23 PM :To: [EMAIL PROTECTED]; jon :Subject: Re: Need help with software to run my APC UPS : : : :did you comment out : :#ttyd0 /usr/libexec/getty std.9600 dialup off secure :or :#ttyd0 /usr/libexec/getty std.9600 dialup off secure : in /etc/ttys? this was my problem. : :Tried this and it didn't work. : :This is where I stand now: : :1. Two computers each with a APC Back-UPS Pro 650 and cable :attached (one has a 940-0095A and the other has a 940-0095B). : :2. One computer runs FreeBSD4.6 and the other runs FreeBSD4.4 : :3. *Neither* computer will work with bkpupsd or apcupsd :from the ports collection. : :A) type: bkpupsd /dev/cuaa0 :result: on one computer it starts the daemon, but won't perform : when power plug is pulled, : on the other computer it starts the daemon, but :immediately : annouces the power has failed and shuts down : :B) type: apcupsd start :result: one computer hangs, the other complains it can't :communicate : with UPS. : :Note: A guy on the apcupsd mail-list has the same exact UPS+cable :and runs FreeBSD4.6 and sent me his apcupsd.conf file. I had :the same result with it. : :4. Tried installing upsd from the ports collection on one computer :and the computer hung on booting -- isn't this one needed for :NUT to work? :(Also installed NUT, BTW.) : :5. Totally baffled at this point. : :According to apcupsd.com, one possible source of error in a :situation like this one is: : :Chosen serial port has logins enabled. You must disable logins on that :port, otherwise, the system prevents apcupsd from using it. :Normally, the :file /etc/inittab specifies the ports for which a getty :process is started. :You must disable getty for the port which you wish to use. : :I'm not sure I disabled logins for the device correctly. :Not sure what to do now. : :Important note: Several years ago one of these UPSs worked with :bkpupsd with the exact same hardware -- but after I upgraded :that very :old version of FreeBSD it won't work. : :Any ideas? : ::) : : : : : :--- : : Dr. Joseph A. Bentley : Professor of Chemistry : Dept. of Physical SciencesPhone: (662) 846-4482 : P.O. Box 3255-DSU FAX: (662) 846-4486 : Delta State UniversityE-mail: [EMAIL PROTECTED] : Cleveland, MS 38733 E-mail: [EMAIL PROTECTED] : : :It is not enough to succeed. Others must fail. : :-- Gore Vidal : :--- : : :To Unsubscribe: send mail to [EMAIL PROTECTED] :with unsubscribe freebsd-questions in the body of the message : - ATTENTION: The information in this electronic mail message is private and confidential, and only intended for the addressee. Should you receive this message by mistake, you are hereby notified that any disclosure, reproduction, distribution or use of this message is strictly prohibited. Please inform the sender by reply transmission and delete the message without copying or opening it. Messages and attachments are scanned for all viruses known. If this message contains password-protected attachments, the files have NOT been scanned for viruses by the ING mail domain. Always scan attachments before opening them. - To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message