Hello Dhruv Soi
iptables -A FORWARD -p tcp -d www.google.com -j REJECT
...it is worth mentioning that iptables can only operate on IPs. In this case, it will resolve www.google.com and apply the rule.
--Dhruv Ahuja
- [ilugd]: URL blocking using IPTABLES Dhruv Soi
- Re: [ilugd]: URL blocking using IPTABLES Supreet Sethi
- Re: [ilugd]: URL blocking using IPTABLES vivek
- Re: [ilugd]: URL blocking using IPTABLES Supreet Sethi
- Re: [ilugd]: URL blocking using IPTABLES Dhruv Ahuja
- Re: [ilugd]: URL blocking using IPTABLES Pankaj Kaushal
- Re: [ilugd]: URL blocking using IPTABLES Dhruv Ahuja
- Re: [ilugd]: URL blocking using IPTABLES Vineet Mehta