How to change SAMBA default port on centos?
Clash Royale CLAN TAG#URR8PPP
up vote
4
down vote
favorite
I need to change the port numbers of samba. Our ISP is blocking the ports 445 and 139. So I need to run samba in a different port.
linux centos samba
add a comment |
up vote
4
down vote
favorite
I need to change the port numbers of samba. Our ISP is blocking the ports 445 and 139. So I need to run samba in a different port.
linux centos samba
add a comment |
up vote
4
down vote
favorite
up vote
4
down vote
favorite
I need to change the port numbers of samba. Our ISP is blocking the ports 445 and 139. So I need to run samba in a different port.
linux centos samba
I need to change the port numbers of samba. Our ISP is blocking the ports 445 and 139. So I need to run samba in a different port.
linux centos samba
linux centos samba
edited Nov 18 at 9:30
Rui F Ribeiro
38.2k1475123
38.2k1475123
asked Dec 13 '13 at 5:27
Vinay Gupta
941313
941313
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
up vote
7
down vote
accepted
Edit smb.conf
and find a line like this,
smb ports = 445 139
change this default port to
smb ports = 2222 2000
Then restart samba server.
Now samba server should be listening on the new ports that you have mentioned.
For more info on customizing samba server click here for documentation.
N.B. : Use port number above 1024 as these are reserved for system purpose. Hope it helps!
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
7
down vote
accepted
Edit smb.conf
and find a line like this,
smb ports = 445 139
change this default port to
smb ports = 2222 2000
Then restart samba server.
Now samba server should be listening on the new ports that you have mentioned.
For more info on customizing samba server click here for documentation.
N.B. : Use port number above 1024 as these are reserved for system purpose. Hope it helps!
add a comment |
up vote
7
down vote
accepted
Edit smb.conf
and find a line like this,
smb ports = 445 139
change this default port to
smb ports = 2222 2000
Then restart samba server.
Now samba server should be listening on the new ports that you have mentioned.
For more info on customizing samba server click here for documentation.
N.B. : Use port number above 1024 as these are reserved for system purpose. Hope it helps!
add a comment |
up vote
7
down vote
accepted
up vote
7
down vote
accepted
Edit smb.conf
and find a line like this,
smb ports = 445 139
change this default port to
smb ports = 2222 2000
Then restart samba server.
Now samba server should be listening on the new ports that you have mentioned.
For more info on customizing samba server click here for documentation.
N.B. : Use port number above 1024 as these are reserved for system purpose. Hope it helps!
Edit smb.conf
and find a line like this,
smb ports = 445 139
change this default port to
smb ports = 2222 2000
Then restart samba server.
Now samba server should be listening on the new ports that you have mentioned.
For more info on customizing samba server click here for documentation.
N.B. : Use port number above 1024 as these are reserved for system purpose. Hope it helps!
answered Dec 13 '13 at 7:10
Ruban Savvy
4,45851840
4,45851840
add a comment |
add a comment |
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f104962%2fhow-to-change-samba-default-port-on-centos%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown