mirror of
https://github.com/anthropics/claude-code.git
synced 2026-05-21 19:12:42 +00:00
update to icmp-admin-prohibited
makes more sense for the intended usage
This commit is contained in:
@@ -114,7 +114,7 @@ iptables -A OUTPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
|
|||||||
iptables -A OUTPUT -m set --match-set allowed-domains dst -j ACCEPT
|
iptables -A OUTPUT -m set --match-set allowed-domains dst -j ACCEPT
|
||||||
|
|
||||||
# Explicitly REJECT all other outbound traffic for immediate feedback
|
# Explicitly REJECT all other outbound traffic for immediate feedback
|
||||||
iptables -A OUTPUT -j REJECT --reject-with icmp-port-unreachable
|
iptables -A OUTPUT -j REJECT --reject-with icmp-admin-prohibited
|
||||||
|
|
||||||
echo "Firewall configuration complete"
|
echo "Firewall configuration complete"
|
||||||
echo "Verifying firewall rules..."
|
echo "Verifying firewall rules..."
|
||||||
|
|||||||
Reference in New Issue
Block a user