Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to support multiple port bindings #321

Open
yamhtz opened this issue Nov 18, 2024 · 4 comments
Open

How to support multiple port bindings #321

yamhtz opened this issue Nov 18, 2024 · 4 comments

Comments

@yamhtz
Copy link

yamhtz commented Nov 18, 2024

How to support multiple port bindings

@namjaejeon
Copy link
Member

Does samba support it?

@yamhtz
Copy link
Author

yamhtz commented Nov 19, 2024

samba 支持吗?

samba Supported !
2024-11-19 19-03-37

@namjaejeon
Copy link
Member

Great:), Can you contribute this function to ksmbd ?

@mmakassikis
Copy link

you can use iptables to redirect ports. For example (adapt it to your local ruleset):

iptables -t nat -A PREROUTING -t nat -p tcp --dport 11445 -j REDIRECT --to-port 445

(ksmbd in unchanged and listens on port 445 by default)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants