Author Topic: Accessing the classic from anywhere without port forwarding  (Read 630 times)

Graham

  • Full Member
  • ***
  • Posts: 195
    • SkyeTracker
Accessing the classic from anywhere without port forwarding
« on: January 20, 2017, 12:34:58 PM »
Came across this site https://developer.weaved.com/portal/ that  permits the access of IOT devices behind a firewall, it requires an agent running on the local network to be setup to the weaved account.

It's likely using something similar to SSH reverse port forwarding as explained here http://unix.stackexchange.com/questions/46235/how-does-reverse-ssh-tunneling-work

I setup my raspberryPi with the agent and modified their  /etc/config/weaved/services/*.conf file to forward to my classic
proxy_dest_port 502
proxy_dest_ip 192.168.0.22

Then, on the weaved dashboard I got the proxyIp and port, entered that into the local app or android app and connect.
Unfortunately, with a free account, the proxy is only valid for half an hour so you have to get a proxy address/port each time you want to connect remotely

Off-Grid Island cottage, Lac Simon QC
370 Ahrs @ 24V (4 8L16 batteries)
4 x 250watt panels on dual axis trackers http://tinyurl.com/hfpkgr5
Classic 150, Whizbang Jr.
Android Monitor: http://tinyurl.com/lomzq3s

TomW

  • Administrator
  • Hero Member
  • *****
  • Posts: 1415
  • Nullius in Verba
Re: Accessing the classic from anywhere without port forwarding
« Reply #1 on: January 20, 2017, 12:45:00 PM »
Graham;

That seems much more sane / safe than blowing a hole through your router.

Thanks for the share!

Tom
Do NOT mistake me for any kind of "expert".

( ͡° ͜ʖ ͡°)


24 Trina 310 watt modules, SMA SunnyBoy 7.7 KW Grid Tie inverter.

I thought that they were angels, but much to my surprise, We climbed aboard their starship and headed for the skies

TomW

  • Administrator
  • Hero Member
  • *****
  • Posts: 1415
  • Nullius in Verba
Re: Accessing the classic from anywhere without port forwarding
« Reply #2 on: January 20, 2017, 12:51:23 PM »
Seems to be available as a Debian package, too.

"weavedconnectd - Simplifies remote connections to computers behind NAT firewalls"

At least on my Debian 7.11 systems  on my rPi machines.

Not there in Jessie/Sid on the Cubie boards.

Tom
Do NOT mistake me for any kind of "expert".

( ͡° ͜ʖ ͡°)


24 Trina 310 watt modules, SMA SunnyBoy 7.7 KW Grid Tie inverter.

I thought that they were angels, but much to my surprise, We climbed aboard their starship and headed for the skies

Graham

  • Full Member
  • ***
  • Posts: 195
    • SkyeTracker
Re: Accessing the classic from anywhere without port forwarding
« Reply #3 on: January 20, 2017, 02:10:42 PM »
Midnite Solar should embed this type of agent in their new comms box and host the proxy at mymidnite.


Graham.
Off-Grid Island cottage, Lac Simon QC
370 Ahrs @ 24V (4 8L16 batteries)
4 x 250watt panels on dual axis trackers http://tinyurl.com/hfpkgr5
Classic 150, Whizbang Jr.
Android Monitor: http://tinyurl.com/lomzq3s

Graham

  • Full Member
  • ***
  • Posts: 195
    • SkyeTracker
Re: Accessing the classic from anywhere without port forwarding
« Reply #4 on: January 21, 2017, 09:24:35 AM »
Graham;

That seems much more sane / safe than blowing a hole through your router.

Thanks for the share!

Tom

Plus you don't have to pay for a dyndns service


Graham.
Off-Grid Island cottage, Lac Simon QC
370 Ahrs @ 24V (4 8L16 batteries)
4 x 250watt panels on dual axis trackers http://tinyurl.com/hfpkgr5
Classic 150, Whizbang Jr.
Android Monitor: http://tinyurl.com/lomzq3s

grgdgreek

  • Full Member
  • ***
  • Posts: 114
Re: Accessing the classic from anywhere without port forwarding
« Reply #5 on: January 22, 2017, 02:24:33 AM »
Graham;

That seems much more sane / safe than blowing a hole through your router.

Thanks for the share!

Tom

Plus you don't have to pay for a dyndns service


I would also like that :-)
George :-)


Graham.
Home:6*135w mitsu.10*175w shuko. 2* cl150.3*D400 turbines.
Rolls18*4v series 5000 545ah*3 .2*Victron 3000 multiplus inv/chg. 24v. Shop:28*185w shuko. Sunny island. Sunnyboy.Rolls 40*s530.48volt.Sunny web box.