I'm sure it has been asked before but I cannot find an answer that works for me.
I did it before but cannot get it to work again. I installed a raspbmc, it includes an apache for remote control of the xbmc. I installed apache2 for my own stuff, and mapped to 8080 since 80 was already taken. It works like a charm from the LAN.
Then I installed ddclient for getting my own IP to a constant, I have an account there that points to cacharro.ole32.com. I checked and the IP configured by ddclient at dnsdynamic.org and is Ok, there is the actual IP of my home (22.214.171.124 right now, it may change)
Then I created some port forwarding at my router for ports 80 like this:
remote port 80 to 80 (it asks for a range) local port 8080 to 8080 local IP 192.168.1.101 (fix address for my pi, also tested, is Ok)
did the same for 22 (ssh) and 21(ftp)
Now I go to the internet, access cacharro.ole32.com or 126.96.36.199, or 188.8.131.52:80 or :8080 nothing happens. Same for ssh (putty) of FTP (filezilla and winscp)
I just cannot reach my PI from the outside.
Any clue? Any file you might want to check ?? As you can see I did some effort before coming here. I just don't know what else to test.