I've tried different methods to connect socks5 IP on my router and successfully connected. However, after some time, those IPs disconnect automatically. I've tried using redsocks, passwall, and ssr+ but encountered the same issue. This problem occurred on three different routers, and each time there were 2 or 3 other routers connected to the LAN port. When there are no sub-routers on the LAN port, the proxy works fine without any issues. However, when there are other routers connected to the LAN port, I face this issue. If anyone knows a solution to fix this issue, please share it.
Most likely router ran out of 64MB memory, install zram swapp and it adds swap backed by compressed memory, router will get slower in place of otherwise glitching and killing processes.
Luci -> System -> Software -> Refresh sources -> in search type zram-swap -> install
Return to status page it shows ~30MB swap which will be backed by (significantly less) compressed memory
after install the zram swap. got this error and after that when go to overview page then got last massage that i reply.
"zram_start: activating '/dev/zram0' for swapping (27 MiB)
zram_reset: enforcing defaults via /sys/block/zram0/reset
zram_comp_algo: set compression algorithm 'lzo' for zram '/dev/zram0'"
Runtime error
Unhandled exception during request dispatching
module 'luci.ucodebridge' not found:
no field package.preload['luci.ucodebridge']
no file './luci/ucodebridge.lua'
no file '/usr/share/lua/luci/ucodebridge.lua'
no file '/usr/share/lua/luci/ucodebridge/init.lua'
no file '/usr/lib/lua/luci/ucodebridge.lua'
no file '/usr/lib/lua/luci/ucodebridge/init.lua'
no file './luci/ucodebridge.so'
no file '/usr/lib/lua/luci/ucodebridge.so'
no file '/usr/lib/lua/loadall.so'
no file './luci.so'
no file '/usr/lib/lua/luci.so'
no file '/usr/lib/lua/loadall.so'
In anonymous function, file [C]
In anonymous function, file /usr/share/ucode/luci/runtime.uc, line 55, byte 48:
called from function [anonymous function] (/usr/share/ucode/luci/runtime.uc:69:30)
called from function [anonymous function] (/usr/share/ucode/luci/dispatcher.uc:932:91)
called from anonymous function (/www/cgi-bin/luci:39:13)
this.L.invoke('require', 'luci.ucodebridge');
Near here -------------------------------------------------^
Solution is here. Probably make a PR to double defaults, problems would arise if you reach 30k conntrack states with real connections, way past 4k suggested there.