#!/bin/bash # Let's foward all Traffic for Port 80 to OpenRobertaServer on Port 1999 # So we don't need a separate Webserver with proxy module /sbin/iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT --to-port 1999 # Let's start OpenRobertaServer in an endless loop # If it crashes, it will just start again while [ true ] ; do cd /opt/robertalab ./ora.sh --start-from-git done