我在一个带有两个网络接口的盒子上运行这个samba服务。我无法重定向端口445上的传入连接,因为该服务正在使用它:
#ssh -fgNL 445:192.168.0.2:445 user@localhost
channel_setup_fwd_listener: cannot listen to port: 445是否有办法使samba服务侦听特定的接口,而另一个接口上的连接被重定向?
发布于 2009-08-30 20:27:35
bind interfaces only = True
interfaces = eth0 192.168.0.2在smb.conf中,它只会监听该接口
https://serverfault.com/questions/60584
复制相似问题