PacketFence - BTS - PacketFence
View Issue Details
0001688PacketFencecaptive portalpublic2013-08-14 12:172014-04-03 14:01
KimHagen 
 
normalminoralways
newopen 
 
 
0001688: Captive portal access to common/network-access-detection.gif use lan ip.
In the Captive portal option to enter an ip for access to common/network-access-detection.gif it states that you can use your LAN ip here.

This is however fire-walled (in inline mode).



I made a patch to iptables.pm so it works.
is it safe to put this patch?

--- /usr/src/iptables.pm 2013-08-14 18:01:53.000000000 +0200
+++ /usr/local/pf/lib/pf/iptables.pm 2013-08-14 18:02:26.256478576 +0200
@@ -187,6 +187,7 @@
             $rules .= "-A INPUT --in-interface $dev -d $ip --jump $FW_FILTER_INPUT_INT_INLINE\n";
             $rules .= "-A INPUT --in-interface $dev -d 255.255.255.255 --jump $FW_FILTER_INPUT_INT_INLINE\n";
             $rules .= "-A INPUT --in-interface $dev -d $mgmt_ip --protocol tcp --match tcp --dport 443 --jump ACCEPT\n";
+ $rules .= "-A INPUT --in-interface $dev -d $mgmt_ip --protocol tcp --match tcp --dport 80 --jump ACCEPT\n";
             $rules .= "-A FORWARD --in-interface $dev --jump $FW_FILTER_FORWARD_INT_INLINE\n";
 
         # nothing? something is wrong

regards,
Kim
No tags attached.
Issue History
2013-08-14 12:17KimHagenNew Issue

There are no notes attached to this issue.