Page 1 of 1

Which port for the outside world?

Posted: Mon Jul 26, 2010 9:04 am
by iamgeniusrnti
OK so quick dumb question--I have a network lab running in myhouse for learning. It is a pile of junked rack servers running various services and blocked by a smoothwall.

I have a good deal of Linux xp, but I am trying Amahi out for the first time. So far, there seem to be three ways to log into the box and I want to open one way to the outside world thru my Smoothwall.

The first way is Webmin, definiate no-no in my book, in fact, I wprobably will avoid using it altogether.

Second way is via the port listening for "hda" (I forget which one that is right now).

Then you have the third way, 4443, VPN. I assume you guys are only opening up 4443???

And if I only open 4443, can I actually administer the Amahi server? Do I build vpn tunnels to get to the other services? Yea... things are still kind of blurry...

Re: Which port for the outside world?

Posted: Mon Jul 26, 2010 11:35 pm
by moredruid
You can administer the box over VPN, yes.
I like working with SSH though.
What I've done is the following:
Set up a port redirection on my router from 443 external to 22 internal (443 since no company firewall blocks this, 22 since this is the SSH port).
I log in over SSH (usually with X-forwarding turned on). This makes it possible to run all graphical programs on your server and have it displayed on the system you're working on (requires either a Linux box or Windows with PuTTY & XMing).
Works great for me.

Re: Which port for the outside world?

Posted: Wed Jul 28, 2010 5:33 am
by iamgeniusrnti
Well put, thank you. I actually ave another Ubuntu server in my network whose sole purpose is to run an ssh.

On my Droid cell phone, I tap into htat server with COnnectbot and then forward various local ports to different IPs within my network (Port 5900). Then I use Doird VNC to remote those computers or open additional ssh pipes to get command line.

I suppose I could just move my keys over to AMahi and repurpose the other server... thanks!

Re: Which port for the outside world?

Posted: Wed Jul 28, 2010 7:09 am
by moredruid
yups, that should be easy to do. running a dedicated system only for SSH is a bit overkill.
My linux box at work is "hogging" a massive 5MB for SSH ;)
Our central SSH server (you need to log in on the central server to get to the customer systems) has 152 sessions, this takes around 470MB there and the system is 95.59% idle (CPU wise over the last 24 hours) and this is an _old_ box. Pentium III 1,4GHz with 1GB RAM (I know I know, we're migrating to a newer system).

Re: Which port for the outside world?

Posted: Wed Jul 28, 2010 10:44 am
by iamgeniusrnti
I have a stack of junked rack servers I bought off Craigslist to teach myself Linux. So far I have 5 different servers each doing a dedicated thing and it's complete overkill LMAO!