Developing lightweight computation at the DSG edge

Commit 2ec91833 authored by Agustí Moll Garcia's avatar Agustí Moll Garcia
Browse files

Added Masquerade rule in firewall.user for solution with 'search' nodes

parent 1900e97a
......@@ -5,4 +5,5 @@ IPLOCAL="\$(uci get qmp.networks.lan_address)"
/usr/sbin/iptables -t nat -N captive-portal
/usr/sbin/iptables -t nat -I PREROUTING -i br-lan ! -d \${IPLOCAL} -j captive-portal
/usr/sbin/iptables -t nat -A captive-portal -p tcp --destination-port 80 -j DNAT --to-destination \${IPLOCAL}:8888
/usr/sbin/iptables -t nat -A POSTROUTING -j MASQUERADE
QMP
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment