As in windows 7 to open the smb ports just for the VPN adapter?

At work is windows 7 and looking out the Internet.
Created vpn to home PC and have shared my desired folder.
How to close ports balloon not a vpn adapter(that is to the Internet all ports were closed, and the vpn ports to the balloon was opened)?
is there any program or something else that can be done?
June 5th 19 at 21:24
2 answers
June 5th 19 at 21:26
Solution
Use the built-in Windows firewall is where you specify which IP or adapters or ranges of networks have access through SMB
June 5th 19 at 21:28
The regular Windows firewall - create a rule, then open it and go to the tab "area"
There you can specify either the network or specific addresses from which traffic to allow.

Find more questions by tags Windows