Ssh to remote access point http server

I need to do some remote administration to an access point that is sitting behind a firewall that only has ssh enable from the outside but http/https from the inside. So to be a bit clearer:

remote(outside firewall) ssh --> ssh-server(internal) --> access point(http/https)

Ultimately accessing the AP gui from my desktop. Is this possible?

It should be possible to connect, but I don't know if it will work... Things like absolute URL's may foul it up. Simple enough to try:

ssh -L 80:accesspoint:80 -L 443:accesspoint:443 username@ssh-server

Root access will be needed to use ports 80 and 443. Once logged in, you can point your web browser to 127.0.0.1 and see if it cooperates.

Usually you'd use a web proxy for this sort of thing. tinyproxy is a simple and easy one for temporary applications. You can force a hostname to point at a particular address by putting it in /etc/hosts but don't forget it's there...

I have one word to say "awesome"

Many thanks

I take it my advice worked? Which method did you use?