I've run into a bit of a problem when setting my raspberry pi up to be a small webserver.
I've installed raspbian and nginx without problem. I have also been able to access the raspberry pi from my local network over ssh without issue. My nginx start page (i.e. the nginx hello world) is accessible from outside my local network and ports 80 and 22 have been forwarded in my router (80 is passed through to 80 and 22 to 22222) so I don't think it's an issue with my network setup.
When I attempt to access my raspberry pi over the internet using ssh
- Code: Select all
ssh -v -p 22222 email@example.com
I get a connection refused message. I've cleared my iptables rules and commented out the AllowUsers option in my, amateur at best, attempts at figuring out what's the issue.
Any ideas? Anything I can try to diagnose what's going on?