If you need to block the access to that sites locally (i.e. from the computer on which you run iptables, you can use the following command: iptables -A OUTPUT -d <XXX_site_IP_address> -j REJECT alternatively, yuo can add the following string to /etc/sysconfig/iptables (in the 'filter' table): -A OUTPUT -d <XXX_site_IP_address> -j REJECT If you want to block the access from another machine, for which your computer is acting as a router, you should change 'OUTPUT' to 'FORWARD' in the examples above. Alexey Fadyushin. Brainbench MVP for Linux. http://www.brainbench.com Nilesh wrote: > > Hello > > How do i block Adult XXX sites through iptables > > can any one help me > > Thanks > > > ---------------------------------------------------------------------- > Do you Yahoo!? > Yahoo! Photos - Get your photo on the big screen in Times Square -- redhat-list mailing list unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list