From 659132eb714e1c6152357f91cde8b2241cada7cd Mon Sep 17 00:00:00 2001 From: makefu Date: Tue, 8 Jan 2013 00:16:56 +0700 Subject: rickroller: add ssl-support --- .../rickroller/customfiles/etc/config/firewall | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) (limited to 'minikrebs/profiles/rickroller/customfiles/etc/config/firewall') 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 -- cgit v1.2.3