What's new

Problem in FTP & SSH access from WAN (Internet)

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

rossikwan

New Around Here
[FIXED]
My NEW RT-N66U flashed Asuswrt-Merlin 3.0.0.4.270.25, I would like to setup SSH & FTP access from WAN, after set it in Web UI, 22 port couldn't seen is opened from Internet. (by using www.canyouseeme.org to check)

Enable SSH - Yes
Allow SSH Port Forwarding - Yes
SSH service port - 22
Allow SSH access from WAN - Yes
Allow SSH password login - Yes

After a few hrs check, nothing could be help & all I have to do is power off & on the RT-N66U. After reboot, it is OK for SSH access from WAN. That's so strange...!

Now, the default FTP services couldn't be accessed from WAN? And PORT 20 & 2021 couldn't be seen by "PORT CHECK" from Internet.

Hope Rmerlin or someone could help to solve, thanks.

FYI, "iptables -L -n" listed below

---
Chain INPUT (policy ACCEPT)
target prot opt source destination
logdrop all -- 0.0.0.0/0 0.0.0.0/0 state INVALID
ACCEPT all -- 0.0.0.0/0 0.0.0.0/0 state RELATED,ESTABLISHED
ACCEPT all -- 0.0.0.0/0 0.0.0.0/0 state NEW
ACCEPT all -- 0.0.0.0/0 0.0.0.0/0 state NEW
ACCEPT udp -- 0.0.0.0/0 0.0.0.0/0 udp spt:67 dpt:68
ACCEPT tcp -- 0.0.0.0/0 192.168.1.10 tcp dpt:80
ACCEPT tcp -- 0.0.0.0/0 192.168.1.10 tcp dpt:8443
ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:21
ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:2021
ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:22
logdrop all -- 0.0.0.0/0 0.0.0.0/0

Chain FORWARD (policy DROP)
target prot opt source destination
TCPMSS tcp -- 0.0.0.0/0 0.0.0.0/0 tcp flags:0x17/0x02 TCPMSS clamp to PMTU
ACCEPT all -- 0.0.0.0/0 0.0.0.0/0 state RELATED,ESTABLISHED
logdrop all -- 0.0.0.0/0 0.0.0.0/0
logdrop all -- 0.0.0.0/0 0.0.0.0/0
logdrop all -- 0.0.0.0/0 0.0.0.0/0 state INVALID
ACCEPT all -- 0.0.0.0/0 0.0.0.0/0
DROP icmp -- 0.0.0.0/0 0.0.0.0/0
ACCEPT all -- 0.0.0.0/0 0.0.0.0/0 ctstate DNAT
ACCEPT all -- 0.0.0.0/0 0.0.0.0/0

Chain OUTPUT (policy ACCEPT)
target prot opt source destination

Chain FUPNP (0 references)
target prot opt source destination
ACCEPT tcp -- 0.0.0.0/0 192.168.1.201 tcp dpt:8001

Chain PControls (0 references)
target prot opt source destination
ACCEPT all -- 0.0.0.0/0 0.0.0.0/0

Chain logaccept (0 references)
target prot opt source destination
LOG all -- 0.0.0.0/0 0.0.0.0/0 state NEW LOG flags 7 level 4 prefix `ACCEPT '
ACCEPT all -- 0.0.0.0/0 0.0.0.0/0

Chain logdrop (5 references)
target prot opt source destination
LOG all -- 0.0.0.0/0 0.0.0.0/0 state NEW LOG flags 7 level 4 prefix `DROP'
DROP all -- 0.0.0.0/0 0.0.0.0/0
 
Last edited:

Similar threads

Latest threads

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top