Martin - SNBuser
Regular Contributor
Hi all,
Why doesn't this give me access to SSH from the public IP (WAN-side of the Asus router) ? I have enabled SSH on the LAN-side of the router (Administration / System / SSH Daemon / "Enable SSH" = "LAN only", hence I'm assuming an SSHD-server is running, also because I can SSH to the router from 192.168.1.XXX)?
Everything should be ACCEPT'ed as far as I can see... Also, I don't see any SSHD process running:
I would like to understand this, so I can setup my fwknop-rules (this is like port-knocking, so I can dynamically turn on access to port 22 whenever I need it and so it's seen as "filtered" 99% of the time, where I don't need SSHD on the router)... Or do I need to maybe install an extra SSHD-server, e.g:
? Please advice!
Why doesn't this give me access to SSH from the public IP (WAN-side of the Asus router) ? I have enabled SSH on the LAN-side of the router (Administration / System / SSH Daemon / "Enable SSH" = "LAN only", hence I'm assuming an SSHD-server is running, also because I can SSH to the router from 192.168.1.XXX)?
Code:
# iptables -F
# iptables -X
# iptables -P FORWARD ACCEPT
# iptables -L -v
Chain INPUT (policy ACCEPT 12 packets, 2992 bytes)
pkts bytes target prot opt in out source destination
Chain FORWARD (policy ACCEPT 12 packets, 2292 bytes)
pkts bytes target prot opt in out source destination
Chain OUTPUT (policy ACCEPT 8 packets, 2896 bytes)
pkts bytes target prot opt in out source destination
Code:
# ps | grep -i ssh
9082 wrt54g 1380 S grep -i ssh
Code:
# opkg list | grep -i ssh | grep -i serve
dropbear - 2016.73-1 - A small SSH2 server/client designed for small memory environments.
openssh-server - 7.3p1-1 - OpenSSH server.