Block firefox telemetry on mesh
This commit is contained in:
parent
89e1f99244
commit
31dd378f6f
|
@ -402,7 +402,9 @@ function mesh_firewall {
|
||||||
echo "iptables -A INPUT -p tcp --dport $TRACKER_PORT -j ACCEPT";
|
echo "iptables -A INPUT -p tcp --dport $TRACKER_PORT -j ACCEPT";
|
||||||
echo "ip6tables -A INPUT -p tcp --dport $TRACKER_PORT -j ACCEPT";
|
echo "ip6tables -A INPUT -p tcp --dport $TRACKER_PORT -j ACCEPT";
|
||||||
echo "iptables -A INPUT -p udp --dport 1900 -j ACCEPT";
|
echo "iptables -A INPUT -p udp --dport 1900 -j ACCEPT";
|
||||||
echo "ip6tables -A INPUT -p udp --dport 1900 -j ACCEPT"; } > "$MESH_FIREWALL_SCRIPT"
|
echo "ip6tables -A INPUT -p udp --dport 1900 -j ACCEPT";
|
||||||
|
echo "iptables -A INPUT -s $FIREFOX_TELEMETRY_IP -j DROP";
|
||||||
|
echo "iptables -A OUTPUT -s $FIREFOX_TELEMETRY_IP -j DROP"; } > "$MESH_FIREWALL_SCRIPT"
|
||||||
chmod +x "$MESH_FIREWALL_SCRIPT"
|
chmod +x "$MESH_FIREWALL_SCRIPT"
|
||||||
|
|
||||||
{ echo '[Unit]';
|
{ echo '[Unit]';
|
||||||
|
|
Loading…
Reference in New Issue