Jump to content

wlessard

Members
  • Posts

    10
  • Joined

  • Last visited

Everything posted by wlessard

  1. Other than upgrading webmin and dhcpd and adding communigate pro it is plain vanilla mandrake/iva 10.1, as far as I can tell I am just using iptables and 1.2 at that so I am thinking no matter what else upgrading to iptables 1.4.9 is reasonable but I don't want to break anything by doing it. I am using iptables commands for what is my firewall as far as I can tell in this case. I am considering building another linux box as a test bed instead of playing around with my production server. Though as I said, is there any place someone has placed a plain jane example of the file and the file name for things like NAT.... This is where I am lost right now. I am quite happy to run any program or test and take the time to output it here.
  2. Okay, Couple questions. looking at my mandrake 10.1 install, should I? update iptables to 1.4.9 look into shorewall?
  3. Sad thing is despite being very literate in Linux and computers as well as playing with them and being a profession for over 20 years sometimes I am slow. IP_forwarding is set to 1 as in net.ipv4.ip_forward = 1 NAT? What file would I be looking for in that one? Additionally maybe a page with a simple example of the config files and their formats for something like this. Do I need to make my machine a DNS and update the internic records to show this? IE: Log into Register.com and change things? I found out that I changed my /etc/sysconfig/network file which messed up eth0 from getting out. I fixed that so back to that part working.
  4. Okay went back to square 1. Everything is working so far as far as the server is concerned. I have not reinstalled my e-mail client but that is minor. DHCP is working but not sure where I am missing where the default gateway and the DNS suffice is specified. Looking now for info on the net. Okay found the issue I think. etc/sysconfig/network file It was pointing towards eth0 now I have it pointing at eth1. Not that I know if that is good. :( Okay, I have gone through the posts in this thread and checked what I have vs what is here. I think I have it all the way it is supposed to work. BTW I updated to the latest DHCP. I get IPs for client machines but no internet access. route -n Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 75.144.150.228 0.0.0.0 255.255.255.252 U 0 0 0 eth0 192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1 0.0.0.0 75.144.150.230 0.0.0.0 UG 0 0 0 eth0
  5. I really did something wrong so I reloaded last night.Now I am documenting all changes one step at a time. This time around I will pay more attention to my changes and what they did. BTW would it be worthwhile to install Shorewall or stick with the standard Mandrake 10.1 firewall?
  6. Looks valid. nameserver 75.75.75.75 nameserver 75.75.76.76 domain wp.comcast.net Which is what the computers on the DHCP from Comcast get and is what is internal to the Comcast Business Router. Not too happy with it but I don't have much choice but I am using a static IP from Comcast Business. Still cannot get out on the server to any websites. I am about ready to reinstall and check the default working settings before I update anything. Should know better.
  7. Okay checked and net.ipv4.ip_forward = 1 is what it is set at. I also noticed I did something that scrambled my DNS somewhere. My e-mail server which was working is no longer getting DNS so it wont send or receive e-mails. I am pretty sure I fubared something in the DNS or forwarding setup. I checked to see what I might have done and did a new route -n route -n Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 1.1.1.228 0.0.0.0 255.255.255.252 U 0 0 0 eth0 192.168.1.0 192.168.1.1 255.255.255.0 U 0 0 0 eth1 0.0.0.0 1.1.1.229 0.0.0.0 UG 0 0 0 eth0 I appreciate the suggestions. Just checked the servers ability to get out. Apparently it wont DNS. Checking some other possibilities such as the Comcast Business Router for the Static IP.
  8. Here are the details. Actual IP masked for privacy. Hope it doesn't matter. I think I see one problem but not sure where to find the answer. Route issue but not sure how to fix it at this time. Basically 2 problems 1: DHCPD doesn't start automatically. 2: Does not allow internal network 192.168.1.XX to access internet Currently client computers inside the network on the 192.168.1.XX get a gateway of 192.168.1.1
  9. Well I fixed my DHCP by finally updating to the latest DHCP server program. Still having trouble passing through from one NIC to the Other for Internet access internally. Any suggestions would be helpful. Thanks
  10. Okay I have read through everything here and on the net and maybe I am just being thickheaded. I hope I am not missing something and I am sorry if this has been answered ad naseaum but I really need to ask as I am pulling what is left of my hair out. What I am trying to accomplish Static IP Static IP ISP -> eth0 on server -> eth1 as DHCP -> Intranet/Internal office system. Server IP -> 192.168.1.1 mydomain.com Sorry about the above formatting I am not sure what I am losing in regards to the spaces that are supposed to be there. The actual server IP and Domain are properly setup as my webserver and e-mail server are working fine. I am trying to route all the internal PCs of various types with the Manrdake 10.1 DHCP server. I had it actually working but not sure what I may have broken as after a reboot and reading Isle of Wight's simple tutorial about how to set this up and following his instructions. SMB locked on boot also but I have disabled that for now. So the server has a static IP from my ISP, it is my webhost and has the domain name setup on it. All through eth0. eth1 has a static IP of 192.168.1.1 and is where I want the DHCP to offer 192.168.1.X ips to internal computers. Eventually I want to add a WAP for the business as well. Problems 1: DHCP stopped working. dhcpd start returns "failed" and nothing else. 2: Allow traffic between eth0 and eth1 netstat -rn Kernel IP routing table Destination Gateway Genmask Flags MSS Window irtt Iface 192.168.1.1 192.168.1.1 255.255.255.255 UGH 0 0 0 eth1 Server IP Server IP 255.255.255.252 UG 0 0 0 eth0 Server IP 0.0.0.0 255.255.255.252 U 0 0 0 eth0 0.0.0.0 Server IP 0.0.0.0 UG 0 0 0 eth0 Sorry for being slightly paranoid here but I also have spent many hours adding IPs to my iptables to block hacks. So what other information is needed and suggestions where to check as well as what would be recommended to upgrade software wise. It is a very standard install of mandrake 10.1 with just about everything and the kitchen sink thrown in. I did update webmin to 1.580 and I use putty to access the command line from my office computer which is on a separate network and from home. I really am sorry if I am rehashing what others have asked but I have not seen a clear and obvious answer of what to look for and how it should actually look. I have also tried doing a lot of this through the "Configure your Computer" on the KDE install. As much as I know and can do this one is escaping me for some reason and if you want to treat me like an absolute total newbie I do not mind. Thanks for any and all help. BTW I have made all the setting changes from http://www.iwpcs.co.uk/ics.html as suggested and still not working.
×
×
  • Create New...