A
A
Artem2018-01-09 18:42:05
Samba
Artem, 2018-01-09 18:42:05

Mikrotik port forwarding for samba?

there is a piece of iron mikrotik with an external ip - let's say 10.10.10.10
there is a storage with ip 192.168.1.4.
there is a task to open access to storage, from an external samba server.
opened ports tcp 137 138 139 445 and udp 137 138
does not connect ((maybe what other ports it uses?
add action=dst-nat chain=dstnat dst-address=10.10.10.10 dst-port=139 \
in-interface=WAN protocol= tcp to-addresses=192.168.1.4
add action=dst-nat chain=dstnat dst-address=10.10.10.10 dst-port=137 \
in-interface=WAN protocol=tcp to-addresses=192.168.1.4
add action=dst- nat chain=dstnat dst-address=10.10.10.10 dst-port=445 \
in-interface=WAN protocol=tcp to-addresses=192.168.1.4
add action=dst-nat chain=dstnat dst-address=10.10.10.10 dst-port=138 \
in-interface=WAN protocol=tcp to-addresses=192.168.1.4

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Dmitry Tallmange, 2018-01-09
@tafler

is it commented out
in smb.conf? I mean, probably, samba itself does not let

D
Dmitry Skoromnov, 2018-01-24
@kursy-po-it

The firewall may also be interfering.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question