Link to home
Start Free TrialLog in
Avatar of Carl_Brody
Carl_Brody

asked on

How to restrict file sharing to one specific IP, and block others?

My desktop's LAN IP is 192.168.1.205, and my laptop's IP is 192.168.1.208.

On the desktop, I want to share some files, but make them accessible ONLY to my laptop.
I've setup some rules in my firewall, which block ports 135,137,139 altogether (to any IP) and allow port 445 only to the laptop IP, and block 445 for all other IPs.

Yet, I can still access the share from other machines.

Exactly what do I have to allow or block, to make sure that ONLY the machine from one specific IP can access the shared folder?
Avatar of MushyPea
MushyPea

Were "(to any IP)" and "allow port 445 only to the laptop IP" typoes... I think you meant "(FROM any IP)" and "allow port 445 only FROM the laptop IP"?
Avatar of Carl_Brody

ASKER

You're right, I didn't express myself very accurate there. Incoming connections at port 445 FROM the laptop IP are allowed, and blocked from any other IP.

What if I just forget my current rules, delete them all and start over, exactly wat kind of rule set should I create for this?
Sounds like you have the right idea already.  However, my vague recollection of the basic port filtering in Win2K is that it's difficult to get it working correctly.

You might find the IPSec filtering much better, although it is somewhat more lengthy and complicated.  Here's some info:   http://homepages.wmich.edu/~mchugha/w2kfirewall.htm
Thanks, I'll have a look at that. But then I'm still unsure about exactly what I have to block or let through?
ASKER CERTIFIED SOLUTION
Avatar of MushyPea
MushyPea

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thanks, got it working now!