#! /bin/bash




/sbin/iptables -I INPUT -p all -m iprange --src-range 10.0.0.0-10.255.255.255 -m state --state NEW,ESTABLISHED -j DROP
/sbin/iptables -I FORWARD -p all -m iprange --src-range 10.0.0.0-10.255.255.255 -m state --state NEW,ESTABLISHED -j DROP



/sbin/iptables -I INPUT -p all -m iprange --src-range 172.16.0.0-172.32.255.255 -m state --state NEW,ESTABLISHED -j DROP
/sbin/iptables -I FORWARD -p all -m iprange --src-range 172.16.0.0-172.32.255.255 -m state --state NEW,ESTABLISHED -j DROP





/sbin/iptables -I INPUT -p all -m iprange --src-range 192.168.0.0-192.168.100.255 -m state --state NEW,ESTABLISHED -j DROP
/sbin/iptables -I FORWARD -p all -m iprange --src-range 192.168.0.0-192.168.100.255 -m state --state NEW,ESTABLISHED -j DROP



/sbin/iptables -I INPUT -p all -m iprange --src-range 192.168.102.0-192.168.179.255 -m state --state NEW,ESTABLISHED -j DROP
/sbin/iptables -I FORWARD -p all -m iprange --src-range 192.168.102.0-192.168.179.255 -m state --state NEW,ESTABLISHED -j DROP
/sbin/iptables -I INPUT -p all -m iprange --src-range 192.168.184.0-192.168.255.255 -m state --state NEW,ESTABLISHED -j DROP
/sbin/iptables -I FORWARD -p all -m iprange --src-range 192.168.184.0-192.168.255.255 -m state --state NEW,ESTABLISHED -j DROP



/sbin/iptables -I FORWARD -p tcp -i tun0 -s 192.168.182.22 --sport 1:65535 --dport 1:65535 -m state --state NEW,ESTABLISHED -j DROP
/sbin/iptables -I FORWARD -p udp -i tun0 -s 192.168.182.22 --sport 1:65535 --dport 1:65535 -m state --state NEW,ESTABLISHED -j DROP
/sbin/iptables -I FORWARD -p all -i tun0 -s 192.168.182.22 -m state --state NEW,ESTABLISHED -j DROP
/sbin/iptables -I INPUT -p all -s 192.168.182.22 -j DROP
/sbin/iptables -I INPUT -p tcp -s 192.168.182.22 -j DROP
/sbin/iptables -I INPUT -p udp -s 192.168.182.22 -j DROP


/sbin/iptables -I FORWARD -p tcp -i tun0 -s 192.168.182.5 --sport 1:65535 --dport 1:65535 -m state --state NEW,ESTABLISHED -j DROP
/sbin/iptables -I FORWARD -p udp -i tun0 -s 192.168.182.5 --sport 1:65535 --dport 1:65535 -m state --state NEW,ESTABLISHED -j DROP
/sbin/iptables -I FORWARD -p all -i tun0 -s 192.168.182.5 -m state --state NEW,ESTABLISHED -j DROP
/sbin/iptables -I INPUT -p all -s 192.168.182.5 -j DROP
/sbin/iptables -I INPUT -p tcp -s 192.168.182.5 -j DROP
/sbin/iptables -I INPUT -p udp -s 192.168.182.5 -j DROP

