Recent Posts

Малка модификация на скипта за iptables за Asterisk

#!/bin/bash ############################################### #chmod +x iptab.sh # #./iptab.sh IP comment # #example ./iptab.sh 192.168.1.1 Panev # #example output ****tcp dpt:22 /* Panev */ # ############################################### args=("$1") #arguments args=("$2") #arguments IPT="/sbin/iptables" #Path to iptables IPTS="service iptables save" IF="eth2" #your network interface Restart="service iptables restart" #Add your rules #echo "IPv4" - in development …

Read More »