gretchen
04-11-2003, 11:26 PM
I'm trying set up a linux server for my home lan. I set up DHCP on it, and clients get IP addresses, but they can't connect to the internet.
I'm assuming it is something I've done wrong with either DNS or something I need to set up with iptables. I've been looking for help online, but nothing seems to work, or it's too confusing.
I need just a little push in the right direction. A VERY simple howto on iptables or some things I could check would be great. I know this is pretty big to walk me though it.
As an aside, I have a small competition going with my boyfriend as to who can get the better server running, as he is a big Windows fan.
my dhcpd.conf:
# dhcpd.conf
authoritative;
ddns-update-style none;
subnet 192.168.1.0 netmask 255.255.255.0
{
# --- Default gateway
option routers 192.168.1.110;
option subnet-mask 255.255.255.0;
# --- Domain name server(s)
option domain-name-servers polarcomm.com;
# option domain-name-servers 66.231.99.253,66.231.101.253;
#option time-offset 0; # Greenwich Mean Time
# --- Details for dynamic ip address allocation.
range dynamic-bootp 192.168.1.110 192.168.1.200;
default-lease-time 21600;
max-lease-time 43200;
# --- This Linux Machine
host LinuxServer {
hardware ethernet 00:00:00:00:00:00;
fixed-address 192.168.1.110;
}
}
I'm assuming it is something I've done wrong with either DNS or something I need to set up with iptables. I've been looking for help online, but nothing seems to work, or it's too confusing.
I need just a little push in the right direction. A VERY simple howto on iptables or some things I could check would be great. I know this is pretty big to walk me though it.
As an aside, I have a small competition going with my boyfriend as to who can get the better server running, as he is a big Windows fan.
my dhcpd.conf:
# dhcpd.conf
authoritative;
ddns-update-style none;
subnet 192.168.1.0 netmask 255.255.255.0
{
# --- Default gateway
option routers 192.168.1.110;
option subnet-mask 255.255.255.0;
# --- Domain name server(s)
option domain-name-servers polarcomm.com;
# option domain-name-servers 66.231.99.253,66.231.101.253;
#option time-offset 0; # Greenwich Mean Time
# --- Details for dynamic ip address allocation.
range dynamic-bootp 192.168.1.110 192.168.1.200;
default-lease-time 21600;
max-lease-time 43200;
# --- This Linux Machine
host LinuxServer {
hardware ethernet 00:00:00:00:00:00;
fixed-address 192.168.1.110;
}
}