実現したいこと
OpenmediavaultでNASを建てたのですが、初期ポート番号の445から別のポートに切り替えたいと思っています。ただ、smb.confの中にポート番号を指定できる場所がありません。この場合はどのように設定できますか?
試したこと
smb.conf内の関係のありそうな行を編集 → NAS自体を壊してしまう。
ChatGPTに質問 → ポート番号の行がなく断念
###smb.conf
# This file is auto-generated by openmediavault (https://www.openmediavault.org) # WARNING: Do not edit this file, your changes will get lost. #======================= Global Settings ======================= [global] workgroup = WORKGROUP server string = %h server dns proxy = no log level = 0 log file = /var/log/samba/log.%m max log size = 1000 logging = syslog panic action = /usr/share/samba/panic-action %d passdb backend = tdbsam obey pam restrictions = no unix password sync = no passwd program = /usr/bin/passwd %u passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* . pam password change = yes socket options = TCP_NODELAY IPTOS_LOWDELAY guest account = nobody load printers = no disable spoolss = yes printing = bsd printcap name = /dev/null unix extensions = yes wide links = no create mask = 0777 directory mask = 0777 use sendfile = yes aio read size = 1 aio write size = 1 time server = no wins support = no disable netbios = yes multicast dns register = no # Special configuration for Apple's Time Machine fruit:aapl = yes fruit:copyfile = yes fruit:nfs_aces = no
補足情報(FW/ツールのバージョンなど)
OMV : 6.5.6-1 (Shaitan)
Linux 6.1.0-0.deb11.7-amd64
Intel(R) Core(TM) i3-4160 CPU @ 3.60GHz

0 コメント