Donations and NAT/Firewall issue

Support and queries relating to third party Live CDs and DVD, VM images and other packaged distributions
Post Reply
cleaner416
Posts: 5
Joined: Thu Feb 17, 2005 3:58 am

Donations and NAT/Firewall issue

Post by cleaner416 »

First off, I installed ZM using LiveCD on an old HP Omnibook and it worked immediately with both a remote camera and a local USD Logitech Qucikcam. The only tweaking I really had to do was the disk partitions, which was very straightfoward. So I'd like to send part of my donation to the guy who made this CD, as well as the ZM author. Who are you? What is your PayPal address.

Now my question - I changed my port to 10030 (by changing httpd2.conf) with no problems. Everything looks great in my local 10.0.0.x network. However, when I forward port 10030 to the laptop using my linksys router, I can't see it from the outside world. When I put the laptop in the DMZ, I still can't see it. I've tested the port and the linksys by changing apache to 10030 on a different box and port forwarding - no problem. Before I drive myself nuts combing through log files to figure this out, is there something I am missing about the mandrake installation on livecd? is there somoe ipchains thing blocking access from outside of the subnet?

Thanks!
User avatar
rdmelin
Posts: 863
Joined: Wed Oct 29, 2003 2:23 pm
Location: Ellensburg, WA USA

Post by rdmelin »

Thanks for your generosity. You can use rdmelin <at> elltel <dot> net for PayPal.

On your network issue, check /etc/sysconfig/network and change the GATEWAY= line to the correct address of your linksys. Then restart the network. Then please let me know if this solves the problem. If not I have another idea, but am 95% sure this is the deal.

Best regards,

Ross
cleaner416
Posts: 5
Joined: Thu Feb 17, 2005 3:58 am

Post by cleaner416 »

Thanks for the response - unfortunately that gateway line is set correctly to 10.0.0.1. Perhaps your other idea will work?
User avatar
rdmelin
Posts: 863
Joined: Wed Oct 29, 2003 2:23 pm
Location: Ellensburg, WA USA

Post by rdmelin »

We chased this problem around in this thread:
http://www.zoneminder.com/forums/viewtopic.php?t=3934

You may find the solution there works for you too. I use static IP settings here and NAT works fine. So I believe it must be a config problem somehow.

In the interest of finding the source of the problem would you check a couple things. First, can the videoserver "see out", i.e. access the Internet? And would you compare the output of "route" and "ifconfig" using DHCP and static. I'm hoping a clue will turn up there.

It's also possible, as the thread above suggests, that is may be a bug related to specific NICs.

Hope this helps.

Best regards,

Ross
cleaner416
Posts: 5
Joined: Thu Feb 17, 2005 3:58 am

Post by cleaner416 »

Ok, I got it figured out. The one big change I made to the LiveCD box after installation was the IP, because I wanted it to be static and in my subnet. I made the change in the Mandrake/KDE GUI. Therein lies the problem. The GUI does NOT display fields for the 'NETWORK' and 'BROADCAST' configs. I noticed this when I ran ifconfig and saw a 192.168 broadcast address. So I changed them manually to 10.0.0.0 and 10.255.255.255 respectively in this file:

/etc/sysconfig/network-scripts/ifcfg-eth0

Then I rebooted for good measure (though in theory you could just ifconfig up/down)

It all works now.

In the post you pointed me to, I think the other person had the same problem, which he solved pretty circuitiously by changing eth0 to DHCP and then making a reservation on his DHCP server to port forward to a static address.

Thanks again for your help and a great CD!
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

Now that just makes to much since :D
Good show
Post Reply