#garfield Logs

Jun 01 2014

#garfield Calendar


13:39 rue_more change headlights
13:39 rue_more pay landtax
13:39 rue_more get mowerbot2 going
13:39 rue_more convert hand tractor to vacuum motors
13:39 rue_more finish catch basin for sand blaster
13:39 rue_more VMMF
13:39 rue_more new boiler design, figure out
13:39 rue_more fix pump for sanoma
13:39 rue_more ride bike
13:40 rue_more luandry, kitty litter, and lunch
16:00 rue_shop2 zlog
16:00 rue_shop2 I chaned the headlights
16:00 Tom_itx i may have to change the camera system to port 82 so it's visible
16:00 rue_shop2 did lunch
16:00 rue_shop2 laundry is on the line
16:01 Tom_itx 80 seems to be blocked on it
16:01 Tom_itx it would be like my regular server wouldn't it?
16:02 rue_shop2 should be
16:02 Tom_itx mmm i gotta fix the router too then
16:02 rue_shop2 that reminds, me i want to play with my camera too
16:02 Tom_itx add another static ip with 82 directed to it...
16:02 Tom_itx what's another good port to use?
16:03 Tom_itx besides 81 82?
16:06 rue_shop2 why not forward a port on the router?
16:06 rue_shop2 I'd suggest just going up from 82
16:07 Tom_itx that's what i'm doing
16:08 Tom_itx i may add another device though and it will need to have it's own port
16:08 Tom_itx i'll use 82 for this one
16:08 Tom_itx but what to use for the next one?
16:10 Tom_itx what's the difference between the 'Device Port' (4520) and the HTTP Port (82) ?
16:11 Tom_itx is the device the individual cameras?
16:11 rue_shop2 anyhing over, hmm 1000 is special
16:12 rue_shop2 I'd just go up from 82
16:12 Tom_itx still fails to find router
16:12 Tom_itx under DDNS
16:12 Tom_itx which is i think their server setup
16:12 rue_shop2 what is your ip
16:12 Tom_itx there is little or no documentation for this
16:13 rue_shop2 mapping an internal ip:port to an external port is easy
16:14 rue_shop2 your using shorewall for the firewall aren't you?
16:14 Tom_itx so i fwd 80 to 82 for this and set port 82 on the device
16:14 Tom_itx no
16:14 Tom_itx i'm using my router
16:15 Tom_itx edgemax lite
16:15 rue_shop2 well when you find the settings its called forwarding :)
16:15 rue_shop2 not a pc?
16:15 rue_shop2 hmm
16:15 Tom_itx no
16:16 Tom_itx well the router has the fwd done for that port
16:17 Tom_itx the local ip works for ....121:82
16:18 Tom_itx i'm rebooting it to see if that helps
16:18 Tom_itx i keep getting the Silverlight install screen on it and i've already installed that
16:45 rue_shop2 to reach a service on a machine behind your firewall, a port on the public ip side of the firewall needs to be forwarded to the port of the machine thats behind the firewall that the service is issued on, the two ports dont have to lign up, but the client looking at the firewall has to know the service resides on a port other than what it expects
17:03 Tom_itx yeah i set all that up
17:03 Tom_itx still doesn't wanna go yet
17:08 Tom_itx i see something on the router setup...
17:11 Tom_itx let's see if i can do it at the router instead of editing the file and uploading it...
17:11 Tom_itx need to add rules for wan and lan for the 82 fwd
17:16 Tom_itx i bet that was it
17:16 Tom_itx still fails
17:20 Tom_itx does silverlight not work on firefox?
17:26 Tom_itx piece of crap...
17:32 TELunus Which, Silverlight or Firefox?
17:32 Tom_itx setting up this recorder
18:03 Tom_itx i think i'll try a different router just to see...
18:12 rue_more whats silverlight?
18:13 Tom_itx i'm not sure but i think it's for viewing streaming video
18:13 Tom_itx i'm gonna swap routers...
18:13 Tom_itx bak in a while
18:14 Tom_itx just to test it
18:36 Tom_itx and i can't test on the linux box because it won't connect to the network
18:48 rue_shop2 ooh,its that content controlled one
18:48 rue_shop2 there is no silverlight for linux
18:48 rue_shop2 or am I thinking of the other one
18:58 Tom_itx ok, it works with the old router on my smartphone
18:58 Tom_itx now to switch routers back and see
18:59 Tom_itx it should, i have the settings the same as for my server as far as port fwd
18:59 Tom_itx brb
19:12 Tom_itx rue_more, can you see this page? http://tom-itx.no-ip.biz:81/~webpage/index.php
19:18 Tom_itx i can see it locally but not on the interweb but the smartphone app works
19:18 Tom_itx go figure
19:19 Tom_itx but still not on the edgemax
19:30 Tom_itx rue_more, if i fwd 80 to inbound 82 what happens when that device on 82 tries to go outbound?
19:44 Tom_itx wait.. there's a place to add a UPNP entry
19:44 Tom_itx the limited docs mentioned that
20:07 rue_more yes I can
20:10 Tom_itx i wonder if i need to configure the 'device' port too. it's like a 4520 port number
20:10 Tom_itx ahh i fixed it!
20:10 Tom_itx i had to bridge the plug n play part of it
20:11 Tom_itx at least it says it's connected now
20:15 Tom_itx i can reach it locally but not interweb
20:48 Tom_itx rue_more
20:52 Tom_itx i can't figure this out.
20:52 Tom_itx i added the upper port range for the video feeds too and it still can't connect to the 'server'
20:58 Tom_itx and it was so simple on the linksys
20:58 Tom_itx bridging the 'plug n play' function did help
20:58 Tom_itx but it still won't connect
21:09 Tom_itx i could show you the router rules if you think you could help
21:15 Tom_itx it's like it works in one direction
21:15 Tom_itx but not the other
21:40 rue_more show me the port forwarding config page of the router
21:40 rue_more pnp is useless dont bother with it
21:41 rue_more I will do mine
21:59 Tom_itx it suggests in the manual that it be configured (PNP) that is...
21:59 Tom_itx let me pull the config and i'll post it
22:00 rue_more haha 3 second delay
22:00 Tom_itx just about there.. don't leave...
22:00 rue_more screw the pnp, you need to set up port forwarding
22:01 Tom_itx it _is_ set up
22:01 rue_more your just gonna get frustrated and give up, everyone does
22:01 rue_more if its not working it needs help
22:01 Tom_itx you're gonna suggest some antiquated debian way and this isn't debian per se
22:01 rue_more no, port forwarding is a basic networking element
22:01 rue_more just like ping and tcp
22:03 Tom_itx http://tom-itx.no-ip.biz:81/~webpage/rue/router.txt
22:04 Tom_itx that's the actual config file from the router less the login info
22:04 Tom_itx i can explain the connections if you need
22:04 Tom_itx BR0 is a soft bridge
22:04 Tom_itx you have 3 ports you can configure any way you want to
22:04 Tom_itx eth0 is WAN
22:05 Tom_itx eth1 & 2 are LAN
22:05 Tom_itx using BR0
22:05 Tom_itx the firewall is basically open
22:06 Tom_itx about halfway down is the port-forward section
22:06 Tom_itx the other section of concern is the 'nat' section
22:07 Tom_itx where the rules are applied to the ip's and ports
22:07 Tom_itx the port 81 and 192.168.1.120 is a woring configuration
22:07 rue_more I'm sure your port forwarding lines are screwed up
22:08 rue_more I think you have the source and distination data mixed up
22:08 Tom_itx 82 and 192.168.1.121 is the video dvr
22:08 Tom_itx no
22:08 Tom_itx it just looks that way
22:08 Tom_itx that's how they do it
22:08 Tom_itx i copied the working configs and changed the names to protect the innocent
22:08 Tom_itx then i added the PNP rule for br0 - eth0
22:09 Tom_itx i'm not sure it shows up there.. i didn't look
22:09 Tom_itx adding that did help
22:09 Tom_itx rule 4 & 5 are the concerned ones for the dvr
22:10 Tom_itx and i added 5001 5002 but they didn't help
22:10 Tom_itx that was an attempt for outbound video
22:10 Tom_itx the video channels are 4520-4524 for 4 cameras
22:10 Tom_itx not sure what the spare is for
22:11 rue_more so typically you forward the video channels 1:1 thru the firewall
22:11 Tom_itx i'm not sure
22:11 Tom_itx i didn't have to on the linksys
22:11 rue_more just getting my dvr going
22:11 Tom_itx all i did on it was the port 82 to the 192.168.1.121 address
22:11 Tom_itx and it all worked fine on it
22:12 Tom_itx switching back to this router is the issue
22:12 Tom_itx i don't think i need rule 5001 5002
22:12 Tom_itx they didn't seem to help anything
22:14 Tom_itx i can use DHCP for it but static seemed to work and connect better
22:15 Tom_itx it shows the device as being connected to the samsung dyndns server
22:15 Tom_itx but i can't access it
22:16 rue_more the dvr will report to samsung thats its address is 192.168.1.102
22:16 Tom_itx just a sec.. i'll upload their user manual
22:16 rue_more which wont help you at all
22:16 Tom_itx 192.168.1.121
22:16 rue_more whatever
22:16 rue_more piont is, its not a public ip, wont help
22:16 Tom_itx and it has a setting to change the port from 80 to anything
22:17 Tom_itx but the router should handle that
22:17 Tom_itx like it does on the debian server
22:17 rue_more you dont want masquerading... you want forwarding...
22:17 Tom_itx masquarading is for the web access
22:18 Tom_itx without that you go no wheree
22:18 Tom_itx from that, you apply other rules
22:18 Tom_itx that has to be there
22:18 rue_more with my dvr, web port is on 80, and stream is via 34567
22:18 Tom_itx right
22:18 Tom_itx mine was 80 and 4520
22:19 Tom_itx i changed it to 82 and 4520
22:19 rue_more so, on my router, I want web port to be on 83 and video stream on 34567
22:19 rue_more I have to do 4 things
22:19 rue_more enable traffic from 83 into my router
22:19 Tom_itx right, i did that
22:19 rue_more forward 83 to the dvr
22:19 Tom_itx and that
22:19 rue_more enable 34567
22:19 Tom_itx not sure about that
22:19 rue_more and forward 34567 to the dvr
22:20 Tom_itx or that
22:20 rue_more your login will be tom, the password is tom
22:20 Tom_itx i'm pretty sure the first two are working
22:20 rue_more here I go!
22:20 Tom_itx i have limited time for this tonight too
22:20 Tom_itx sry
22:21 Tom_itx http://tom-itx.no-ip.biz:81/~webpage/rue/video/
22:21 Tom_itx the pdf's for the thing are there
22:21 Tom_itx or soon will be
22:22 Tom_itx the router guide might help
22:25 rue_more I think that'll work
22:25 Tom_itx storm on the way. i may not be here long
22:26 Tom_itx i had my smartphone working with the other router so i can test with it for connecivity
22:26 rue_more try this
22:27 rue_more http://205.250.205.218:83/
22:27 rue_more get a login page
22:27 rue_more ?
22:28 Tom_itx nope
22:28 rue_more :)
22:28 Tom_L http://205.250.205.218:83/
22:29 rue_more might have the ports backwards, I dont think so tho
22:30 rue_more oh, maybe
22:31 Tom_itx here comes the rain...
22:32 rue_more try agaain...
22:32 Tom_itx i used the smartphone because i was having trouble with that stupid MS software
22:33 Tom_itx and i still can't connect on the ubuntu pc
22:33 Tom_L timed out again
22:33 rue_more I'm expariemnting
22:33 Tom_L so was i but it wasn't working
22:34 rue_more I'v done this but not with port number translation
22:34 Tom_L if the stupid ISP didn't block 80 all would be fine probably
22:35 Tom_L DVR uses <HTTP Port> and <Device Port> for web connections
22:36 Tom_L <HTTP Port> is used for accessing DVR by using an internet browser
22:36 Tom_L <Device Port> is used for receiving video from DVR to internet browser
22:36 Tom_L somewhere i need a rule for the 4520-4524 ports
22:36 Tom_L but i haven't figured out where to put it
22:55 Tom_L i give up for tonight
22:56 rue_more can you try mine again?
22:58 Tom_L logged in
22:59 Tom_L http://205.250.205.218:83/Login.htm
23:00 rue_more does video stream work?
23:00 rue_more only camera 1 is connected
23:00 Tom_L my quicktime is outdated
23:00 Tom_L i don't think it'll work
23:00 rue_more dunno, I only have one machine that can play it
23:01 Tom_L but i did get connected
23:01 rue_more oooh, hmmm
23:02 rue_more messing with it...
23:02 rue_more ifny, you up?
23:04 rue_more tom, can you try that again?
23:05 rue_more Tom_itx,
23:05 rue_more Tom_L, ?
23:05 rue_more TELunus,
23:05 rue_more iamturni1,
23:05 rue_more http://205.250.205.218:83/
23:05 rue_more do you get a webpage?
23:07 Tom_L i get the login page
23:07 rue_more ok
23:08 rue_more #camera
23:08 rue_more DNAT net loc:192.168.8.123:80 tcp 83
23:08 rue_more DNAT net loc:192.168.8.123 tcp 34567
23:08 rue_more DNAT net loc:192.168.8.123 udp 34567
23:08 Tom_L then quicktime tries to work
23:08 rue_more those are the rules I added
23:08 rue_more the trick is that the destination address needs to include the port
23:08 Tom_L oh the last 2 are for tcp and udp
23:08 rue_more so that takes all net(internet) traffic to port 83 and sends it to 192.168.8.123:80
23:08 Tom_L i can combine those
23:09 rue_more yea, I dont think the tcp 34567 is req'd
23:09 rue_more cause I'm pretty sure only a moron tries to send video over tcp
23:09 Tom_L i think i had that rule set up but it wasn't working
23:09 Tom_L look at rule 4 & 5 of the router.txt
23:10 Tom_L err no, i had those removed there
23:10 rue_more :) I'll let you analize for a bit
23:10 Tom_L would it be a source nat rule?
23:10 Tom_L the inbound are destination rules on mine
23:11 rue_more all DNAT
23:11 Tom_L destination nat?
23:11 rue_more yup
23:11 Tom_L should i specify a range on mine since there are 4 cameras?
23:11 Tom_L 4520-4524
23:11 rue_more welcome to the work on moronic obfiscated naming
23:11 Tom_L it will take a range as input
23:12 rue_more no, cause you will only be looking with one client at the same time
23:12 rue_more ( I suspect)
23:12 Tom_L you can view all 4 at once
23:12 Tom_L i need one for wan and lan right?
23:13 rue_more just wan
23:13 rue_more cause thats where the requests come from
23:13 Tom_L unless they are local network requests
23:14 Tom_L i have to have 2 for my other one as well
23:14 rue_more local you shoudl access device directly
23:14 Tom_L one for lan and one for wan
23:14 Tom_L i'll post the new config in a sec
23:15 Tom_L do i need the source port too?
23:15 Tom_L 80
23:15 Tom_L probably not
23:16 rue_more no, when you specify the local ip, put :80 on it
23:16 rue_more source port is the port on the requesting machine
23:16 rue_more aka, the browser
23:18 Tom_L http://tom-itx.no-ip.biz:81/~webpage/rue/video/router.txt
23:19 Tom_L can't test it
23:19 Tom_L i put the stuff up for tonight
23:19 Tom_L rule 6 & 7
23:19 Tom_L in the nat section
23:20 Tom_L i think i tried that once already though
23:21 Tom_itx does yours give email alerts?
23:21 Tom_itx i could set that up too
23:22 Tom_itx probably won't though
23:22 Tom_itx gnite...
23:22 rue_more I just wanted to have a dedicated streaming mach9ine
23:22 rue_more and compare it with the $480 ones we get at work
23:22 rue_more (its was like $47)
23:23 rue_more so far the $17 camera and the $47 dvr seem just as good at the 480 dvr and the 250 cameras
23:23 Tom_itx yeah
23:23 Tom_itx do they do night vision too?
23:24 Tom_itx we've been having alot more suspicious activity around here lately
23:25 Tom_itx i'm goin to sleep
23:26 Tom_itx thanks
23:30 rue_more yea
23:30 rue_more np