Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Is it possible to set up sharing on just one network card? I want to share a folder or two only on my wired connection, but not my wireless connection.

I couldn't find any resources online to do this, and I'm wondering if there might be some sort of firewall configuration to do this.

share|improve this question
    
If you run Samba on Windows you can limit which IP addresses it listens on: smithii.com/samba –  Randolf Richardson Nov 17 '11 at 0:37
    
I would try this, but it's currently not an option. –  12hys Nov 17 '11 at 1:07
add comment

1 Answer

up vote 6 down vote accepted

Open Control Panel, and then Network And Sharing Center. Go to Change Adapter Settings. Right-click the network adapter for which you do not want to share files, and choose Properties. Uncheck File and Printer Sharing. That will disable that service for that network card while leaving it enabled for others.

share|improve this answer
    
Thank you, this worked perfectly. –  12hys Nov 17 '11 at 2:58
    
You're welcome. Just an old trick from the Dial-Up Networking days of Windows 9x. –  Patrick S. Nov 17 '11 at 14:35
    
I just want to point out that this is a drastic solution that doesn't work when one wants to share some folders over one of the network interfaces and some other folders over some other network interface. –  HASM 2 days ago
    
But that's not what OP asked. –  Patrick S. 2 days ago
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.