How to add iptables rule on Pritunl server to limit some IP Address
Check the php version
sudo iptables -I INPUT 1 -s 172.15.212.124 -m comment --comment pritunl_kapaldev -j DROP
sudo iptables -I INPUT 1 -d 192.168.71.10 -s 172.16.212.124 -m comment --comment pritunl_kapaldev -j ACCEPT
sudo iptables -I FORWARD 1 -s 172.15.212.124 -m comment --comment pritunl_kapaldev -j DROP
sudo iptables -I FORWARD 1 -d 192.168.71.10 -s 172.16.212.124 -m comment --comment pritunl_kapaldev -j ACCEPT
sudo iptables -I OUTPUT 1 -s 172.15.212.124 -m comment --comment pritunl_dev -j DROP
sudo iptables -I OUTPUT 1 -d 192.168.71.10 -s 172.16.212.124 -m comment --comment pritunl_kapaldev -j ACCEPT
Tidak ada komentar :
Posting Komentar