How to Create a File Server on MikroTik (Step-by-Step Guide)

How to Create a File Server on MikroTik (Step-by-Step Guide)
User
5 Min Read
2025/08/05

If you’re looking to create a file server on MikroTik, this guide walks you through exactly how to do it step by step. I recently set one up on a MikroTik VPS for a small internal dev team, and it worked surprisingly well. No need for extra software just SMB, a few clicks in Winbox, and you’re good to go.

Whether you’re sharing project files or just want centralized access for your home setup, MikroTik handles it well. And if you need a reliable VPS to test it on, Eldernode’s MikroTik plans are cheap, fast, and no-KYC.

Enable SMB and Set Up a File Server on MikroTik

Alright, here’s what I did, I opened Winbox, logged in to the MikroTik, went to IP > SMB and found the switch to turn the thing on. That’s it.

There’s literally a checkbox called “Enabled”. Just tick it.

If you’re like me and prefer the terminal, you can also run:

ip smb set enabled=yes

 

Mikrotik IP SMB

 

You will see the following screen. Setup the main parameters as shown below:

 

Enable SMB file share

 

By default, you don’t want your file server exposed to the internet so make sure it only listens on your local interfaces.

Just pick the right interface from the list (like ether2, bridge-local, etc.) and avoid selecting ether1 if that’s your WAN port.

⚠️ Security Tip: Never bind SMB to your WAN or internet-facing interface. If exposed, your file shares could be accessed or scanned by external attackers.

Prefer the terminal? Use this:

ip smb set interfaces=ether2,bridge1

If you’re more into terminal than GUI, this works too:

ip smb set interfaces=ether1,ether2

Creating New SMB File Shares on MikroTik

Alright, once SMB is up and running, let’s create a shared folder.

Head back to IP > SMB, then click the Shares button.

 

Mikrotik SMB settings

 

This will open a new window containing a list of all existing file shares. From there, you can enable, disable, add, or remove any share. To add a new share, click on the + button:

 

SMB settings Shares

 

This can be done also using the command below:

ip smb shares add name=share1 directory=/share1
ip smb shares print

 

Created file share

 

That’s it!

Note: Curious about advanced settings? Here’s check the official MikroTik SMB documentation.

Conclusion

So yeah, setting up a file server on MikroTik isn’t as scary as it sounds. If you made it this far, you probably already have SMB running and your first shared folder live. Nice job.

Got stuck somewhere? Happens to all of us. Drop a comment below and I’ll try to help you out.

Oh and if you don’t have a MikroTik server yet, I was testing all this on an Eldernode VPS. It’s cheap, fast, and didn’t give me any trouble during setup.

0 out of 0 votes
Leave a Reply

Full Name*
Email*
Comment *

Calculate the value of 9 + 7 :

Save my name, email, and website in this browser for the next time I comment.
Recent Replies
Show More

We are by your side every step of the way

Think about developing your online business; We will protect it compassionately

We are by your side every step of the way

+8595670151

7 days a week, 24 hours a day