Its not really applicable to just one board, so I'll scribble here
Got a minor routing problem
Code: Select all
Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 0.0.0.0 172.21.24.1 220.127.116.11 UG 0 0 0 tun0 default _gateway 0.0.0.0 UG 100 0 0 eth0 64-145-79-177.i _gateway 255.255.255.255 UGH 0 0 0 eth0 18.104.22.168 172.21.24.1 22.214.171.124 UG 0 0 0 tun0 link-local 0.0.0.0 255.255.0.0 U 1000 0 0 eth0 172.21.24.0 0.0.0.0 255.255.254.0 U 0 0 0 tun0 192.168.1.0 0.0.0.0 255.255.255.0 U 100 0 0 eth0
I also have motion running with a USB cam on a C2.
I can using an app on my phone see all the ip cameras and the usb cam on the local net.
and I have a fixed ipaddress (WAN)
I've set up port forwarding through the router so I can check the cameras when away from home
all IPcams are visible, except the USB cam connected to the C2
I'm pretty sure the reason I cant connect to the C2 from the WAN and outside world, is the VPN running.
Now i'd have thought that if I was connecting to the fixed ip address on the wan side of the router, even if the return path got routed
via the VPN over to New York it would find its way back to my phone, but I'm guessing the mobile network can see the return source and detination source
addresses are diferent and wont play.
Right after all the waffel here's the question
If I add a fixed static route to my fixed ip address on the WAN side of the router, would that get over the problem, or would it still go the what ever address
the mobile network uses. And that address is liable to be different depending on my location, so go out via the VPN.
My knowledge of the TCPIP stack is very rusty now