KotCzarny | n900's worthy: https://github.com/tenox7/wrp | 10:31 |
---|---|---|
L29Ah | lol | 11:19 |
sicelo | i haven't tried the nginx solution on tmo yet, but i think it's a better option | 11:42 |
bencoh | ? | 11:52 |
bencoh | nginx on tmo? | 11:53 |
sicelo | yes. you run nginx on the device as a proxy, then microb connects to it. | 11:59 |
sicelo | iirc halftux prepared the package | 11:59 |
KotCzarny | sicelo, that only solves ssl problem | 11:59 |
KotCzarny | not the funky layouts and js | 11:59 |
sicelo | true | 12:00 |
sicelo | i 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 |
sicelo | on hte WAN interface, a Huawei router is connected, with IP 192.168.8.1. I need to connect to the web config of this router | 14:36 |
sicelo | doing `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:1234 | 14:38 |
sicelo | so i'm a bit stuck. any ideas? | 14:38 |
KotCzarny | disable javascript or write url yourself | 14:39 |
bencoh | nooo | 14:39 |
bencoh | ssh -D 9050 <whateveropenrt> | 14:39 |
bencoh | and use 127.0.0.1:9050 as a SOCKS proxy | 14:39 |
KotCzarny | bencoh, so, openssh can act as socks now? | 14:40 |
KotCzarny | nice | 14:40 |
bencoh | KotCzarny: for ... ages :) | 14:40 |
bencoh | oh and, don't forget to enable remote dns resolving/proxying (in about:conf) | 14:40 |
KotCzarny | i think he only needs to access huawei conf | 14:41 |
sicelo | mmm, for some reason i thought -D wouldn't be the right one here | 14:41 |
bencoh | yeah, the dns part was in case it needs to resolve some .lan/whatever name | 14:41 |
KotCzarny | why not just 192.168.8.1 without tricks? | 14:41 |
sicelo | i'm on the internet, not owrt | 14:42 |
sicelo | i'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 with | 14:44 |
KotCzarny | huawei might be hardcoded to :80 | 14:45 |
KotCzarny | so just forwad local port 80 ? | 14:45 |
KotCzarny | ahm | 14:46 |
KotCzarny | and local ip needed | 14:46 |
KotCzarny | pity it doesnt use some fake domain | 14:46 |
bencoh | sicelo: -D should work anyway, unless I missed something | 14:46 |
KotCzarny | yeah | 14:47 |
KotCzarny | bencoh's solution should be best | 14:47 |
sicelo | i'll try it in a bit. i've somehpw got my keyboard in a locked state of sorts | 14:48 |
sicelo | i 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 |
bencoh | why wouldn't it work? | 14:51 |
KotCzarny | i've recently rewritten some tiny extension that changes urls on the fly in firefox | 14:51 |
sicelo | ah, i think i understand now. trying | 14:53 |
sicelo | yes, it's working. thanks | 14:54 |
Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!