November 25, 2024, 01:29:56 AM

News : LinuxSolved.com Linux Help Community Forum..


Author Topic: BLOCKING OF SITE EXE DOWNLOAD IN NAT  (Read 4507 times)

Offline ozioma

  • Tux Awared
  • **
  • Posts: 35
BLOCKING OF SITE EXE DOWNLOAD IN NAT
« on: August 31, 2005, 07:27:55 AM »
PLEASE I AM USING NAT TO SHARE INTERNET CONNECTION IN MY OFFICE WHEN I WAS USING SQUID I WAS ABLE TO BLOCK SITES AND THE DOWNLOAD OF EXE FILES HOW CAN I DO THIS IN MY NAT PLEASE GIVE ME THE CODE


THANKS
OZIOMA

Offline Ricky

  • LST CareTaker
  • Specially Skilled
  • *****
  • Posts: 2381
BLOCKING OF SITE EXE DOWNLOAD IN NAT
« Reply #1 on: September 01, 2005, 05:40:29 PM »
I can't say about blocking download using iptables but blocking a site is very easy.
Code: [Select]
iptable -A FORWARD -d www.yahoo.com -j DROP