Troubleshooting - YouEbr/ps4-exploit-host-on-Asuswrt-Merlin GitHub Wiki
If by any chance, you followed the guide exactly but it failed to work for you, here all couple of commands that might help you see what went wrong.
Is DNS up and running?
ps | grep dns
you should see dnsmasq is running. If not; on web browser go to your router's page; navigate to log page and keep and eye of it while you run following command on command line
service restart_dnsmasq
on log page, you should see an error message and explanation of what went wrong.
Did iptable rules worked as expected:
In command line of your router, execute:
iptables -t nat -nvL
Under "Chain PREROUTING" you must have following entries:
0 240 REDIRECT tcp -- * * 192.168.1.50 0.0.0.0/0 tcp dpt:80 redir ports 8080
0 0 REDIRECT tcp -- * * 192.168.1.50 0.0.0.0/0 tcp dpt:53 redir ports 53053
0 1210 REDIRECT udp -- * * 192.168.1.50 0.0.0.0/0 udp dpt:53 redir ports 53053
Under "Chain OUTPUT" you must have following entry:
0 0 REDIRECT tcp -- * * 192.168.1.50 0.0.0.0/0 tcp dpt:80 redir ports 8080
0 0 REDIRECT tcp -- * * 192.168.1.50 0.0.0.0/0 tcp dpt:53 redir ports 53053
0 0 REDIRECT udp -- * * 192.168.1.50 0.0.0.0/0 udp dpt:53 redir ports 53053
if not, then check on nat-start file, see if you have right commands in it. Also check on its file permissions.
Is ps4-exploit-host running?
On command line do:
ps | grep python
you should have something like:
715 admin 33464 S python3 /mnt/2G/ps4-exploit-host_b3b6dbb/start.py
If not, check on "services-start" file. Make sure not to miss "&" at the end of added line.
Router's GUI page does not work!
On command line do:
netstat -nl
You must see followings:
tcp 0 0 127.0.0.1:80 0.0.0.0:* LISTEN
tcp 0 0 192.168.1.1:80 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:53 0.0.0.0:* LISTEN
tcp 0 0 192.168.1.1:53 0.0.0.0:* LISTEN
tcp 0 0 192.168.1.1:8080 0.0.0.0:* LISTEN
udp 0 0 127.0.0.1:53 0.0.0.0:*
udp 0 0 192.168.1.1:53 0.0.0.0:*
udp 0 0 192.168.1.1:53053 0.0.0.0:*