I posted this on the KNC Miner's thread as they have a vulnerability that's resulted in many hacks. Port-forward on your router is the only thing you need to connect to the Antminer S1, but, it's a huge security risk if you don't do anything to secure it. See my post below on how I do it:
I'm extremely addicted at looking at my Antminer S1 miner from anywhere, lol. I have to be able to connect to it from anywhere. I got a hotspot on my phone...
I still have the default root password of root on my S1, however:
1. My ddwrt router can only be managed remotely from 1 IP address
2. My Antminer S1 can only be managed by 1 IP address
3. My Antminer S1 can only ssh'ed to by 1 IP address
4. Ports 80, 443 or 22 are not the ports to connect to
Amazon EC2 micro instance for free (I think it's still free). I have paid about $1/month for the past 3 months and it's only because I've exceeded the data transfer quota. Set one up. Install OpenVPN on it. Install PPTP VPN on it (for tablets and cell phones). This is your personal VPN server and you don't need to pay nobody (pun intended). You can use this when using unsecured public wifi.
Choose ubuntu instance. apt-get the necesary packages. Guides are out there. EC2 requires opening the necessary ports as well as on the Ubuntu hosts. If I somehow find the time and feeling energetic I would write a detailed step-by-step and post it on a webpage, but I doubt it will be anytime soon...
For me it would be not that big security problem to open one port forwarding to each ants. With a strong root pw should not be unsecure...so if anybody can explain how to open the ant for web access via browser? As i say, if i open the 80 port in router, i can access 192.168.1.xxx Router IP plus :80
How to do with another IP instead of 80? And btw, my router forwarding only LAN IP Start Port End Port (for a Range from to) and Protocol, no forwarding to LAN port.
I guess the trick is in the ant menu, under firewall, but unfortunatelly i am not able to found. :/
Your description sounds like Port Range forwarding.
Is there port-forwarding on your router? You can select TCP (or both), source net 0.0.0.0 (Big danger!!! Anyone on the internet can connect, which is why I have a single IP address on this one), Port 23456 (anything above 5000 but below 65500) destination IP 192.168.2.99 (the Ant LAN IP you're trying to connect to), port 80 (this has to be 80).
To access the Ant from anywhere in the world, http://123.45.67.8:23456 where 123.45.67.8 is your router's public WAN port address. The :23456 tells your router to forward it to the LAN 192.168.2.99 on port 80
Next Ant can be port 23457 and so on.... If your router supports dyn-dns.com you can register and access name instead of IP address and when your WAN IP address changes, it also changes.