November 23, 2024, 01:06:49 AM

News : LinuxSolved.com Linux Help Community Forum..


Author Topic: Block MSn messenger and yahoo messenger  (Read 5868 times)

Offline shani

  • Tux Awared
  • **
  • Posts: 36
Block MSn messenger and yahoo messenger
« on: December 13, 2005, 10:12:30 AM »
Hi Every body,

i am using redhat linux 8.0 on my system and i have already implemented only NAT on it , now i wanted to block Msn messenger and yahoo messenger through this nat.
following is my NAT script.

((iptables=/sbin/iptables
 iptables --flush -t nat
iptables --table nat --append POSTROUTING --out-interface eth1 -j MASQUERADE
iptables --append FORWARD --in-interface eth0 -j ACCEPT
echo 1 > /proc/sys/net/ipv4/ip_forward))))

thanks

Offline Ricky

  • LST CareTaker
  • Specially Skilled
  • *****
  • Posts: 2381
Block MSn messenger and yahoo messenger
« Reply #1 on: December 17, 2005, 10:47:13 AM »
You have to find out that what ports and what urls ie. servers are used by those IMs and then block them..
For further we had a discussion already on it ..
see Blocking yahoo and msn messenger