Firewall rules using IP?

Viruses, hackers and crackers
Post Reply
Gromit
Registered User
Posts: 526
Joined: 14 Mar 2006, 02:00
Location: P.E

Firewall rules using IP?

Post by Gromit »

I have a firewall that can only use IP addresses and I desperately need to block hotmail from our network. Any idea how this can be done?
Image
Port Elizabeth Wireless User Group
www.pewifi.co.za
ryanrich
Forum Moderator
Posts: 8465
Joined: 07 Jun 2003, 02:00
Location: Adelaide, Australia

Post by ryanrich »

ping www.hotmail.com

Pinging www.hotmail.aate.nsatc.net [212.162.1.125] with 32 bytes of data:

Reply from 212.162.1.125: bytes=32 time=199ms TTL=47
Reply from 212.162.1.125: bytes=32 time=214ms TTL=47
Reply from 212.162.1.125: bytes=32 time=199ms TTL=47
Reply from 212.162.1.125: bytes=32 time=204ms TTL=47

Ping statistics for 212.162.1.125:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 199ms, Maximum = 214ms, Average = 204ms

<Block_IP=212.162.1.125>

:lol:
SBSP
Registered User
Posts: 3124
Joined: 09 May 2006, 02:00
Location: Centurion

Post by SBSP »

for a start block IP 64.4.33.7 and 65.54.179.248

They probably have plenty servers.

Best would be to have a proxyserver that blocks websites and then

block ports 25/110 on the firewall for all computers in the internal network and only allow your mail server through.

Anyway i dont know how you network is set up ,but in my enviroment that is what i wouldive done.
Last edited by SBSP on 19 Dec 2006, 10:33, edited 1 time in total.
Gromit
Registered User
Posts: 526
Joined: 14 Mar 2006, 02:00
Location: P.E

Post by Gromit »

Thats all good and fine, but you can access Hotmail from different sites, try hotmail.msn.com, to name one.
Image
Port Elizabeth Wireless User Group
www.pewifi.co.za
Nuke
Registered User
Posts: 3515
Joined: 28 Feb 2004, 02:00
Processor: Xeon E5620
Motherboard: Asus P6T6 Workstation
Graphics card: MSI GTX770
Memory: 24GB Hynix
Location: ::1

Post by Nuke »

Better way to get an IP.

C:\Documents and Settings\Administrator>nslookup www.hotmail.com
Server: dnscache1.is.co.za
Address: 168.210.2.2

Non-authoritative answer:
Name: www.hotmail.aate.nsatc.net
Addresses: 166.63.208.158, 212.162.1.124, 166.63.208.158
Aliases: www.hotmail.com, www.hotmail.com.nsatc.net

There you have all the addresses.
Image
ryanrich
Forum Moderator
Posts: 8465
Joined: 07 Jun 2003, 02:00
Location: Adelaide, Australia

Post by ryanrich »

Upgrade to a civilised Firewall/Proxy like ISA Server and then it will simplify things a lot... :wink:
Gromit
Registered User
Posts: 526
Joined: 14 Mar 2006, 02:00
Location: P.E

Post by Gromit »

I would love to get an ISA server but the company is a bit stingy. Just got them to buy a new Dual Xeon server with MS server 2003 standard (alas no ISA or Exchange). Think I will put in a Linux machine as the proxy and load Squid.
Image
Port Elizabeth Wireless User Group
www.pewifi.co.za
Nuke
Registered User
Posts: 3515
Joined: 28 Feb 2004, 02:00
Processor: Xeon E5620
Motherboard: Asus P6T6 Workstation
Graphics card: MSI GTX770
Memory: 24GB Hynix
Location: ::1

Post by Nuke »

You are using a Mikrotik if I remember right? Then use Mangle and mark packets containing eg. the word "hotmail"
Image
SBSP
Registered User
Posts: 3124
Joined: 09 May 2006, 02:00
Location: Centurion

Post by SBSP »

Gromit wrote:I would love to get an ISA server but the company is a bit stingy. Just got them to buy a new Dual Xeon server with MS server 2003 standard (alas no ISA or Exchange). Think I will put in a Linux machine as the proxy and load Squid.
Thats exactly what i did.

I i never went wrong
Futs
Registered User
Posts: 1565
Joined: 23 Oct 2003, 02:00
Location: Pretoria

Post by Futs »

Squid is good :) you can actually block MAC addresses to certain sites or rather only allow the ones you'd like.

For a proxy it is one of the best, That would be the route I'd go
Image
Post Reply