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
fda7e957
Commit
fda7e957
authored
Oct 03, 2012
by
p4u
Browse files
iptables rules modified to solve clamp-pmtu problem
parent
d1e6e98e
Changes
3
Show whitespace changes
Inline
Side-by-side
packages/qmp-small-node/files/etc/uci-defaults/qmp_clamp_tcpmss
View file @
fda7e957
...
...
@@ -4,5 +4,5 @@ if cat /etc/firewall.user | grep -e "^# Clamp MSS TCP rule to fix MTU problems";
cat
<<
EOF
>> /etc/firewall.user
# Clamp MSS TCP rule to fix MTU problems
iptables -A FORWARD -p tcp -
i
b
r-lan ! -d 10.0.0.0/8
-m tcp --tcp-flags SYN,RST SYN -j TCPMSS --clamp-mss-to-pmtu
iptables -A FORWARD -p tcp -
o
b
mx6_+
-m tcp --tcp-flags SYN,RST SYN -j TCPMSS --clamp-mss-to-pmtu
EOF
packages/qmp-small-node/files/etc/uci-defaults/qmp_masquerade_options
0 → 100755
View file @
fda7e957
#!/bin/sh
if
cat
/etc/firewall.user |
grep
-e
"^# QMP Masquerade options"
;
then
exit
0
;
fi
cat
<<
QMP
>> /etc/firewall.user
# QMP Masquerade options
iptables -t nat -A POSTROUTING -s 172.16.0.0/12 ! -d 172.16.0.0/12 -j MASQUERADE
iptables -t nat -A POSTROUTING -s 192.168.0.0/16 ! -d 192.168.0.0/16 -j MASQUERADE
QMP
packages/qmp-small-node/files/etc/uci-defaults/qmp_splash_fw
deleted
100755 → 0
View file @
d1e6e98e
#!/bin/sh
cat
<<
QMP
>> /etc/firewall.user
iptables -t nat -A POSTROUTING -s 10.0.0.0/8 -d 10.0.0.0/8 -j RETURN
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