Internet Sharing using firestarter
Hello
goodmorning Iam using firestarter to have a basic firewall in my workstation and i used it for internet sharing also i have two lan card one is for ISP 2nd is for Internal routing of IP address using DHCP here is my configuration in client which is automatic distributed the IP DHCP: from 192.168.1.100 to 192.168.1.254 Client side sample: IP: 192.168.1.100 Mask: 255.255.255.0 Gateway: 192.168.1.1 DHCP Server: 192.168.1.1 DNS: 192.168.1.1 my problem is there is no internet comes up in any internet browser. to work the internet connection i have to type the DNS of ISP to the properties of lan card replace or just add the DNS and it will works fine. for example: Client side sample: IP: 192.168.1.100 Mask: 255.255.255.0 Gateway: 192.168.1.1 DHCP Servers: 192.168.1.1 DNS Servers: 210.14.32.21 my questions now is how can i set automatic all client with internet without typing the DNS of ISP? Please anyone can help... Sample of my DHCP: # DHCP configuration generated by Firestarter ddns-update-style interim; ignore client-updates; subnet 192.168.1.0 netmask 255.255.255.0 { option routers 192.168.1.1; option subnet-mask 255.255.255.0; option domain-name-servers 192.168.1.1; option ip-forwarding off; range dynamic-bootp 192.168.1.100 192.168.1.254; default-lease-time 21600; max-lease-time 43200; Thanks... |
Since nobody else has posted, I'll jump in here. While I've looked at Firestarter when trying to help somebody else, I've never used it myself. What I'm not sure of is if you can simply edit dhcpd.conf or if Firestarter will then overwrite it. If Firestarter doesn't fight you, the simplest thing to do is edit dhcpd.conf to give your ISP's DNS address(es). This is what I do. A more complete (but more complex) solution would be to run a DNS caching program on your gateway computer. For the simple solution, change the line below that I've highlighted in red. Change 192.168.1.1 to 210.14.32.21. If your ISP provides more than one DNS server (it is common to provide two), make it a comma separtated list.
Quote:
|
Quote:
when i changed it everythings got internet without manual typing of DNS in each pc. :) |
All times are GMT -5. The time now is 05:53 PM. |