Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have a VPS running my family's business website and my personal development site. I have Sonatype Nexus, Jenkins, Webmin etc installed for me. They'll never use it for the business. I don't want a customer accidentally visiting businessdomain.com:8001/nexus or businessdomain.com:10000 etc...I would also prefer robots didn't know about these for the business site either (nor mine, but that's fine if they do, as it's mine)

Thanks for any information you can give me.

Edit: Even better, how could I get Sonatype Nexus to only serve to nexus.personaldomain.com and webmin to webmin.personaldomain.com? Is this possible?

share|improve this question

1 Answer 1

up vote 1 down vote accepted

Having these ports directly exposed to the internet under any domain is a bad idea. I would block outside access to those ports.

Then install a VPN.

Then when you want to get in connect to the VPN and get internal access to the network.

The VPN will have an internal to them IP and you can use your web browser normally.

share|improve this answer
Hmmm...thanks. Can you explain how I can do this, or link me to a tutorial? This might also be useful to later readers. –  OraBrush Jan 16 '14 at 4:23
Here is the windows way do you need a linux example? howtogeek.com/135996/… –  cybernard Jan 16 '14 at 4:26
A linux example would be what I need. Sorry for the inconvenience! And thanks for your research :) –  OraBrush Jan 16 '14 at 4:27
openvpn.net/index.php/open-source/documentation/… The link will jump you to the middle of the page, once installed scroll up and down and review the rest of this webpage. Try that out and let me know. –  cybernard Jan 16 '14 at 4:32
Wait, actually, I'm not sure this will work as my IDE will need to be able to connect to the ports. –  OraBrush Jan 16 '14 at 4:36

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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