Hi, I'm very new to this, so thanks in advance for any help.
I'm trying to setup an iptable rule to block https facebook. So far I have this in my /jffs/scripts/firewall-start:
Running this outputs 000firewalstarted to the /tmp directory, but https facebook is not blocked at all.
If someone can point me in the right direction on where to put this iptable rule or how to get it working, I would apprecitate it.
Dave
I'm trying to setup an iptable rule to block https facebook. So far I have this in my /jffs/scripts/firewall-start:
Code:
#!/bin/sh
touch /tmp/000firewallstarted
iptables -I FORWARD 1 -p tcp --dport 443 -s 192.168.1.0/24 -d www.facebook.com -j DROP
Running this outputs 000firewalstarted to the /tmp directory, but https facebook is not blocked at all.
If someone can point me in the right direction on where to put this iptable rule or how to get it working, I would apprecitate it.
Dave