Which port for the outside world?

iamgeniusrnti
Posts: 25
Joined: Sat May 22, 2010 10:16 am

Which port for the outside world?

Postby iamgeniusrnti » Mon Jul 26, 2010 9:04 am

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...

User avatar
moredruid
Expert
Posts: 791
Joined: Tue Jan 20, 2009 1:33 am
Location: Netherlands
Contact:

Re: Which port for the outside world?

Postby moredruid » Mon Jul 26, 2010 11:35 pm

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.
echo '16i[q]sa[ln0=aln100%Pln100/snlbx]sbA0D2173656C7572206968616D41snlbxq' | dc
Galileo - HP Proliant ML110 G6 quad core Xeon 2.4GHz, 4GB RAM, 2x750GB RAID1 + 2x1TB RAID1 HDD

iamgeniusrnti
Posts: 25
Joined: Sat May 22, 2010 10:16 am

Re: Which port for the outside world?

Postby iamgeniusrnti » Wed Jul 28, 2010 5:33 am

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!

User avatar
moredruid
Expert
Posts: 791
Joined: Tue Jan 20, 2009 1:33 am
Location: Netherlands
Contact:

Re: Which port for the outside world?

Postby moredruid » Wed Jul 28, 2010 7:09 am

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).
echo '16i[q]sa[ln0=aln100%Pln100/snlbx]sbA0D2173656C7572206968616D41snlbxq' | dc
Galileo - HP Proliant ML110 G6 quad core Xeon 2.4GHz, 4GB RAM, 2x750GB RAID1 + 2x1TB RAID1 HDD

iamgeniusrnti
Posts: 25
Joined: Sat May 22, 2010 10:16 am

Re: Which port for the outside world?

Postby iamgeniusrnti » Wed Jul 28, 2010 10:44 am

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!

Who is online

Users browsing this forum: No registered users and 25 guests