Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

My administration space is accessible via a specific port (4848) and I want to block this port to increse security .

I have already disabled remote access to my database too and acces it via ssh tunnel .

Is it possible to make the same thing for my http server administration space ?

Thanks.

share|improve this question

closed as not a real question by womble, Ward, Ladadadada, Tim Brigham, Scott Pack Aug 3 '12 at 12:12

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

1 Answer 1

If you can configure your admin web page to be accessible only from localhost, you can just set up basic port forwarding:

ssh -L 4848:127.0.0.1:4848 username@yourhost.com 

from your client and access it on your browser via http(s)://localhost:4848

share|improve this answer
    
I tried it. It workd and when I look to the log I see that my the server connect to itslef using his external ip not localhost . Can I change this behaviour because I'm blocking all external trafic to the port and this can be a problem if pirate use ip spoof to connect ? –  isoman Jul 12 '12 at 11:22

Not the answer you're looking for? Browse other questions tagged or ask your own question.