router setting
hi guys,
I just set up fedora core 1 as my router. The problem is that I can't access internet(I mean that I can't browse website) from my linux box.But my LAN computers can access internet and browse website.Maybe I misconfigured the iptables things or misconfigured how to assign ip to each ip cause I assign them with GUI and not by the command. I got my eth0 as my external NIC and eth1 as my internal NIC. okay,this is part of my firewall scripts: INNER_NET=192.168.0.0/24 FWALL_IP=192.168.0.1 INNER_PORT=eth1 OUTER_PORT=ppp0 IPTABLES="/sbin/iptables" MODPROBE="/sbin/modprobe" and so on... and i use rp-pppoe to connect to internet which means i have dynamic ip. Can anyone help me how to solve this problem? thanks.. |
Do you have your ISPs DNS servers listed in /etc/resolv.conf?
|
hey..it helps me a alot..thanks...
btw..it was set 127.0.0.1 and i dont know what the meaning of it. btw..thanks. |
The setting of 127.0.0.1 points to your local machine. This is if you have an own DNS server running on the same machine.
|
really?somewhat it change when i reboot the pc.anyway..thanks again.I can put it manually if i want to browse
the internet.;) Well,actually I want to run server and also router from my fedora core 1. I have succesfully build a router and my network can browse the internet and share files. Well right now i'm still configuring how to make a DNS server. well,when i run command 'service named start' and i want to check at /var/log/messages this error appear. Code:
Oct 25 08:51:31 araki named[6700]: starting BIND 9.2.2-P3 -u named -t /var/named/chroot Does anyone know where i should fix it? |
First you will have to create a valid setup of zone files for the domains you control.
To understand this you will have to catch up on some reading on how the DNS system is built and how these zone files work. There are graphical programs to do this configuration, but you would still have to know how it works. If you don't want to serve your own domain you can set up a caching only server. Have a look at DNS how-to on www.tldp.org |
All times are GMT -5. The time now is 05:23 AM. |