Yet another Dahua email setup challange

UmDaMan

n3wb
Joined
Aug 3, 2018
Messages
24
Reaction score
7
Location
Illinois
In your LAN router/gateway, add a static route along the lines of :
"For network 192.168.254.0/24 (ie subnet mask 255.255.255.0) use <IP_address_of_NVR_LAN_interface> as the gateway"
Ok, I have Motorola NVG589 router. I could not find Static Route. So I searched My model, and found that this Cascaded Router is what I need to change. But I tried several combinations of IP's in the fields, but I would always get some error about an IP in the Network address field. :(.

See attached photo of the options I have for the Cascaded Router area.
 

Attachments

alastairstevenson

Staff member
Joined
Oct 28, 2014
Messages
15,930
Reaction score
6,778
Location
Scotland
I would always get some error about an IP in the Network address field
The network address should have a 0 in the last octet, ie
192.168.254.0
And the subnet mask would be 255.255.255.0
And the cascaded router IP address would be the IP address of the LAN interface of the NVR.
 

UmDaMan

n3wb
Joined
Aug 3, 2018
Messages
24
Reaction score
7
Location
Illinois
The network address should have a 0 in the last octet, ie
192.168.254.0
And the subnet mask would be 255.255.255.0
And the cascaded router IP address would be the IP address of the LAN interface of the NVR.
I just tried what you said, unfortunately I'm still getting an error. :( Error says: Cascaded router network address must be a WAN-Side subnet. I'm starting to think that this router cannot do what we want. I'm wondering if things would work if I just change the subnet mask on all the devices to 255.255.0.0 . Just not sure if that is a secure risk or no different than if I got the static route working.
 

bigredfish

Known around here
Joined
Sep 5, 2016
Messages
17,019
Reaction score
47,484
Location
Floriduh
I ran into one of those with a buddy. Never was able to get it to work. It aint like regular routers..
 
Joined
Oct 10, 2019
Messages
1
Reaction score
0
Location
Scottsdale, AZ 85262, US
I have been using Stunnel which is a TLS wrapper for secure encrypted traffic. Run it in client mode on a Linux or Windows host.
Then, configure your IP cam smtp server to point to the IP of the server or VM running Stunnel, port 25, no encryption.

This works flawlessly and will let you use any email provider. A major benefit is it makes the TLS implementation of the IP Cam software irrelevant.
 

UmDaMan

n3wb
Joined
Aug 3, 2018
Messages
24
Reaction score
7
Location
Illinois
The network address should have a 0 in the last octet, ie
192.168.254.0
And the subnet mask would be 255.255.255.0
And the cascaded router IP address would be the IP address of the LAN interface of the NVR.
I do have a wireless router, that does have Static Routing. Could I just connect my NVR to my wireless router and configure the static route?
1577725126138.png

So would gateway be the NVR IP? 192.168.254.1
Destination IP would that be the IP that I assigned to the IP Camera? 192.168.254.5
Then 255.255.255.0 for Subnet Mask
 

alastairstevenson

Staff member
Joined
Oct 28, 2014
Messages
15,930
Reaction score
6,778
Location
Scotland
I do have a wireless router, that does have Static Routing. Could I just connect my NVR to my wireless router and configure the static route?
The static route would have to be known by the default gateway - ie your normal router.
So no, adding another router that's not the default gateway device would not work.

But in answer to the configuration question :
That static routing config would look normal enough if it was your LAN gateway.
The destination IP address would be the NVR PoE interface network - ie 192.168.254.0 / 255.255.255.0
The gateway would be the NVR LAN IP address, whatever you have set that to. The idea is that the network traffic for the 192.168.254.0 network is sent via the NVR LAN interface.
 
Top