Trying to mine any GPU based mining algorithm I was presented with the dreaded Stratum subscribe timeout in a collection of various mining software including, sgminer, cgminer, claymore and others.
Cryptocurrencies affected included Vertcoin, Monero, Decred and Ethereum.
Mining without stratum was fine so I decided to dig deeper but unfortunately Google wasn’t very helpful in this regard, a few posts suggested it is either a firewall problem, ISP or your external IP address may have been blocked.
For those with Asus routers like my AC68u disabling the inbuilt firewall won’t actually do anything, you have to disable Vulnerability detection which is part of the built in Trend Micro suite of apps. This setting unfortunately blocks all STRATUM connections and packets from any device connected to the modem. In order to disable this setting the steps are as follows:
- Log into your modems setup page and select AIProtection from the menu on the left.
- In the main window select Network protection.
- Scroll down the page until you see Vulnerability Protection and turn it off.
- Hit Apply and reboot the modem.
The Asus modem states the Vulnerability Protection resolves common exploits within the router configuration. Protects the system and applications from exploits and vulnerabilities with Trend Micro Virtual Patch. You can read up more on this via the Asus FAQ page albeit in slightly broken English.
What it actually does is provide a Deep Packet Inspection layer which can protect a targeted device on your network. Needless to say this option unfortunately needs to be disabled if you want to mine virtual currencies. The rest of the Trend apps can remain enabled and the inbuilt firewall can also remain activated without issue.
If enough people send a message to Asus support they may fix this issue in a future firmware update.