summaryrefslogtreecommitdiff
path: root/files/common/etc/fsm/inetable/trans/robinson.enter
diff options
context:
space:
mode:
Diffstat (limited to 'files/common/etc/fsm/inetable/trans/robinson.enter')
-rwxr-xr-xfiles/common/etc/fsm/inetable/trans/robinson.enter6
1 files changed, 6 insertions, 0 deletions
diff --git a/files/common/etc/fsm/inetable/trans/robinson.enter b/files/common/etc/fsm/inetable/trans/robinson.enter
index 163f155..e54c6ba 100755
--- a/files/common/etc/fsm/inetable/trans/robinson.enter
+++ b/files/common/etc/fsm/inetable/trans/robinson.enter
@@ -28,4 +28,10 @@ batctl gw off
# TODO: start fake dns
+# start redirection httpd, add robinson IP to service httpd
+echo "http://$randnet.1/robinson.html" > /tmp/redirection_target
+enable_httpd redirection $randnet.1:81
+change_service_httpd_listen $randnet.1:80
+/etc/init.d/uhttpd restart
+
# TODO: redirect all inet traffic to local httpd
contact: Jan Huwald // Impressum