You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

7 lines
239 B

  1. #!/bin/sh
  2. ip link show gnunet-dns 1>/dev/null 2>/dev/null || exit 0
  3. iptables -t mangle -I OUTPUT 1 -p udp -m owner --gid-owner gnunetdns --dport 53 -j ACCEPT
  4. iptables -t mangle -I OUTPUT 2 -p udp --dport 53 -j MARK --set-mark 136708149