Can't get outside through Linux router...
Hello all.
I have ran several searches and spent the past hour and a half reading thread after thread which has helped me get to the point I'm at now. I have 6 computers (one Mandrake server, 5 nodes running various OS's) but I'll only talk about two seeing as if I can get these two to work, I cdan get the rest of them to work as well. I am trying to set my Mandrake box up as a server for my other 5 PC's. The PC I'm working with runs XP. The Mandrake box can get on the net (using it to type this now) and ping the XP box. The XP box can get into the Webmin server (http://xxx.xxx.xxx.xxx:10000) on the Mandrake box but cannot ping it (dunno what's up with that) or get to the net. The Mandrake box has two NICs: eth0 : inside network setup as static eth1 : internet setup as DHCP My ISP is cable and I would like my Mandrake box to do NAT. Also, I do have the ISP DNS's listed onthe XP box. The IP of the XP box is 1.1.69.203. ifconfig Code:
[root@ip3-119 admin]# ifconfig Code:
[root@ip3-119 admin]# route -n Code:
BOOTPROTO=none Code:
BOOTPROTO=dhcp |
have you verified that the XP computer is using the right gateway? if you double click on the lan icon in the system tray, select the "support" tab, and click details you should see your gateway listed.
also, why does your XP box have an outside IP address? you're not using a router? |
The XP box has in inside IP. My NIC's are backwards: eth0 is the inside interface and eth1 is the outside interface. The inside network is 1.1.69.0.
My DNS's are correct on the XP box. I just double checked them. Thank you for the reply BTW!! It is much appreaciated. I hope I don't sound mean or rude. I'm just frustrated. |
I JUST GOT IT! I had masqerading in my firewall set up wrong!!!!! YYYYYEEEEAAAAAAAAAAA!!!!
No on to the dirty question: The Mandrake box used to be loaded with Smoothwall Linux and was used exclusively for a network server. I installed Madrake on it hoping I could use it for that and more (print, FTP, fileserver, etc). In smoothwall, I was able to list static IP's for my PC's that connect to the server by MAC address. Can I do that in Mandrake? My reasoning is that I have a wireless access point (it's not a router, that's what the server's for) and have the security turned off. If I can list the nodes in my network on the server by each NIC's MAC, no one else will be able to connect to my network because I will be impossible for them to grab an IP or even list one themselves without physical access to the server. Any ideas???? |
First off you are not using good IP addresses for your internal network. Those are public IP addresses. What happens when you need to get to a website who's IP is 1.1.69.x? Or are you just falsifying them for the purposes of this post. If not they should be one of these:
10.x.x.x 192.168.x.x 172.16.x.x - 172.31.x.x As for the MAC address thing you could go physically look at each computer and create you mac address control list from there. You can use IPTABLES to block mac addresses. Google for that. There are serveral examples. |
The internal addresses for my network are actually true. Hmm...I can chage them pretty easily though. Have had the same IP for my network for about 2 years now and haven't run into a problem yet but I'll change them anyway.
I'll try the MAC address thingie. Thank you! |
I IP address thing was gotten from an RFC (Request For Comment). RFC 1918 to be exact.
http://www.faqs.org/rfcs/rfc1918.html RFC's are kinda like the rules of the internet. They're not neccessarily mandantory but if everybody complies w/ them it makes communication easier for everybody. At work we have a network that uses a public IP range, but we don't know who originally set it up and it would be extremely hard to change. There's equipment on there like CT scanners, XRays, MRI's, etc. It would take too long and we'd have too much down time to even bother. |
benji - your posts right now number 666... ;)
|
BEWARE!!!!! The post of the Beast!!!
|
All times are GMT -5. The time now is 02:47 AM. |