amnezia-client/client/server_scripts/setup_firewall.sh
2021-01-21 19:14:07 +03:00

3 lines
118 B
Bash

sysctl -w net.ipv4.ip_forward=1
iptables -P FORWARD ACCEPT
iptables -A INPUT -p icmp --icmp-type echo-request -j DROP