Posted: Fri Aug 09, 2019 15:57 Post subject: How do I redirect the port on a Lan to Lan connection?
I am not all that familiar with advanced router config however I have a android file sharing server that uses SMB but cannot listen on 445. I need to somehow have the router direct all traffic on both lan and wan interfaces going to 192.168.1.200:445 to 192.168.1.200:2005.
I cannot find a obvious interface in the GUI that would allow me to accomplish this
I did find this post here but I am not entirely sure I understand the commands used or what is going on
I do not know exactly what you are trying to accomplish but maybe NAT loopback can do the trick.
Nah its not a loop back thing its a windows cant be told to connect to smb on anything other than port 445 so essentially ANY AND ALL traffic GOING TO 192.168.1.200 destined for port 445 needs to be redirected to port 2005 which is where the server is actually listening
Thanks for posting those code samples but could you explain a bit on what those commands are actually doing and how to manage those lists in case I need to undo it at a later point in time. and can you give me the networking for dummies version I am a bit out of my depth here
The OP is trying to redirect a tcp or udp port from one to another on the same IP address. The redirect target is used for this, in the nat table. The only limiting factor is if DD-WRT kernels support this or not.