HI? i wan to access the openwrt web ui and the machine via DDNS and SSH. i have set the DDNS which is duckdns and NOIP, but the problem comes here i can not access it, SSH says connection refused with the NOIP DDNS or duckdns.
Do you have a public IP ?
Make sure the IP address registered in DNS matches the IP address held by the wan port (IPv4 Upstream) and is also the IP address reported when you go to a "what's my IP" test site from a LAN computer.
If the router does hold your public IP, the next thing to consider is that the ssh port (TCP 22) needs to be open from wan.
If you do get it working, it is recommended to use a different port and a separate instance of dropbear with password authentication disabled (pubkey only). Port 22 will get probed a lot by scripts that try different passwords.
Maybe*, All i know is i am connected to an another router which is from my uncle.
Doing this would weaken the security of your network by a lot. If there is anything of value in that network (including the internet connection bandwidth which some bad actors would be very happy to get access to), you should really consider setting up a more secure way to access the router, e.g. Wireguard or Tailscale.
The the public IP sits on your uncle's router, at best.
Nice Idea, All though i don't have a powerful router so it might not work as others, but i would love to try.
Oh, well, Then i think i do have a public IP.
I don't think you need a powerful router to run Wireguard.
Depends on the expected throughput over the wireguard tunnel, but just for accessing the router' GUI remotely most routers will work. And you can always put a raspbery pi into your network as wireguard end point, if the router is too puny...
I am using frpc-frps.
No, your uncle has a public IP. You must ensure that DDNS is working correctly, and forward ports from your uncle's router to yours.
What's this?
oh well, Is there a way to bypass the port or something? I really don't want to tell it to my uncle.
tried typing it in @ google ?
frpc-frps
this one? https://github.com/fatedier/frp?
you typed two times so i was confused.
luci-app-frpc on openwrt, and App frps on cloud server.
luci-app-frpc
frpc is (14.13 MiB), Which i don't have on my router, Thanks for your suggestion tho.
My router is 16MB flash, openwrt v23.05.3 + frpc + luci-app-frpc, total ~11MB, just fit it.
i think tt's too short for me, Okay an qus, can i use the temp space which is from ram as a flash storage to install softwares? just curious.
Use Zerotier. It is kind of large but it will fit in your flash. When loaded it needs about 12 MB of RAM so 64 MB RAM may be an issue though.
can i use the temp space which is from ram as a flash storage to install softwares? just curious.
You could try build your personal build included FRP codes, then would save the code size.