jauling
Occasional Visitor
Just came from shibby-tomato, so apologies if this is a dumb question.
I did a quick search on port forwarding in this forum, but didn't find anything that specifically addresses my issue.
Running the just released 380.69 firmware on my N66U, and I would like to enable ssh on it using standard port 22 inside my LAN, but run it on a non-standard port on the WAN side. The UI doesn't support this but I thought maybe just enabling a port forward would do the trick, but it's not working as I thought it would.
The iptables rule looks proper to me, its the last DNAT rule in the VSERVER chain. Am I doing something wrong? FWIW, the other port forward rules below do work.
I did a quick search on port forwarding in this forum, but didn't find anything that specifically addresses my issue.
Running the just released 380.69 firmware on my N66U, and I would like to enable ssh on it using standard port 22 inside my LAN, but run it on a non-standard port on the WAN side. The UI doesn't support this but I thought maybe just enabling a port forward would do the trick, but it's not working as I thought it would.
The iptables rule looks proper to me, its the last DNAT rule in the VSERVER chain. Am I doing something wrong? FWIW, the other port forward rules below do work.
Code:
admin@crappy:/tmp/home/root# iptables -L -t nat -n
Chain PREROUTING (policy ACCEPT)
target prot opt source destination
VSERVER all -- 0.0.0.0/0 MY-WAN-IP
Chain POSTROUTING (policy ACCEPT)
target prot opt source destination
PUPNP all -- 0.0.0.0/0 0.0.0.0/0
MASQUERADE all -- !MY-WAN-IP 0.0.0.0/0
MASQUERADE all -- MY-LAN-NET/24 MY-LAN-NET/24
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
Chain DNSFILTER (0 references)
target prot opt source destination
Chain LOCALSRV (0 references)
target prot opt source destination
Chain PCREDIRECT (0 references)
target prot opt source destination
Chain PUPNP (1 references)
target prot opt source destination
Chain VSERVER (1 references)
target prot opt source destination
DNAT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:443 to:MY-NAS:443
DNAT udp -- 0.0.0.0/0 0.0.0.0/0 udp dpt:1194 to:MY-OPENVPN:1194
DNAT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:5903 to:PC1:5900
DNAT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:5902 to:PC2:5900
DNAT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:2222 to:MY-ROUTER:22
VUPNP all -- 0.0.0.0/0 0.0.0.0/0
Chain VUPNP (1 references)
target prot opt source destination