Block HTTPS

23 02 2012

ClearOS sayang tidak bisa ngeblok https utk web tertentu, tapi hanya bisa blok port 443 alias semua situs https akan ke blok.

Kalau hanya facebook yg ingin kita blok, perintah berikut mungkin bisa digunakan :

iptables -I FORWARD -p tcp -i eth2 –dport 443 -d www.facebook.com -j DROP
iptables -I FORWARD -p tcp -i eth2 –dport 443 -d facebook.com -j DROP
iptables -I FORWARD -p tcp -i eth2 –dport 443 -d www.facebook.com.edgesuite.net -j DROP

Sementara kalao ingin blok semua https gunakan perintah :

$ iptables -t nat -I PREROUTING -p tcp –dport 443 -j DROP

 


Actions

Information

2 responses

8 12 2012
kim

Ini ngetik perintah nya dimana kk ?

27 12 2012
hwtsai

di terminal…

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s




%d bloggers like this: