Developing lightweight computation at the DSG edge
Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Quick Mesh Project
qMp packages
Commits
2ec91833
Commit
2ec91833
authored
Nov 05, 2011
by
Agustí Moll Garcia
Browse files
Added Masquerade rule in firewall.user for solution with 'search' nodes
parent
1900e97a
Changes
1
Hide whitespace changes
Inline
Side-by-side
packages/qmp-small-node/files/etc/uci-defaults/qmp_splash_fw
View file @
2ec91833
...
...
@@ -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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment