linux samba默认端口,Linux 指定端口挂载samba 亲测可用!
我在云主机开启了445,,46端口通过tcptraceroute可以看到,运营商屏蔽了访问445 samba 端口chunli@ubuntu ~$ tcptraceroute 47.88.159.37 446 -n -q 1Selected device eth0, address 172.16.66.234, port 59972 for outgoing packetsTracing the
我在云主机开启了445,,46端口
通过tcptraceroute可以看到,运营商屏蔽了访问445 samba 端口
chunli@ubuntu ~$ tcptraceroute 47.88.159.37 446 -n -q 1
Selected device eth0, address 172.16.66.234, port 59972 for outgoing packets
Tracing the path to 47.88.159.37 on TCP port 446, 30 hops max
1 172.16.1.254 0.353 ms
2 116.228.237.225 2.150 ms
3 124.74.50.125 6.983 ms
4 *
5 *
6 101.95.88.37 2.087 ms
7 59.43.130.169 2.035 ms
8 *
9 59.43.247.58 3.161 ms
10 59.43.249.233 65.865 ms
11 59.43.250.86 67.115 ms
12 218.185.243.62 68.219 ms
13 119.38.215.73 66.518 ms
14 *
15 47.88.159.37 [open] 68.463 ms
chunli@ubuntu ~$
chunli@ubuntu ~$ tcptraceroute 47.88.159.37 445 -n -q 1
Selected device eth0, address 172.16.66.234, port 45884 for outgoing packets
Tracing the path to 47.88.159.37 on TCP port 445 (microsoft-ds), 30 hops max
1 172.16.1.254 0.351 ms
2 116.228.237.225 1.224 ms
3 *
4 *
5 *
6 *
7 *
8 *
9 *
10 *
11 *
12 *
13 *
14 *
15 *
16 *
17 *
Linux 指定端口挂载samba 亲测可用!
root@ubuntu ~# apt-get install cifs-utils
root@ubuntu ~# mount -t cifs -o username=**用户名不需要引号**,password=**密码不需要引号**,port=445 //172.16.12.252/develop /mnt/test/
root@ubuntu ~# mount -t cifs -o username=**用户名不需要引号**,password=**密码不需要引号**,port=446 //www.reconnect.top/develop /mnt/test/
Windows 暂未找到清爽的方法。
更多推荐
所有评论(0)