Open ICrashWindows12 opened 2 months ago
chat-gpt rewrote the 'readme.md', check it please.
In your case you need to use STA mode, when all cameras connect to yours home Wi-Fi, but ensure first that you have possibility to add DNS records to yours router (ie override default naxclow ip's)
I am using 'mikrotik' as home router and in my case it looks like:
chat-gpt rewrote the 'readme.md', check it please.
In your case you need to use STA mode, when all cameras connect to yours home Wi-Fi, but ensure first that you have possibility to add DNS records to yours router (ie override default naxclow ip's)
I am using 'mikrotik' as home router and in my case it looks like:
I do it on my routers port forwarding page? Also I use an optus router. this one to be exact
My router does not support dns redirecting. SO i can't fake a server. I want to try to use this github: https://github.com/DavidVentura/cam-reverse/ to get the camera working but I dont know how. I have the a9 and X5 cam both ap's IP's are 192.168.169.1 for the cameras
chat-gpt rewrote the 'readme.md', check it please.
In your case you need to use STA mode, when all cameras connect to yours home Wi-Fi, but ensure first that you have possibility to add DNS records to yours router (ie override default naxclow ip's)
I am using 'mikrotik' as home router and in my case it looks like:
Can I use DDNS to do redirect clients DNS?
Not sure about DDNS, because it's a completely different thing. As you know, this is a 'fake' server, so to be 'fake', you need to found the way how to forward camera data to the server. In most cases, enough rewriting DNS records on yours router, but that's not all ways how to route a data to the server. I think, there also could be used forwarding data by IP.
Send me, please, a screenshot of yours router configuration page. The other way - install OpenWrt on yours router, or found any other router and put it between, just for cameras.
the port forwarding settings are located in network settings, if i could dns forward, it would be located there. But I searched and even looked at guides but I couldn't find anything related to DNS Forwarding, not even youtube. Also since there are many devices on my network, I do not want to risk installing openwrt on my router. And also because openwrt does not support my router which is the F@st 5366 TN. And no I am not changing my router since someone else pays for it
What's about modem setting?
What's about modem setting?
I don't think so.
ok, here is DNS page, check it
ok, here is DNS page, check it
It is just that. I can't even change those
ok, i have an idea, but i will not support you on this way. You may install on yours server - cached DNS server (like dnsmasq), then add to it records to naxclow
, and set on this page server ip.
All things which are not related to the naxclow
could be taken from 8.8.8.8 (ie parent DNS server)
ok, here is DNS page, check it
It is just that. I can't even change those
Ah, okay, i found a link - https://github.com/CptMeetKat/OptusDNSBypass you may try it.
also, if you can disable DHCP on router, then you can use something like https://pi-hole.net/ and configure DHCP and DNS on it, and set a gateway ip to yours router
also, if you can disable DHCP on router, then you can use something like https://pi-hole.net/ and configure DHCP and DNS on it, and set a gateway ip to yours router
Can you try DavidVentura's cam-reverse, like try to solve any connection issues?
I can't risk bricking or breaking my router since it's not my router, but I am allowed to use it. And also because I do not have a backup router, or a server to setup everything
also, if you can disable DHCP on router, then you can use something like https://pi-hole.net/ and configure DHCP and DNS on it, and set a gateway ip to yours router
Can you try DavidVentura's cam-reverse, like try to solve any connection issues?
I can't risk bricking or breaking my router since it's not my router, but I am allowed to use it. And also because I do not have a backup router, or a server to setup everything
It uses a different version of firmware (not naxclow), i don't have cameras for it. You may try to found any cheapest router and put it between 'not' yours optus and yours cameras.
You will need to use an additional piece of hardware to use as a DNS server. This might be a Rasperry Pi, or another, more configurable router. Below, I'm assuming it's a RPi at 192.168.1.2.
The strategy is this: In your main router (which acts as DHCP server), you need to change it to tell all DHCP clients to use your RPi as DNS, so you'll need to change the DNS to 192.168.1.2. On the RPi, you'll install dnsmasq, and have it send all requests "upstream" to your real DNS (I highly recommend using 1.1.1.1, but you can use the DNS provided by your ISP), except for requests to naxclow.
I recently did something similar, and it's working fine for me.
Here is why I did on Ubuntu:
sudo apt install dnsmasq
then (as root) create /etc/dnsmasq.d/a9-camera
with the following contents:
server=/naxclow.com/192.168.1.5
address=/naxclow.com/192.168.1.5
but replace 192.168.1.5 with the IP of the computer that actually runs the fake server.
I'm honestly not 100% sure about the dnsmasq syntax here, but I believe the address
part matches naxclow.com
exactly, and the server
part matches *.naxclow.com
. It might be possible to simplify this, but this is at least something that worked for me. 🤷
@intx82 Maybe you can copy some of these instructions into a wiki?
Here is why I did on Ubuntu:
sudo apt install dnsmasq
then (as root) create
/etc/dnsmasq.d/a9-camera
with the following contents:server=/naxclow.com/192.168.1.5 address=/naxclow.com/192.168.1.5
but replace 192.168.1.5 with the IP of the computer that actually runs the fake server.
I'm honestly not 100% sure about the dnsmasq syntax here, but I believe the
address
part matchesnaxclow.com
exactly, and theserver
part matches*.naxclow.com
. It might be possible to simplify this, but this is at least something that worked for me. 🤷
I do not have a server to run it on for 24/7. I know raspberry Pi's are cheap but I am not looking to buy one. I do have a old laptop with Windows 10 installed on it and a harddrive. I might swap it out for an SSD and then install linux, but I got actual cameras now like from TP-Link, so I can do it if I want to.
@intx82 Maybe you can copy some of these instructions into a wiki?
Provide a MR with changes to README, i'll merge it.
I may be able to since I might switch ISP's. The Model is a NetComm router, supports 4G wifi like cellular data and also NBN connection. I do not know if any of their models supports DNS forwarding. But since I do have like 2 old laptops, I could technically run a 24/7 server, install ubuntu Linux or something else.
The 1st old laptop, the battery doesn't work but it does run off the AC power adapter, the other one is too slow to do anything besides just going to the BIOS. If that doesn't work I could install dnsmasq on the laptop.
Well I guess thanks for helping me out. I may try to get a server running, but until I get internet working, because my current router is broken, basically the NBN box can't connect to the NBN service which gives the internet access to my router which is the Optus router. Using another wifi source currently
You will need to use an additional piece of hardware to use as a DNS server. This might be a Rasperry Pi, or another, more configurable router. Below, I'm assuming it's a RPi at 192.168.1.2.
The strategy is this: In your main router (which acts as DHCP server), you need to change it to tell all DHCP clients to use your RPi as DNS, so you'll need to change the DNS to 192.168.1.2. On the RPi, you'll install dnsmasq, and have it send all requests "upstream" to your real DNS (I highly recommend using 1.1.1.1, but you can use the DNS provided by your ISP), except for requests to naxclow.
I recently did something similar, and it's working fine for me.
I did find settings for changing DNS server but it is all greyed out... The Optus DNS Bypass wont work because it is for another router and my routers configuration page is different from that. My router is the F@st 5366 TN
Try to bring up it standalone, without any internet connection. Then disable on your OPTUS DHCP server and attach to the existing network, after you just change a default gateway in dnsmasq.conf
"OLD-PC with dns-masq inside" -> "Wi-Fi router Without internet connection and disabled DHCP (ie WIFI-AP)" -> "Cameras"
I could be wrong, but dnsmasq config will look like:
dhcp-range=192.168.2.16,192.168.2.250,255.255.255.0,12h
dhcp-option=option:router,192.168.2.2
dhcp-option=option:dns-server,192.168.2.2
dhcp-authoritative
listen-address=192.168.2.2
bind-interfaces
# Use open source DNS servers
server=8.8.8.8
server=8.8.4.4
server=208.67.220.220
# Create custom 'domains'.
# Custom 'domains' can also be added in /etc/hosts
address=/p2p.naxclow.net/192.168.2.2
192.168.2.2 - Is yours old PC, with dnsmasq itself
Try to bring up it standalone, without any internet connection. Then disable on your OPTUS DHCP server and attach to the existing network, after you just change a default gateway in dnsmasq.conf
"OLD-PC with dns-masq inside" -> "Wi-Fi router Without internet connection and disabled DHCP (ie WIFI-AP)" -> "Cameras"
I could be wrong, but dnsmasq config will look like:
dhcp-range=192.168.2.16,192.168.2.250,255.255.255.0,12h dhcp-option=option:router,192.168.2.2 dhcp-option=option:dns-server,192.168.2.2 dhcp-authoritative listen-address=192.168.2.2 bind-interfaces # Use open source DNS servers server=8.8.8.8 server=8.8.4.4 server=208.67.220.220 # Create custom 'domains'. # Custom 'domains' can also be added in /etc/hosts address=/p2p.naxclow.net/192.168.2.2
192.168.2.2 - Is yours old PC, with dnsmasq itself
Could you potentially add a way while connecting the camera to WIFI set it's DNS server to whatever you want to make it easier to run a fake server, people are not going to understand all of this like me. I know some things but my routers settings, I just give up, and I do not want to contact support line since my router is fine. My router is super locked down so I can't really get too fancy
Try to bring up it standalone, without any internet connection. Then disable on your OPTUS DHCP server and attach to the existing network, after you just change a default gateway in dnsmasq.conf "OLD-PC with dns-masq inside" -> "Wi-Fi router Without internet connection and disabled DHCP (ie WIFI-AP)" -> "Cameras" I could be wrong, but dnsmasq config will look like:
dhcp-range=192.168.2.16,192.168.2.250,255.255.255.0,12h dhcp-option=option:router,192.168.2.2 dhcp-option=option:dns-server,192.168.2.2 dhcp-authoritative listen-address=192.168.2.2 bind-interfaces # Use open source DNS servers server=8.8.8.8 server=8.8.4.4 server=208.67.220.220 # Create custom 'domains'. # Custom 'domains' can also be added in /etc/hosts address=/p2p.naxclow.net/192.168.2.2
192.168.2.2 - Is yours old PC, with dnsmasq itself
Could you potentially add a way while connecting the camera to WIFI set it's DNS server to whatever you want to make it easier to run a fake server, people are not going to understand all of this like me. I know some things but my routers settings, I just give up, and I do not want to contact support line since my router is fine. My router is super locked down so I can't really get too fancy. This is too confusing for me.
Camera's itself almost don't have settings to configure.
There are two ways to set different DNS server:
I prefer second.
Camera's itself almost don't have settings to configure.
There are two ways to set different DNS server:
- Using UART console
- Using DHCP server on yours side, and configure DNS in DHCP option.
I prefer second.
If Dnsmasq requires me to change the static DNS under LAN, eg. the modem settings, not WAN, I cannot change the DNS under static DNS. My router does not let me do that. I would probably need another router in order or maybe I would have to factory reset it to allow those values to be changed. And I cannot get another router because I am not paying for it and I do have another router, but my current router is fixed already, so then my parents are going to return it back
I don't know what UART is and I think you have to manually solder the pins in order to access the console and I do not know how to solder at all. What do I do now?
Hi, you're right, you need a different router.
I would like to advise you use one from the list above: https://openwrt.org/toh/views/toh_available_16128_ax-wifi
I think, then fake server could be started even on the router (but i'm not sure)
Hi, you're right, you need a different router.
I would like to advise you use one from the list above: https://openwrt.org/toh/views/toh_available_16128_ax-wifi
I think, then fake server could be started even on the router (but i'm not sure)
I do not think I will be changing my router anytime soon. I don't pay for it, so I can't really do anything about it. Any other way besides UART access?
Then only uart is an option, but i didn't dig inside that way deeply, so i may not give you advice in this. Anyway, you can always ask here.
Or on home-assistant forum
Then only uart is an option, but i didn't dig inside that way deeply, so i may not give you advice in this. Anyway, you can always ask here.
Or on home-assistant forum
Port 53 is open on camera, or atleast, the rtthread. No other port is open? is there possible another port on the camera that may be open? Port 53 as I have searched on google is something to do with dns, is there a possible way to ping the rtthread and try open the camera, like trigger the videostream, maybe decompiling the app, and see how it triggers the video streams and interacts with the camera? Is it also possible to load a file onto a microsd card I have and try to trigger the camera, or like open a port of some sort?
I have a Sandisk 32gb micro sd, if theres anything useful in that, let me know.
I have a A9 camera, I figured out AP mode to connect to it via the cameras AP, but the server part is where I struggle, because I want to house all cameras on one app, or connect to an NVR app on my phone, Video tutorial please? IF possible provide screenshots on how to connect, or video tutorial for the server.