I want to share a folder on a computer X to several other nodes, say A, B, C, which are on the same LAN. X is behind a router, and the router's IP address might change over the time (it's DHCP-allocated), and I don't have control on that. A, B, C each has a static IP address, and I can ping A, B, C from X. All the nodes are running Linux. What is the best practice if I want to share a folder on X to A, B, C?
I have known that one approach is workable to some extent, which is to setup NAT on the router to port 22 of X, and then use sshfs on A, B, C to mount the folder of X. However, the drawback is that the IP address of the router might change.
I also tried to use reverse ssh + sshfs. However, it seems that this can only share the folder to one node, e.g. X-->A, not to the entire network (A, B, C).