libera/#maemo/ Thursday, 2020-12-03

KotCzarnyn900's worthy: https://github.com/tenox7/wrp10:31
L29Ahlol11:19
siceloi haven't tried the nginx solution on tmo yet, but i think it's a better option11:42
bencoh?11:52
bencohnginx on tmo?11:53
siceloyes. you run nginx on the device as a proxy, then microb connects to it.11:59
siceloiirc halftux prepared the package11:59
KotCzarnysicelo, that only solves ssl problem11:59
KotCzarnynot the funky layouts and js11:59
sicelotrue12:00
siceloi guess this is a noob question - i have an openwrt 'server' with two interfaces (192.168.8.0/24 for WAN, and 192.168.1.0/24 for LAN). I also am able to SSH to it from anywhere (via ngrok for now)14:35
siceloon hte WAN interface, a Huawei router is connected, with IP 192.168.8.1. I need to connect to the web config of this router14:36
sicelodoing `ssh <ngrok_endpoint&port> -L 1234:192.168.8.1:80` and opening localhost:1234 on my browser results in the browser trying to access http://192.168.8.1/html/index.html?url=localhost:123414:38
siceloso i'm a bit stuck. any ideas?14:38
KotCzarnydisable javascript or write url yourself14:39
bencohnooo14:39
bencohssh -D 9050 <whateveropenrt>14:39
bencohand use 127.0.0.1:9050 as a SOCKS proxy14:39
KotCzarnybencoh, so, openssh can act as socks now?14:40
KotCzarnynice14:40
bencohKotCzarny: for ... ages :)14:40
bencohoh and, don't forget to enable remote dns resolving/proxying (in about:conf)14:40
KotCzarnyi think he only needs to access huawei conf14:41
sicelommm, for some reason i thought -D wouldn't be the right one here14:41
bencohyeah, the dns part was in case it needs to resolve some .lan/whatever name14:41
KotCzarnywhy not just 192.168.8.1 without tricks?14:41
siceloi'm on the internet, not owrt14:42
siceloi'm accessing owrt via ssh (through ngrok). so i need a way to specify my intention to speak to 192.168.8.1:80. there's also 192.168.1.1:80 open, which is owrt's config. i can access that with no problem. it's the ..8.1:80 that i'm struggling with14:44
KotCzarnyhuawei might be hardcoded to :8014:45
KotCzarnyso just forwad local port 80 ?14:45
KotCzarnyahm14:46
KotCzarnyand local ip needed14:46
KotCzarnypity it doesnt use some fake domain14:46
bencohsicelo: -D should work anyway, unless I missed something14:46
KotCzarnyyeah14:47
KotCzarnybencoh's solution should be best14:47
siceloi'll try it in a bit. i've somehpw got my keyboard in a locked state of sorts14:48
siceloi don't think -D will work, or i don't know how to use it well (i use it a lot, but yeah)14:51
bencohwhy wouldn't it work?14:51
KotCzarnyi've recently rewritten some tiny extension that changes urls on the fly in firefox14:51
siceloah, i think i understand now. trying14:53
siceloyes, it's working. thanks14:54

Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!