Article 5E0WE How to connect to my server at home with ssh from outside?

How to connect to my server at home with ssh from outside?

by
thomasbb
from LinuxQuestions.org on (#5E0WE)
My server has IP a.b.c.d according to whatismyip.com, but when I type
Code:ssh -v user@a.b.c.dfrom outside, it times out.

If I try to connect from the LAN at home, it all goes well:
Code:ssh -v user@my.home.lan.ipand ping works from outside:
Code:ping -c4 a.b.c.dThe firewall enables ssh on both interfaces:
Code:iptables -A INPUT -p tcp -i $IFACE_LAN --dport 80 -j ACCEPT
iptables -A INPUT -p tcp -i $IFACE_WAN --dport 80 -j ACCEPTThere's something I must have forgotten, any idea what it is?latest?d=yIl2AUoC8zA latest?i=tjITOTtFHy8:gL1MUu2bHKo:F7zBnMy latest?i=tjITOTtFHy8:gL1MUu2bHKo:V_sGLiP latest?d=qj6IDK7rITs latest?i=tjITOTtFHy8:gL1MUu2bHKo:gIN9vFwtjITOTtFHy8
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments