How can I setup SMB on my server to use an alternative port? I'm attempting to use something other than port 445.
Asked
Active
Viewed 855 times
1
-
why? hopefully not for security purposes? – tony roth May 20 '12 at 01:46
-
1Whenever I'm on the road, some ISPs block 445 which means I cannot access my website folder when the server is at work. – alexpja May 20 '12 at 03:13
-
ok that explains things a little, do you have other users or is it just you? – tony roth May 20 '12 at 14:44
-
Other users too, but they never found this website. – alexpja May 20 '12 at 17:34
-
there is a lot wrong with what you are doing and something sounds kinda fishy about it when you say "but they never found this website" what are you saying? Are you editing files that are part of website? If so then you should be using webdav more then likely. then you can access the files like a normal directory using port 80. – tony roth May 20 '12 at 22:02
-
1@tonyroth: I think by "this website" the OP means *this* website, i.e., serverfault.com. – Harry Johnston May 20 '12 at 23:39
-
Using smb over the public internet is a Very Bad Idea. Maybe explain what you are really trying to accomplish and we can suggest a more secure and reliable way. ISPs block port 445 for a reason. – Grant May 21 '12 at 00:13
-
1All I need is for coworkers and I to use our SMB shares from anywhere using an alternative port, I do understand it's bad to use it externally, but all of us are fine with it. – alexpja May 21 '12 at 03:30
1 Answers
0
Instead of trying to muck around with SMB on the server, you should investigate using a VPN. Windows Server includes both DirectAccess and Routing and Remote Access, either of which should be able to solve your problem. Your networking equipment may also have VPN support.

Harry Johnston
- 6,005
- 4
- 35
- 52