I have an arduino yun that hosts an html page on the local network, when the picture on the html page is pressed, it turns on pin 13. This setup is intended for people to play knowledgebowl remotely so i need to use it on my schools network. i have tried this on port forwarding but i cant use port forwarding on my schools network. i have tried to use yaler but it is SO CONFUSING, there is no hope unless somebody can help me adapt my project for yaler. I need help getting my project accessible from any browser on the internet without using port forwarding, there is such limited documentation on this.
#include <Bridge.h>
#include <HttpClient.h>
#include <YunServer.h>
#include <YunClient.h>
// Listen on default port 5555, the webserver on the Yun
// will forward there all the HTTP requests for us.
YunServer server;
String readString;
void setup() {
Serial.begin(9600);
// Bridge startup
pinMode(13, OUTPUT);
digitalWrite(13, LOW);
Bridge.begin();
//digitalWrite(13, HIGH);
// Listen for incoming connection only from localhost
// (no one from the external network could connect)
server.noListenOnLocalhost();
server.begin();
}
void loop() {
// Get clients coming from server
YunClient client = server.accept();
// There is a new client?
if (client) {
// read the command
String command = client.readString();
command.trim(); //kill whitespace
Serial.println(command);