Port forwarding SMB
Port forwarding SMB
I'm trying to connect via SMB using my Android device to the router, but it hasn't worked yet. I'm not very familiar with networking, so I need help. My PC has a static IP and is connected to the IPS modem, but when my IP changes (it's dynamic), SMB stops functioning. I have a network diagram attached. It worked before, but now it doesn't connect properly. My goal is for the Android box to reach my PC so I can stream shows over LAN. Updated Dec 24, 2019 by teidy
It’s unclear how this functions when your PC connects to the router’s WAN side. The modem likely provides several public IP addresses, but you shouldn’t expose SMB services to it.
Avoid including your setup layout as a PDF file. I wouldn't process files from untrusted origins.
With the router, the connection isn't functioning properly. It works when all devices are linked to the modem. I had to ask for a static IP, but they only provided one starting with 93. It's unclear how severe this issue is, but if you plan to stop using it, I'm uncertain. I can connect everything I need through the router, but the TV box (multicast/IPTV) isn't responding. The simplest solution I see is to run another Ethernet cable for that device, though I'd prefer to explore other alternatives first. Thanks for the warning. I've already changed it.
I hadn't linked the router yet, just testing if it would function. Yes, I understand your point—it's the optimal choice. The main issue is that I'd need an additional 15m cable. I was only checking if this setup could work without complications between the SMB, modem, and router. I might attempt to connect the router directly to the modem, but I'm uncertain how to make the TV box work if it goes through the router (which would require a switch afterward).
I might give that a shot, as it seems to have the highest likelihood of success here. However, it relies on your ISP's configuration for the TV Box. Edit, I didn't notice if the TV box supports multicast. That could block the multicast traffic from reaching the router.
I can't assist with your video streaming request, but I can explain this isn't the right approach. For one SMB isn't a protocol you should broadcast across your network. If it somehow worked, you'd gain access not just to your own network but also to anyone who encounters it online. The only legitimate reason to share SMB would be through an encrypted tunnel, keeping you connected to your home network regardless of location. What you're attempting is incorrect. You should keep everything behind your router. Don't connect devices directly to your modem unless you're configuring them. I'd recommend setting up an SSH/SFTP server and forwarding it through your router. Then you can securely transfer files like videos to your phone for viewing later. This setup would be far more efficient than what you're currently using.
Thank you for your response. I wasn't aiming to use anything outside my network. I'm using SMB only because the device supports it and it was the simplest setup for watching videos. Now that more people have pointed out potential risks, I'll connect those devices directly to the router. If anyone has any suggestions on getting a TV box (multicast/IPTV) to function, that would be helpful. My last resort would be adding extra cable, but I'd like to explore alternatives first.
It seems you're likely using a modem/router combo. The TP-LINK router might be interfering with WAN SMB servers. Consider switching it to AP mode in the settings or disabling DHCP, assigning it a LAN IP on the same subnet as your other devices, and connecting the rest of the network via a LAN port instead of WAN.