motioneye-project / motioneye

A web frontend for the motion daemon.
GNU General Public License v3.0
4.01k stars 662 forks source link

remote access outside the lan problem ... any idea? #2016

Closed CrYpT0n1T3 closed 3 years ago

CrYpT0n1T3 commented 3 years ago

please help. my settings not working Przechwycenie obrazu ekranu_2021-02-01_17-08-10 Przechwycenie obrazu ekranu_2021-02-01_17-09-09 Przechwycenie obrazu ekranu_2021-02-01_17-09-44 locally stream on port 8081 works - http: // 192.168.1.246: 8081 does not work from outside the network. http: // externalip: 8081 netstat -a from motioneye Active Internet connections (servers and established) Proto Recv-Q Send-Q Local Address Foreign Address State tcp 0 0 0.0.0.0:ssh 0.0.0.0:* LISTEN tcp 0 0 localhost:7999 0.0.0.0:* LISTEN tcp 0 0 0.0.0.0:www 0.0.0.0:* LISTEN tcp 0 0 0.0.0.0:tproxy 0.0.0.0:* LISTEN tcp 0 0 localhost:7999 localhost:58862 ESTABLISHED tcp 0 0 192.168.1.246:ssh 192.168.1.176:33620 ESTABLISHED tcp 0 0 localhost:40800 localhost:www TIME_WAIT tcp 0 0 localhost:40792 localhost:www TIME_WAIT tcp 0 0 localhost:40814 localhost:www TIME_WAIT tcp 0 0 localhost:58862 localhost:7999 ESTABLISHED tcp 0 0 localhost:40802 localhost:www TIME_WAIT tcp 0 0 localhost:40808 localhost:www TIME_WAIT tcp 0 0 localhost:40804 localhost:www TIME_WAIT tcp 0 0 localhost:40796 localhost:www TIME_WAIT tcp 0 0 localhost:40806 localhost:www TIME_WAIT tcp 0 0 localhost:40798 localhost:www TIME_WAIT tcp 0 0 localhost:40810 localhost:www TIME_WAIT tcp 0 0 localhost:40794 localhost:www TIME_WAIT tcp 0 0 localhost:40812 localhost:www TIME_WAIT udp 0 0 0.0.0.0:bootpc 0.0.0.0:* udp 0 0 192.168.1.246:ntp 0.0.0.0:* udp 0 0 localhost:ntp 0.0.0.0:* udp 0 0 0.0.0.0:ntp 0.0.0.0:* udp6 0 0 fe80::65e:a4ff:fec3:ntp [::]:* udp6 0 0 localhost:ntp [::]:* udp6 0 0 [::]:ntp [::]:* Active UNIX domain sockets (servers and established) Proto RefCnt Flags Type State I-Node Path unix 2 [ ] DGRAM 8250 /var/run/wpa_supplicant/wlan0 unix 7 [ ] DGRAM 6518 /dev/log unix 2 [ ACC ] SEQPACKET LISTENING 6582 /run/udev/control unix 2 [ ] DGRAM 18639 unix 3 [ ] DGRAM 6592 unix 2 [ ] DGRAM 8468 unix 2 [ ] DGRAM 8503 unix 2 [ ] STREAM CONNECTED 18063 unix 3 [ ] DGRAM 6591 unix 2 [ ] DGRAM 8507 unix 2 [ ] DGRAM 8304

starbasessd commented 3 years ago

I would use something like https://www.grc.com/ Shields Up to see if the firewall on your router is open from the outside for the port forwarding of the 8081 port. There are other websites out there, but this one has been there for years, and is a little more trustworthy than some other random site... It's possible that your ISP is blocking, or there's an issue with your setup.

On Mon, Feb 1, 2021 at 11:13 AM CrYpT0n1T3 notifications@github.com wrote:

please help. my settings not working [image: Przechwycenie obrazu ekranu_2021-02-01_17-08-10] https://user-images.githubusercontent.com/34947092/106484607-17b9b400-64b0-11eb-85e6-187486686f03.png [image: Przechwycenie obrazu ekranu_2021-02-01_17-09-09] https://user-images.githubusercontent.com/34947092/106484776-39b33680-64b0-11eb-97bb-94f741bac4e7.png [image: Przechwycenie obrazu ekranu_2021-02-01_17-09-44] https://user-images.githubusercontent.com/34947092/106484870-52235100-64b0-11eb-9b8a-5dcd71f2fb0b.png locally stream on port 8081 works - http: // 192.168.1.246: 8081 does not work from outside the network. http: // externalip: 8081 netstat -a from motioneye Active Internet connections (servers and established) Proto Recv-Q Send-Q Local Address Foreign Address State tcp 0 0 0.0.0.0:ssh 0.0.0.0: LISTEN tcp 0 0 localhost:7999 0.0.0.0: LISTEN tcp 0 0 0.0.0.0:www 0.0.0.0: LISTEN tcp 0 0 0.0.0.0:tproxy 0.0.0.0: LISTEN tcp 0 0 localhost:7999 localhost:58862 ESTABLISHED tcp 0 0 192.168.1.246:ssh 192.168.1.176:33620 ESTABLISHED tcp 0 0 localhost:40800 localhost:www TIME_WAIT tcp 0 0 localhost:40792 localhost:www TIME_WAIT tcp 0 0 localhost:40814 localhost:www TIME_WAIT tcp 0 0 localhost:58862 localhost:7999 ESTABLISHED tcp 0 0 localhost:40802 localhost:www TIME_WAIT tcp 0 0 localhost:40808 localhost:www TIME_WAIT tcp 0 0 localhost:40804 localhost:www TIME_WAIT tcp 0 0 localhost:40796 localhost:www TIME_WAIT tcp 0 0 localhost:40806 localhost:www TIME_WAIT tcp 0 0 localhost:40798 localhost:www TIME_WAIT tcp 0 0 localhost:40810 localhost:www TIME_WAIT tcp 0 0 localhost:40794 localhost:www TIME_WAIT tcp 0 0 localhost:40812 localhost:www TIME_WAIT udp 0 0 0.0.0.0:bootpc 0.0.0.0: udp 0 0 192.168.1.246:ntp 0.0.0.0: udp 0 0 localhost:ntp 0.0.0.0: udp 0 0 0.0.0.0:ntp 0.0.0.0: udp6 0 0 fe80::65e:a4ff:fec3:ntp [::]: udp6 0 0 localhost:ntp [::]: udp6 0 0 [::]:ntp [::]:* Active UNIX domain sockets (servers and established) Proto RefCnt Flags Type State I-Node Path unix 2 [ ] DGRAM 8250 /var/run/wpa_supplicant/wlan0 unix 7 [ ] DGRAM 6518 /dev/log unix 2 [ ACC ] SEQPACKET LISTENING 6582 /run/udev/control unix 2 [ ] DGRAM 18639 unix 3 [ ] DGRAM 6592 unix 2 [ ] DGRAM 8468 unix 2 [ ] DGRAM 8503 unix 2 [ ] STREAM CONNECTED 18063 unix 3 [ ] DGRAM 6591 unix 2 [ ] DGRAM 8507 unix 2 [ ] DGRAM 8304

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ccrisan/motioneye/issues/2016, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEZTUHPZ5UC2NF2MFW5LCYTS43HLXANCNFSM4W5B2JEA .

-- Thanks

Kevin Shumaker

Personal Tech Support https://kevinshumaker.wixsite.com/thethirdlevel

N38° 19' 56.52" W85° 45' 8.56"

Semper Gumby “Don't tell people how to do things. Tell them what to do and let them surprise you with their results.” - G.S. Patton, Gen. USA Ethics are what we do when no one else is looking. Quis custodiet ipsos custodes? “There is no end to the good you can do if you don’t care who gets the credit.” - C Powell You know we're sitting on four million pounds of fuel, one nuclear weapon and a thing that has 270,000 moving parts built by the lowest bidder. Makes you feel good, doesn't it?

CrYpT0n1T3 commented 3 years ago

ok Przechwycenie obrazu ekranu_2021-02-01_17-33-01

starbasessd commented 3 years ago

BTW how did you test the outside? From a phone inside your house? If so, make sure the wifi is off before the test.

On Mon, Feb 1, 2021 at 11:28 AM Kevin Shumaker kevin.shumaker@gmail.com wrote:

I would use something like https://www.grc.com/ Shields Up to see if the firewall on your router is open from the outside for the port forwarding of the 8081 port. There are other websites out there, but this one has been there for years, and is a little more trustworthy than some other random site... It's possible that your ISP is blocking, or there's an issue with your setup.

On Mon, Feb 1, 2021 at 11:13 AM CrYpT0n1T3 notifications@github.com wrote:

please help. my settings not working [image: Przechwycenie obrazu ekranu_2021-02-01_17-08-10] https://user-images.githubusercontent.com/34947092/106484607-17b9b400-64b0-11eb-85e6-187486686f03.png [image: Przechwycenie obrazu ekranu_2021-02-01_17-09-09] https://user-images.githubusercontent.com/34947092/106484776-39b33680-64b0-11eb-97bb-94f741bac4e7.png [image: Przechwycenie obrazu ekranu_2021-02-01_17-09-44] https://user-images.githubusercontent.com/34947092/106484870-52235100-64b0-11eb-9b8a-5dcd71f2fb0b.png locally stream on port 8081 works - http: // 192.168.1.246: 8081 does not work from outside the network. http: // externalip: 8081 netstat -a from motioneye Active Internet connections (servers and established) Proto Recv-Q Send-Q Local Address Foreign Address State tcp 0 0 0.0.0.0:ssh 0.0.0.0: LISTEN tcp 0 0 localhost:7999 0.0.0.0: LISTEN tcp 0 0 0.0.0.0:www 0.0.0.0: LISTEN tcp 0 0 0.0.0.0:tproxy 0.0.0.0: LISTEN tcp 0 0 localhost:7999 localhost:58862 ESTABLISHED tcp 0 0 192.168.1.246:ssh 192.168.1.176:33620 ESTABLISHED tcp 0 0 localhost:40800 localhost:www TIME_WAIT tcp 0 0 localhost:40792 localhost:www TIME_WAIT tcp 0 0 localhost:40814 localhost:www TIME_WAIT tcp 0 0 localhost:58862 localhost:7999 ESTABLISHED tcp 0 0 localhost:40802 localhost:www TIME_WAIT tcp 0 0 localhost:40808 localhost:www TIME_WAIT tcp 0 0 localhost:40804 localhost:www TIME_WAIT tcp 0 0 localhost:40796 localhost:www TIME_WAIT tcp 0 0 localhost:40806 localhost:www TIME_WAIT tcp 0 0 localhost:40798 localhost:www TIME_WAIT tcp 0 0 localhost:40810 localhost:www TIME_WAIT tcp 0 0 localhost:40794 localhost:www TIME_WAIT tcp 0 0 localhost:40812 localhost:www TIME_WAIT udp 0 0 0.0.0.0:bootpc 0.0.0.0: udp 0 0 192.168.1.246:ntp 0.0.0.0: udp 0 0 localhost:ntp 0.0.0.0: udp 0 0 0.0.0.0:ntp 0.0.0.0: udp6 0 0 fe80::65e:a4ff:fec3:ntp [::]: udp6 0 0 localhost:ntp [::]: udp6 0 0 [::]:ntp [::]:* Active UNIX domain sockets (servers and established) Proto RefCnt Flags Type State I-Node Path unix 2 [ ] DGRAM 8250 /var/run/wpa_supplicant/wlan0 unix 7 [ ] DGRAM 6518 /dev/log unix 2 [ ACC ] SEQPACKET LISTENING 6582 /run/udev/control unix 2 [ ] DGRAM 18639 unix 3 [ ] DGRAM 6592 unix 2 [ ] DGRAM 8468 unix 2 [ ] DGRAM 8503 unix 2 [ ] STREAM CONNECTED 18063 unix 3 [ ] DGRAM 6591 unix 2 [ ] DGRAM 8507 unix 2 [ ] DGRAM 8304

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ccrisan/motioneye/issues/2016, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEZTUHPZ5UC2NF2MFW5LCYTS43HLXANCNFSM4W5B2JEA .

-- Thanks

Kevin Shumaker

Personal Tech Support https://kevinshumaker.wixsite.com/thethirdlevel

N38° 19' 56.52" W85° 45' 8.56"

Semper Gumby “Don't tell people how to do things. Tell them what to do and let them surprise you with their results.” - G.S. Patton, Gen. USA Ethics are what we do when no one else is looking. Quis custodiet ipsos custodes? “There is no end to the good you can do if you don’t care who gets the credit.” - C Powell You know we're sitting on four million pounds of fuel, one nuclear weapon and a thing that has 270,000 moving parts built by the lowest bidder. Makes you feel good, doesn't it?

-- Thanks

Kevin Shumaker

Personal Tech Support https://kevinshumaker.wixsite.com/thethirdlevel

N38° 19' 56.52" W85° 45' 8.56"

Semper Gumby “Don't tell people how to do things. Tell them what to do and let them surprise you with their results.” - G.S. Patton, Gen. USA Ethics are what we do when no one else is looking. Quis custodiet ipsos custodes? “There is no end to the good you can do if you don’t care who gets the credit.” - C Powell You know we're sitting on four million pounds of fuel, one nuclear weapon and a thing that has 270,000 moving parts built by the lowest bidder. Makes you feel good, doesn't it?

CrYpT0n1T3 commented 3 years ago

I typed on the phone with 3G external router ip: 8081

starbasessd commented 3 years ago

But was the wifi OFF on the phone?

On Mon, Feb 1, 2021 at 11:41 AM CrYpT0n1T3 notifications@github.com wrote:

I typed on the phone with 3G external router ip: 8081

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/ccrisan/motioneye/issues/2016#issuecomment-770990617, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEZTUHKBKLUZBT5653PQN73S43KTJANCNFSM4W5B2JEA .

-- Thanks

Kevin Shumaker

Personal Tech Support https://kevinshumaker.wixsite.com/thethirdlevel

N38° 19' 56.52" W85° 45' 8.56"

Semper Gumby “Don't tell people how to do things. Tell them what to do and let them surprise you with their results.” - G.S. Patton, Gen. USA Ethics are what we do when no one else is looking. Quis custodiet ipsos custodes? “There is no end to the good you can do if you don’t care who gets the credit.” - C Powell You know we're sitting on four million pounds of fuel, one nuclear weapon and a thing that has 270,000 moving parts built by the lowest bidder. Makes you feel good, doesn't it?

CrYpT0n1T3 commented 3 years ago

yes

starbasessd commented 3 years ago

The GRC.com indicates the port is not open.

CrYpT0n1T3 commented 3 years ago

I also have ps4 and it detects double nat but everything works and I didn't have to set anything in the router. So is it isp or dlink and firmware?

starbasessd commented 3 years ago

PS4 uses an outside server and UPnP, motionEye does neither.

On Mon, Feb 1, 2021 at 12:16 PM CrYpT0n1T3 notifications@github.com wrote:

I also have ps4 and it detects double nat but everything works and I didn't have to set anything in the router. So is it isp or dlink and firmware?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/ccrisan/motioneye/issues/2016#issuecomment-771014562, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEZTUHLE5AQ3IC5R4K3LLK3S43OVNANCNFSM4W5B2JEA .

-- Thanks

Kevin Shumaker

Personal Tech Support https://kevinshumaker.wixsite.com/thethirdlevel

N38° 19' 56.52" W85° 45' 8.56"

Semper Gumby “Don't tell people how to do things. Tell them what to do and let them surprise you with their results.” - G.S. Patton, Gen. USA Ethics are what we do when no one else is looking. Quis custodiet ipsos custodes? “There is no end to the good you can do if you don’t care who gets the credit.” - C Powell You know we're sitting on four million pounds of fuel, one nuclear weapon and a thing that has 270,000 moving parts built by the lowest bidder. Makes you feel good, doesn't it?

CrYpT0n1T3 commented 3 years ago

I open stream locally on port 8081 and it works netstat -a on motioneye doesn't show this port.

starbasessd commented 3 years ago

try sudo netstat -tulpn |grep LISTEN on mine it shows: kevin@camera-server:~$ sudo netstat -tulpn | grep LISTEN tcp 0 0 0.0.0.0:8081 0.0.0.0: LISTEN 11633/motion tcp 0 0 0.0.0.0:8082 0.0.0.0: LISTEN 11633/motion tcp 0 0 0.0.0.0:8083 0.0.0.0: LISTEN 11633/motion tcp 0 0 0.0.0.0:8084 0.0.0.0: LISTEN 11633/motion tcp 0 0 0.0.0.0:8085 0.0.0.0: LISTEN 11633/motion tcp 0 0 127.0.0.53:53 0.0.0.0: LISTEN 524/systemd-resolve tcp 0 0 0.0.0.0:22 0.0.0.0: LISTEN 2092/sshd: /usr/sbi tcp 0 0 127.0.0.1:631 0.0.0.0: LISTEN 1847610/cupsd tcp 0 0 0.0.0.0:8765 0.0.0.0: LISTEN 14464/python2 tcp 0 0 0.0.0.0:7999 0.0.0.0: LISTEN 11633/motion tcp6 0 0 :::22 ::: LISTEN 2092/sshd: /usr/sbi tcp6 0 0 ::1:631 ::: LISTEN 1847610/cupsd

On Mon, Feb 1, 2021 at 1:17 PM CrYpT0n1T3 notifications@github.com wrote:

I open stream locally on port 8081 and it works netstat -a on motioneye doesn't show this port.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/ccrisan/motioneye/issues/2016#issuecomment-771054355, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEZTUHLKQNTHBONZOUK3AE3S43V27ANCNFSM4W5B2JEA .

-- Thanks

Kevin Shumaker

Personal Tech Support https://kevinshumaker.wixsite.com/thethirdlevel

N38° 19' 56.52" W85° 45' 8.56"

Semper Gumby “Don't tell people how to do things. Tell them what to do and let them surprise you with their results.” - G.S. Patton, Gen. USA Ethics are what we do when no one else is looking. Quis custodiet ipsos custodes? “There is no end to the good you can do if you don’t care who gets the credit.” - C Powell You know we're sitting on four million pounds of fuel, one nuclear weapon and a thing that has 270,000 moving parts built by the lowest bidder. Makes you feel good, doesn't it?

CrYpT0n1T3 commented 3 years ago

tcp 0 0 0.0.0.0:8081 0.0.0.0:* LISTEN

starbasessd commented 3 years ago

Listening on all addresses. It's a router issue from outside to inside.

On Mon, Feb 1, 2021 at 1:49 PM CrYpT0n1T3 notifications@github.com wrote:

tcp 0 0 0.0.0.0:8081 0.0.0.0:* LISTEN

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/ccrisan/motioneye/issues/2016#issuecomment-771075742, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEZTUHJAXNPOJS6RNF2HXOTS43ZUHANCNFSM4W5B2JEA .

-- Thanks

Kevin Shumaker

Personal Tech Support https://kevinshumaker.wixsite.com/thethirdlevel

N38° 19' 56.52" W85° 45' 8.56"

Semper Gumby “Don't tell people how to do things. Tell them what to do and let them surprise you with their results.” - G.S. Patton, Gen. USA Ethics are what we do when no one else is looking. Quis custodiet ipsos custodes? “There is no end to the good you can do if you don’t care who gets the credit.” - C Powell You know we're sitting on four million pounds of fuel, one nuclear weapon and a thing that has 270,000 moving parts built by the lowest bidder. Makes you feel good, doesn't it?

CrYpT0n1T3 commented 3 years ago

I called provider and he says they are not blocking ports

starbasessd commented 3 years ago

Then ask that person how to set up your router.

On Mon, Feb 1, 2021 at 2:50 PM CrYpT0n1T3 notifications@github.com wrote:

I called provider and he says they are not blocking ports

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/ccrisan/motioneye/issues/2016#issuecomment-771113667, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEZTUHJD4SDL4DLNCBIFIJLS44AY3ANCNFSM4W5B2JEA .

-- Thanks

Kevin Shumaker

Personal Tech Support https://kevinshumaker.wixsite.com/thethirdlevel

N38° 19' 56.52" W85° 45' 8.56"

Semper Gumby “Don't tell people how to do things. Tell them what to do and let them surprise you with their results.” - G.S. Patton, Gen. USA Ethics are what we do when no one else is looking. Quis custodiet ipsos custodes? “There is no end to the good you can do if you don’t care who gets the credit.” - C Powell You know we're sitting on four million pounds of fuel, one nuclear weapon and a thing that has 270,000 moving parts built by the lowest bidder. Makes you feel good, doesn't it?

CrYpT0n1T3 commented 3 years ago

i am using my dlink router in bridge mode. they won't help me with that.

starbasessd commented 3 years ago

We can't, either.

On Mon, Feb 1, 2021 at 2:56 PM CrYpT0n1T3 notifications@github.com wrote:

i am using my dlink router in bridge mode. they won't help me with that.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/ccrisan/motioneye/issues/2016#issuecomment-771116970, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEZTUHOESNAR4SITLBFSSHDS44BOPANCNFSM4W5B2JEA .

-- Thanks

Kevin Shumaker

Personal Tech Support https://kevinshumaker.wixsite.com/thethirdlevel

N38° 19' 56.52" W85° 45' 8.56"

Semper Gumby “Don't tell people how to do things. Tell them what to do and let them surprise you with their results.” - G.S. Patton, Gen. USA Ethics are what we do when no one else is looking. Quis custodiet ipsos custodes? “There is no end to the good you can do if you don’t care who gets the credit.” - C Powell You know we're sitting on four million pounds of fuel, one nuclear weapon and a thing that has 270,000 moving parts built by the lowest bidder. Makes you feel good, doesn't it?