summaryrefslogtreecommitdiffstats
path: root/minikrebs/profiles/rickroller/customfiles/etc/config/firewall
diff options
context:
space:
mode:
Diffstat (limited to 'minikrebs/profiles/rickroller/customfiles/etc/config/firewall')
-rw-r--r--minikrebs/profiles/rickroller/customfiles/etc/config/firewall20
1 files changed, 11 insertions, 9 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