Configure Fedora (PC Gateway) to access DVR from Internet
G'day. I need help on the above mentioned!
My Internet Gateway PC runs on Fedora 9, it has 2 network cards:
My ADSL modem ip is 192.168.1.1 (connected to eth1 above).
All my networked PCs static ip starts from 192.168.0.100 to 192.168.0.199, dynamic ip starts from 192.168.0.200 to 192.168.0.254, Gateway ip is 192.168.0.1.
Recently installed cctv with a DVR recorder. The DVR ip is 192.168.0.190, web port=1500, command port=9000, stream port=9001.
From internal networked PC, to access the DVR, we type in http://192.168.0.190:1500 (no problem to access).
From the Internet, to access the DVR, we type in http://sinaran.dyndns.org:1500 (could not access at all).
Could someone please guide me on how to configure my Fedora 9 in order to access the DVR from the Internet?
I'm not sure if I can help but let's try.
What you need, I haven't used dyndns though, is a portforward in your iptable. What I do is I use a custom script so it's easy to impliment on a new system. I'll put the code here:
In portforwarding you put the port you want to forward and that doesn't have to be the same source and destination port. I put there one example of dnat.
You save this script under /etc/rc.d and name it something like rc.myscript.iptables. Then you have to make changes to you rc.local which should also be under /etc/rc.d. It should look something like this:
G'day OdinnBurkni. Thank you very much for your detailed help on the iptables script. I will try it out & post back the result to you soon.
|All times are GMT -5. The time now is 01:10 AM.|