diff options
Diffstat (limited to 'files/common/etc/fsm/inetable/trans/robinson.enter')
-rwxr-xr-x | files/common/etc/fsm/inetable/trans/robinson.enter | 6 |
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 |