Port forwarding not working

Hi, I am in trouble with port forwarding.

Port forwarding not working

this is the redirect rule:

firewall.@redirect[0]=redirect
firewall.@redirect[0].dest='lan'
firewall.@redirect[0].name='ftp'
firewall.@redirect[0].src_dport='21'
firewall.@redirect[0].dest_port='21'
firewall.@redirect[0].target='DNAT'
firewall.@redirect[0].src='wan'
firewall.@redirect[0].dest_ip='192.168.1.150'

The server does not respond to TCP syn.

Looks like your server is looking for 1.2 instead of 1.1. Please check the server routing table.

1 Like

fwiw, if you are using 'passive' FTP, have you remembered to forward the 'defined' range of ports configured on the FTP server ?

eg. your screenshot shows a reference to port 50006

I recall LEDE 17 or later won't work with just forwarding port 21 on its own, and I had to define and forward ports 50001 to 50005 to resolve the problem on my Tomato FTP server.

4 Likes

thanks

yes, the routing table is incorrect.

1 Like

thanks, Your tips are also helpful。

Help me solve the problem of FTP data interaction

1 Like

gns3 ipterm doesn't ask for gateway info in the DHCP request.

I need to look into this.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.