Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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: – 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
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 Jul 9 '14 at 17:34
But that's not what OP asked. – Patrick S. Jul 10 '14 at 0:23

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .