LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 12-11-2013, 06:37 AM   #1
emin13
LQ Newbie
 
Registered: Dec 2013
Posts: 1

Rep: Reputation: Disabled
I can't see my IP cameras


Hello,
I have two IP cameras in my company and I would like to connect the cameras from home but I can't. I applied commands that I listed below. I wonder if tehere is a mistake in the commands.
Have a nice day

iptables -I INPUT -s 80.200.111.40/24 -p tcp --dport 8050 -j ACCEPT
iptables -I INPUT -s 80.200.111.40/24 -p tcp --dport 8051 -j ACCEPT
iptables -A FORWARD -p tcp -d 80.200.111.40 --dport 8050 -j ACCEPT
iptables -A FORWARD -p tcp -d 80.200.111.40 --dport 8051 -j ACCEPT
iptables -t nat -A PREROUTING -p tcp -i eth1 --dport 8051 -j DNAT --to-destination 80.200.111.40:8051
iptables -t nat -A PREROUTING -p tcp -i eth1 --dport 8050 -j DNAT --to-destination 80.200.111.40:8050

Last edited by emin13; 12-11-2013 at 06:42 AM.
 
Old 12-11-2013, 09:09 AM   #2
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,573

Rep: Reputation: 2143Reputation: 2143Reputation: 2143Reputation: 2143Reputation: 2143Reputation: 2143Reputation: 2143Reputation: 2143Reputation: 2143Reputation: 2143Reputation: 2143
Do these cameras have public IPs? If not, then I don't see where you're doing any NAT to forward connections on your public IP to the cameras' private IPs.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
IP Cameras xanax Linux - Software 1 08-21-2007 01:21 PM
Digital Cameras tim1348 Linux - Newbie 11 11-05-2006 10:38 AM
Cannon cameras davholla Linux - Hardware 1 10-25-2006 03:12 PM
Supported Cameras raysr Mandriva 7 07-21-2005 03:25 PM
digital cameras allelopath Linux - General 3 04-10-2004 06:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:25 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration