| Author |
|
Harv Honourary Member

TF2 GOD
Joined: 24 January 2003 Location: United Kingdom Posts: 2716
|
| Posted: 14 October 2004 at 8:29am | IP Logged
|
|
|
Hi there all,
The hardware and software support guru needs a hand with his hardware/software!
The question is easy (for the techies!), but the answer may be more complex...
Can someone please help me find a way of blocking an IP address range or allowing only a certain ip range on a Windows 2000 profesional computer?
Specifically, what I want to do is to allow inbound and outbound communication of the address range (172.16.24.1 - 172.16.25.254 - subnet mask 255.255.254.0)
and block the rest.
The snag is - i don't particularly want to go through the hassle of installing a firewall. That is over-kill and would cost money for licensing.
If any of you can come up with an idea that would utilise a function in Windows to achieve this, or alternatively know any free software that would do this, please post here!!!
Thanks for helping guys.
|
| Back to Top |
|
| |
Puss Honourary Member


Joined: 04 August 2003 Location: Scotland Posts: 1518
|
| Posted: 14 October 2004 at 8:42am | IP Logged
|
|
|
I know of blocking IP's with ASP pages, but I dont think its very secure or what you are looking for.
__________________ You're about as useful as a cock flavored lollipop.
|
| Back to Top |
|
| |
greg Honourary Member

Joined: 20 August 2004 Location: United Kingdom Posts: 2865
|
| Posted: 14 October 2004 at 9:52am | IP Logged
|
|
|
Theres only the option to block/allow TCP/UDP ports in windows TCP/IP settings but I guess thats no use.
Cant think of any way to do it in Windows2k itself.
|
| Back to Top |
|
| |
Harv Honourary Member

TF2 GOD
Joined: 24 January 2003 Location: United Kingdom Posts: 2716
|
| Posted: 14 October 2004 at 1:17pm | IP Logged
|
|
|
I am not planning on making it unhackable, just enough security to deter average users from persisting.
I would be interested in this suggestion you have Puss, and you are right greg - thanks anyway. Blocking ports will not be useful, i need to allow just that IP range.
Any other suggestions would be handy! :)
|
| Back to Top |
|
| |
ChiefPFF Honourary Member

CheesePFF
Joined: 09 September 2002 Location: Scotland Posts: 567
|
| Posted: 14 October 2004 at 4:26pm | IP Logged
|
|
|
You could use Zone Alarm - they've got a free version for single users and not-for-profit organisations.
Zone Alarm
I havent used that version but im sure you could set it up to do what you want.
|
| Back to Top |
|
| |
Grizzler Site Admin

Janitor
Joined: 13 Febuary 2003 Location: Norway Posts: 5192
|
| Posted: 14 October 2004 at 6:05pm | IP Logged
|
|
|
I have zonealarm pro
__________________
|
| Back to Top |
|
| |
|SFH|gama_k Site Admin

Deputy Clan Leader
Joined: 09 September 2002 Location: United Kingdom Posts: 744
|
| Posted: 15 October 2004 at 4:02am | IP Logged
|
|
|
why not use the in built win2000 firewall features ?
|
| Back to Top |
|
| |
Harv Honourary Member

TF2 GOD
Joined: 24 January 2003 Location: United Kingdom Posts: 2716
|
| Posted: 15 October 2004 at 6:59am | IP Logged
|
|
|
:o !!
Tell me how to use the in built Win2K firewall!? Didn't know there was one!?
I tried Zonealarm btw, it looked good for a free firewall, but as i suspected, it needs A LOT of configuration just to get the thing up and running, let alon doing what i need it to do. Thanks for the ZA suggestion, but i am gonna need something a little more basic.
|
| Back to Top |
|
| |
Nhumrod Site Admin

Clan Leader & GM
Joined: 09 September 2002 Location: Scotland Posts: 13897
|
| Posted: 18 October 2004 at 1:38am | IP Logged
|
|
|
harv, its easy, get xp and put SP2 on it for a very nice built in firewall... 
__________________ There is no IRL, there's just AFK.
|
| Back to Top |
|
| |
Harv Honourary Member

TF2 GOD
Joined: 24 January 2003 Location: United Kingdom Posts: 2716
|
| Posted: 18 October 2004 at 3:25pm | IP Logged
|
|
|
3 months time I am gonna be upgrading all 136 company workstations from Win2K to XP and all 8 servers from Win2K to Win2k3, so i probably will look in to using the built in XP firewall then.
|
| Back to Top |
|
| |
Jaguar-infinity Honourary Member


Joined: 07 October 2002 Location: United Kingdom Posts: 1437
|
| Posted: 19 October 2004 at 2:44am | IP Logged
|
|
|
my BSD firewall could do the job nicely, its free and would only need an old 500mhz box with 2 nics to act as a gateway and all the lisencing if free :) but you said you dont want that hassle so i'm stumped, would buying one of those router/firewall boxes from say ebuyer be able to do the job?
__________________ All i do at work is hang around all day, shoot stuff or go swimming... when can i do what everyone else does and sit around instead?
|
| Back to Top |
|
| |
christoff Honourary Member

World Traveller
Joined: 18 October 2004 Location: Canada Posts: 114
|
| Posted: 19 October 2004 at 5:44am | IP Logged
|
|
|
Hi there,
Do you use a router? if so what you can do is set an access-list on your router that will allow a certain range of ip addresses or certain types of traffic/protocols to have access in and out of your network.
If your company uses Cisco Routers then give me a shout and i'll right the access list for you.
Cheers
Christoff
|
| Back to Top |
|
| |
Harv Honourary Member

TF2 GOD
Joined: 24 January 2003 Location: United Kingdom Posts: 2716
|
| Posted: 19 October 2004 at 12:06pm | IP Logged
|
|
|
Yeah, we do use Cisco routers although i'll have to check if they are programable, however i was hoping for a much more simple solution... I'll have to explain myself i think! :)
The company has a policy that allows music in the office. Since I am currently working in an open-plan floor of over 30 users, i built on this and aquired some software that allows people to make requests for music from thier PCs to a central 'server' database of MP3's that plays these requests through its speakers.
I am quite proud of my little project to add a little fun to the office, but there are those few people that like to abuse the system a little, and although this software is pretty good, there ARE loopholes.
I can close these loopholes, but ONLY if i can identify and block specific IP addresses that access that central database.
So, as you can understand - implementing a corporate or heavy-handed solution to this is not really worth my time. Thanks for ALL the suggestions though people, i have taken them on board and i'll work something out i'm sure.
Either that or i'll get too bored trying.
|
| Back to Top |
|
| |
christoff Honourary Member

World Traveller
Joined: 18 October 2004 Location: Canada Posts: 114
|
| Posted: 19 October 2004 at 4:34pm | IP Logged
|
|
|
How did you come up with that range of IP Addresses? Have you identified them as belonging to the people who are abusing the software? The thing is, surely your company must be leasing there IP Addresses through DHCP?, depending on how your network is setup, do you know?, if you are all on the 1 LAN then unless you add static ip addresses to the specific MAC addresses of the abusers and set them on your server you might end up leasing one of the denied IP Addresses then you wouldn't be able to listen to it.
How about just setting access rights on the server there trying to connect to, i take it they connect in via username and password (profiles)? If they do just set the access rights to the folder allowing only certain users access to it.
I like problems like these
Cheers
Chris
|
| Back to Top |
|
| |
Harv Honourary Member

TF2 GOD
Joined: 24 January 2003 Location: United Kingdom Posts: 2716
|
| Posted: 20 October 2004 at 1:03am | IP Logged
|
|
|
Argh!
I have made this sound more complicated than it really is! :(
Lemme answer ya questions then...
That range of IP addresses is the subnet of the site i currently work in (Camden) the other subnets are 172.16.22.0 (Guildford), 172.16.26.0 (Sheffield) and 172.16.28.0 (Glasgow). Currently the JukeBox is installed in two sites - 172.16.22.0 and 172.16.24.0 Yes, I am the administrator for the DNS,DHCP and AD servers on all DC's for every site, and yes the workstations get thier IP's from DHCP.
This problem i am refering to here though is not the users within the one subnet, the problem is that users on the other subnet have the ability to choose what music to play for the other accross our VPN connecting all offices if they have the software installed (annoying to say the least).
I refered to the computer with the database of music on as the 'server' when in actual fact it is installed on a Win2Kpro PC. The 'clients' use the software to access the database by refering to it by name (which in this case is 'music'). This name is resolved in DNS, so the issue of which ip address to block is not an issue in each subnet.
The users therefore do not access the computer by username and password, since both the client and the 'server' share the same software which again negates the need for access on a user level, and simply allows access on a system level.
Phew...
So.. in short - i need to block one subnet from accessing the one music 'server' in the other subnet...
Any clearer? (Hope you are taking notes Wom!).
BTW.. A big HELLO from me to you Christoff. Its good for me to have a techy mind to bounce off!
|
| Back to Top |
|
| |
Puss Honourary Member


Joined: 04 August 2003 Location: Scotland Posts: 1518
|
| Posted: 20 October 2004 at 5:44am | IP Logged
|
|
|
So they actually use software to make the requests?
IF they used an ASP page it seems like it would be easy to block some IP address's and let other requests through. We just made something like it at work for an In/Out board type of deal. But if they use software to access the server (think I am confusing myself) then it wont use an ASP. 
If your bored of reading this then just stop here.
To explain the In/Out board. Basically a list of people in each room and the person updates it when they are not there. Other people in the same room can also update that same person's record (for when off sick and things) but people in other rooms can't. Their IP address doesn't belong to the ones matching that room in an access database. And vice versa with an admin being the exception.
Sounds like what you want but again its in ASP's. If you want more help then just ask.
__________________ You're about as useful as a cock flavored lollipop.
|
| Back to Top |
|
| |
christoff Honourary Member

World Traveller
Joined: 18 October 2004 Location: Canada Posts: 114
|
| Posted: 20 October 2004 at 6:51am | IP Logged
|
|
|
 Hello to you to Harv.. bounce away.............
I think my first idea of adding an outbound access-list on your gateway to which the Win2Kpro PC resides would sort the problem straight away,
router(config)#access-list 1 deny 172.16.22.0 0.0.0.255 router(config)#access-list 1 permit any any router(config)#interface fa0/0 (or serial 0/0) router(config-int)#ip access-group 1 out router(config-int)#no shutdown router(config-int)#exit router(config)#copy run start
Adding this to your router config would deny access to your Win2Kpro PC from the 172.16.22.0 subnet and allow your own subnet to carry on using it.
The only problem with doing this is do the users from the 172.16.22.0 subnet need to have access to any servers or services located in the same subnet as your mp3 database? if so then we would have to restrict them access to the actual protocol that uses the transfer of data from the mp3 database, probably uses ftp. so it would then become:
router(config)#access-list 100 deny tcp 172.16.22.0 0.0.0.255 eq ftp router(config)#access-list 100 permit any any router(config)#interface fa0/0 (or serial 0/0) router(config-int)#ip access-group 100 out router(config-int)#no shutdown router(config-int)#exit router(config)#copy run start
But hey if this is 2 much hassle let's look for something else  
Cheers
Chris
|
| Back to Top |
|
| |
greg Honourary Member

Joined: 20 August 2004 Location: United Kingdom Posts: 2865
|
| Posted: 20 October 2004 at 6:54am | IP Logged
|
|
|
 buh?
Havent a clue if thats whats required but  anyway chris, sounds very good anyhoo!
|
| Back to Top |
|
| |
christoff Honourary Member

World Traveller
Joined: 18 October 2004 Location: Canada Posts: 114
|
| Posted: 20 October 2004 at 7:49am | IP Logged
|
|
|
sshhh!!! i just made it up but don't tell him.
only kidding that should sort ya.
|
| Back to Top |
|
| |
Harv Honourary Member

TF2 GOD
Joined: 24 January 2003 Location: United Kingdom Posts: 2716
|
| Posted: 21 October 2004 at 11:49am | IP Logged
|
|
|
Too much hassle, but thanks anyway matey! :)
Mucho appreciated.
|
| Back to Top |
|
| |