a windows smb share or a linux samba share?
either way, sounds like a very dangerous thing to do.
when i need access something inside the lan, i use vpn or ssh.