A few questions:
1) Port forwarding (with cgwatcher) -- do I forward 7777 to 7777, or 7777 to something else (4028), or do I use 4028 (the default)?
2) How many rigs can I put up for lease? If I have more than one, I need multiple port forwarding rules, so how do I configure that (e.g. they can't all be external port 7777)?
3) Is there a way for the owner of a rig to login through your site and test out the rig, to verify all is working properly?
Here's what I have as my cgminer startup command:
cgminer.exe --scrypt --config cgminer-lease.conf --auto-fan --failover-only --api-groups P:switchpool:addpool:removepool:restart:save:* --api-listen --api-allow P:89.212.242.33,127.0.0.1 --api-port 4028
The cgminer-lease.conf specifies my normal mining pools, which I assume would be active any time the rig isn't being leased. Did I miss anything?
1. You can use 4028 - I heard cgwatcher can't be configured to use different port?
2. Each mining rig must have different external port, because all your rigs are accessible via single IP - so my server has to know which rig is which thus ports are used to distinguish between them. You can however use same internal ports (forwarded to). Such router rule would look something like this:
ext. int.
7777 -> 4028
7778 -> 4028
3. Once you install your rig (put in your IP/domain + port) your rig will appear in the list and you will have full access to manage pools, set default pool, manage renting plans etc... You can manage pools via website on your own too, not only your customer.
4. You may want to grant your localhost full access, so use tag W instead of P for your local IP.