diff options
author | makefu <github@syntax-fehler.de> | 2013-01-08 00:16:56 +0700 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2013-01-08 00:25:48 +0700 |
commit | 659132eb714e1c6152357f91cde8b2241cada7cd (patch) | |
tree | 90abb0c2b03090ca0453fde39e9ffde2226e1305 /minikrebs/profiles/rickroller/customfiles/etc | |
parent | d9f1bca78f46084f9e71b9c23e422d0a946cd9b6 (diff) |
rickroller: add ssl-support
Diffstat (limited to 'minikrebs/profiles/rickroller/customfiles/etc')
-rw-r--r-- | minikrebs/profiles/rickroller/customfiles/etc/config/firewall | 20 | ||||
-rw-r--r-- | minikrebs/profiles/rickroller/customfiles/etc/config/uhttpd | 13 | ||||
-rw-r--r-- | minikrebs/profiles/rickroller/customfiles/etc/uhttpd.crt | bin | 0 -> 529 bytes | |||
-rw-r--r-- | minikrebs/profiles/rickroller/customfiles/etc/uhttpd.key | bin | 0 -> 609 bytes |
4 files changed, 11 insertions, 22 deletions
diff --git a/minikrebs/profiles/rickroller/customfiles/etc/config/firewall b/minikrebs/profiles/rickroller/customfiles/etc/config/firewall index 6e95b5cd..56f20aa7 100644 --- a/minikrebs/profiles/rickroller/customfiles/etc/config/firewall +++ b/minikrebs/profiles/rickroller/customfiles/etc/config/firewall @@ -93,18 +93,20 @@ config rule option family ipv6 option target ACCEPT -# does not seem to work for some reason: -#config redirect -# option src lan -# option proto tcp -# option src_dport 80 -# option dest_port 80 - config redirect - option src lan + option src lan option proto tcp option src_dport 80 - option src_ip !192.168.23.1 + option src_ip !192.168.23.1 option dest_port 80 option dest_ip 192.168.23.1 option target DNAT + +config redirect + option src lan + option proto tcp + option src_dport 443 + option src_ip !192.168.23.1 + option dest_port 443 + option dest_ip 192.168.23.1 + option target DNAT diff --git a/minikrebs/profiles/rickroller/customfiles/etc/config/uhttpd b/minikrebs/profiles/rickroller/customfiles/etc/config/uhttpd index 0767269b..74695b7c 100644 --- a/minikrebs/profiles/rickroller/customfiles/etc/config/uhttpd +++ b/minikrebs/profiles/rickroller/customfiles/etc/config/uhttpd @@ -11,16 +11,3 @@ config uhttpd main option network_timeout 30 option tcp_keepalive 1 option error_page /index.html - -# Certificate defaults for px5g key generator -config cert px5g - - option days 730 - - option bits 1024 - - option country DE - option state shackspace - option location shackspace - - option commonname krebs-rickroller diff --git a/minikrebs/profiles/rickroller/customfiles/etc/uhttpd.crt b/minikrebs/profiles/rickroller/customfiles/etc/uhttpd.crt Binary files differnew file mode 100644 index 00000000..d406c90f --- /dev/null +++ b/minikrebs/profiles/rickroller/customfiles/etc/uhttpd.crt diff --git a/minikrebs/profiles/rickroller/customfiles/etc/uhttpd.key b/minikrebs/profiles/rickroller/customfiles/etc/uhttpd.key Binary files differnew file mode 100644 index 00000000..d5d163d2 --- /dev/null +++ b/minikrebs/profiles/rickroller/customfiles/etc/uhttpd.key |