[05:00] <Kilos> morning all and inetpro 17mm last night
[06:47] <chesedo> morning Kilos and others
[06:48] <Xsm> Morning everyone.
[06:49] <Xsm> heya cal_py
[06:50] <cal_py> hey Xsm 
[06:50] <chesedo> hi Xsm and cal_py
[06:51] <Xsm> heya chesedo
[06:51] <Kilos> hi chesedo Xsm 
[06:51]  * Kilos watching lions highlanders
[06:51] <Kilos> hi cal_py 
[06:52] <chesedo> Xsm: saw your message this morning... weird that that broke things
[06:53] <Xsm> Ty for that help yesterday, it worked, but upon creating the new files for internal and external, it didn't work, inetpro got me to load iptables-persistent which sorted the reinitializing of that MASQ command upon start up.
[06:54] <cal_py> hey Kilos 
[06:54] <Xsm> hey Kilos
[06:54] <chesedo> great, uhm do you still have the same command in the interfaces file
[06:54] <Xsm> no I removed it
[06:55] <chesedo> okay just wanted to make sure that it is not added twice
[06:55] <Xsm> restarted the computer, put it in command line to connect. Put iptables-persistent in, which saves all the current rules for ip4 and tried restarting and it read everything.
[06:56]  * chesedo gotta go... might be back later
[06:56] <Xsm> okay
[06:57] <Xsm> Must go to the mall quick, myself. Be back in a bit.
[10:41] <Kilos> hi magespawn 
[10:45] <magespawn> hi Kilos 
[10:45] <magespawn> going for ubuntu server so that i can set up some servers at home
[10:46] <Kilos> aha
[10:46] <magespawn> i think i need the alternate download though so that i can run 32 bit
[10:46] <Xsm> hey magespawn
[10:46] <Kilos> oh my
[10:49] <magespawn> hey Xsm
[10:50] <magespawn> has 16.04 been released yet?
[10:52] <Xsm> Don't know, been using 14.04 I think.
[10:53] <magespawn> that is the reccommendtion
[10:53] <Kilos> nope
[10:54] <Kilos> end of april only
[10:54] <Kilos> 14.04 is good
[10:54] <Kilos> what is the recommendation?
[10:54] <Xsm> 14.04
[10:56] <magespawn> not that i can find the 32 bit yer
[10:56] <magespawn> yet
[10:57] <magespawn> will it make much difference?
[11:03] <Xsm> Not sure, this is the first server I've loaded.
[11:10] <Kilos> will what make a difference magespawn 
[11:12] <inetpro> good evenin
[11:12] <Xsm> heya inetpro 
[11:31] <Kilos> hi inetpro 
[11:31] <Kilos> hi skokkk 
[11:32] <skokkk> hey Kilos 
[11:33] <magespawn> Kilos: whether i use 64 or 32 bit?
[11:33] <Kilos> what pc is it magespawn 
[11:33] <magespawn> all my equipment is fairly old
[11:34] <magespawn> it is running win xp at the moment
[11:34] <Kilos> 64bit is faster but wont install on 32 bit machines
[11:35] <Kilos> will tell you to upgrade your hardware\
[11:35] <magespawn> mmm like i thougt
[11:39] <inetpro> magespawn: times have changed
[11:39] <inetpro> I think the time has come to move on to 64bit
[11:42] <inetpro> looks like more and more developers are spending more time building for 64 and ignoring 32bit
[11:44] <inetpro> a good example being google officially announcing to no longer support chrome on 32bit
[11:46] <inetpro> saying, "computers without 64-bit processors are way beyond their expiration date"
[11:50]  * inetpro looking for a cheap headless desktop/server for a home firewall/gateway 
[11:51] <inetpro> Xsm, Kilos: what would you recommend?
[11:51] <sakhi> inetpro: looking for the actual hardware?
[11:51] <inetpro> sakhi: yep
[11:52] <sakhi> tried pfsense ?
[11:52] <sakhi> ok
[11:52] <Kilos> sjoe
[11:53] <Kilos> dont ask me heavy stuff like that
[11:53] <Kilos> hi sakhi 
[11:53] <sakhi> Kilos: Hi, how goes?
[11:53] <Kilos> ok ty and you
[11:53] <sakhi> Good thanks.
[11:54] <inetpro> sakhi: pfsense is just one of many options on the software side
[11:54] <Kilos> buying a 64 bit box is where the cost comes in
[11:55] <sakhi> inetpro: I would suggest trying refurbished hardware, there is place near sable square sells it very cheap.
[11:55] <inetpro> sable square?
[11:55] <inetpro> where is that?
[11:56] <sakhi> Cape Town.
[11:56] <inetpro> hmm... that's way to far from Pretoria
[11:56] <sakhi> :) 
[11:57] <Kilos> lol
[11:57] <Kilos> what is very cheap
[11:59] <inetpro> Kilos: did I say 'very' cheap?
[11:59] <inetpro> free could be useful
[11:59] <inetpro> :-)
[12:00] <inetpro> gremble: wb
[12:00] <Kilos> I would suggest trying refurbished hardware, there is place near sable square sells it very cheap.
[12:00] <Kilos> gremble wb
[12:00] <inetpro> Kilos: I haven't looked around and have no idea what pricing of 2nd hardware is like
[12:00] <gremble> alright. so I just did something immensely stupid. I accidentally wrote an iso (that was supposed to go onto a USB) onto my 2tb hdd using dd
[12:00] <gremble> Hey everyone
[12:01] <gremble> This is like 1.7tb of the most important stuff in my life right now
[12:01] <inetpro> gremble: yeah, that is not very clever indeed
[12:01] <Kilos> 32 bit you can get for reasonable price but 64 you pay
[12:01] <gremble> Can someone help me get it back? D:
[12:01] <Kilos> ouch gremble thats wasnt clever
[12:03] <inetpro> gremble: http://superuser.com/questions/514552/mistakenly-overwritten-usb-hdd-with-linux-dd-command
[12:03] <Xsm> inetpro: I picked up a i7 for 3000 two years back, 2nd hand but worth the buy as I have already used it for two years.
[12:04] <gremble> Thanks inetpro 
[12:04] <Xsm> hey magespawn
[12:05] <inetpro> good luck with the recovery
[12:06] <inetpro> Xsm: sounds good, please let me know if you find any other such specials 
[12:07] <Xsm> will do...
[12:07] <sakhi> gremble: also try ddrescue, all of the best.
[12:08] <inetpro> hopefully I can find something even cheaper, maybe someone wanting to get rid of old hardware
[12:11] <magespawn> inetpro: the only problem with that is they are old machines that i would just like to put to use
[12:15] <magespawn> i really dislike getting rid of something that is still working
[12:15] <magespawn> i hold on to things that do not work sometimes 
[12:15] <inetpro> magespawn: old hardware is really good if you know how to use it properly
[12:17] <Kilos> old hardare can be fine for servers
[12:17] <Kilos> no need for 64 bit really is there
[12:20] <inetpro> Kilos: right
[12:20] <inetpro> but if you want to keep up with the race you'd want to upgrade to at least 64bit
[12:21] <inetpro> especially on a server
[12:22] <inetpro> lots of fun if you can experiment with LXD, LXC, Docker, etc
[12:28] <inetpro> but I guess there's no more need to restrict yourself and play only on own hardware any more
[12:50] <Kilos> inetpro explain why you want o have a firewall server thing
[12:51] <inetpro> Kilos: just want to play with it really
[12:51] <Kilos> because you can or because its more secure
[12:51] <Kilos> ah
[12:52] <inetpro> would be fun to set up a gateway with a bit more control in my hands
[12:53] <inetpro> with the ability to restrict data in the family
[12:53] <Kilos> lol
[12:53] <inetpro> maybe slow certain things down
[12:54] <inetpro> or set quotas per device
[12:54] <inetpro> those kinda things
[12:54] <Kilos> i understand
[12:55] <Kilos> i not using ians router for that same reason then sis eats my data ad hers alsts longer
[12:55] <Kilos> lasts
[12:56] <inetpro> on the other hand, would be nice to have something that can stay alive all day from where I can run multiple server instances for different purposes
[12:57] <inetpro> at first just need semething basic
[12:57] <inetpro> something as well
[12:57] <Kilos> lol
[12:58] <inetpro> in an ideal world I would set up a whole data centre here at home
[12:59] <Kilos> ai!
[12:59] <Kilos> like andrew
[13:01] <inetpro> storing the worlds data on local infrastructure would be ultimate fun
[13:01] <Kilos> hahaha
[13:01] <Kilos> you dont have time for all that man
[13:02] <Kilos> just irc is becoming too much here
[13:07] <Kilos> inetpro how does one find the full address of a server to be able to ssh into it
[13:08] <inetpro> uh
[13:08] <Xsm> and I see there is more than one authentication method, which is the best one to choose?
[13:08] <magespawn> private key
[13:09] <Xsm> and that is generated with the keygen right?
[13:09] <magespawn> yes
[13:09] <Kilos> magespawn remember when you had mee ssh to you there
[13:09] <Kilos> how did you find that address from there
[13:09] <magespawn> yes Kilos although that was some time ago
[13:10] <Xsm> but then you have to have a copy of the private key on the server and the computer you trying to login with?
[13:10] <Xsm> am I understanding this correctly?
[13:10] <magespawn> one has the private key the other has the public key
[13:11] <magespawn> the server usually has the public key
[13:12] <Xsm> okay another question, the private key is generated on the server? and taken or sent to the other computer? Am I understanding this? Or is there a kygen on the external login computer as well?
[13:13] <magespawn> Kilos: you can usually find your public ip with an online service, or you can have a static ip(those cost money) or you can have a dynamic dns redirect(both paid and free)
[13:14] <magespawn> you can generate the key pair on your local machine then transfer the public key to the server
[13:14] <magespawn> but let us just check that to make sure i have it the right way around
[13:17] <magespawn> https://help.ubuntu.com/community/SSH/OpenSSH/Keys
[13:17] <magespawn> https://www.howtoforge.com/set-up-ssh-with-public-key-authentication-debian-etch
[13:19] <Xsm> <really long string of nonsense> <---- at this
[13:19] <Xsm> lol
[13:19] <magespawn> indeed
[13:19] <sakhi> after keygen : cat id_rsa.pub | ssh user@remoteserver 'cat >> .ssh/authorized_keys'
[13:20] <magespawn> i will be running through this later on this weekend, i am going to be setting up a server at home to work on
[13:21] <magespawn> also remember to remove or disallow password as a means of authentication for remote login
[13:22] <magespawn> you can leave it for local(same network) login for back up incase you loose your key
[13:22] <magespawn> although then you could also just login to the computer directly anyway, no need for ssh
[13:23] <Kilos> is password login not good enough anymore
[13:23] <magespawn> passwords can be guessed
[13:23] <magespawn> home time for chat just now
[13:23] <Kilos> later
[13:59] <Xsm> heya Sxuza
[14:29] <inetpro> Xsm: sorry, was just a bit afk
[14:29] <inetpro> did you come right?
[14:47] <Xsm> not yet inetpro
[14:48] <inetpro> https://help.ubuntu.com/lts/serverguide/openssh-server.html
[14:48] <Xsm> was looking at the internal computer
[14:48] <Xsm> has internet but doesn't read anything
[14:48] <Xsm> think it was the firewall
[14:50] <inetpro> not sure I understand your problem
[14:50] <inetpro> ssh is really simple
[14:54] <Xsm> I changed the firewall to accept a port for ssh
[14:55] <Xsm> but when I changed that, I had to resubmit that masqueradnig command before the internal computer would see the router
[14:56] <inetpro> what are you trying to do?
[15:00] <Xsm> wanted to add the open port for ssh to connect
[15:02] <Xsm> have loaded bitvise in the windows internal computer as well
[15:03] <inetpro> yikes!
[15:03] <inetpro> what is bitvise?
[15:04] <Xsm> program for ssh on windows
[15:04] <inetpro> you want to connect from other computers to ssh on windows?
[15:05] <Xsm> I am just testing it now, because if I cannot connect externally over the net then I will have to do it via an internal windows pc...
[15:06] <Xsm> 1. I want to setup a remote online login
[15:06] <inetpro> let me rephrase the question
[15:06] <inetpro> you want to connect from machines on the internet via ssh to windows machines on an internal network?
[15:06] <Xsm> 2. windows internal login
[15:06] <Xsm> let me rephrase
[15:07] <magespawn> good afternoon
[15:07] <Xsm> 1. connecting to the ubuntu server via internet computer running ubuntu.
[15:08] <Xsm> 2. connecting to ubuntu server via internal computers via windows computer with bitvise as the program to connect to ssh.
[15:09] <inetpro> you do not need bitvise on windows
[15:09] <inetpro> a simple putty client will do
[15:09] <Xsm> oh
[15:09] <Xsm> well then a putty client
[15:09] <inetpro> if you can ping your server on the internal network you should be able to ssh to it
[15:10] <Xsm> exactly
[15:10] <Xsm> but I am still trying to work with the passwords. public keys etc
[15:11] <inetpro> connecting to ssh should be very simple unless you have manually tightened your firewall rules yourself
[15:11] <inetpro> as for connecting from the outside, that becomes a bit tricky
[15:11] <inetpro> try to grasp the basics on the inside first
[15:12] <Xsm> Check your pm please inetpro
[15:12] <inetpro> sorry, have to go again
[15:12]  * inetpro wbb
[15:12] <inetpro> later
[15:13] <Xsm> okay
[15:14] <magespawn> Xsm perhaps i can help, pick up where inetpro left off?
[15:15] <Xsm> sure magespawn please check your pm lol
[15:20] <Sxuza> Xsm : sorry i wasnt looking hi there 
[15:21] <Xsm> no problem
[16:13] <magespaw1> sorry Xsm got disconnected
[16:15] <Xsm> wb magespawn
[16:15] <magespawn> ty
[16:16] <Xsm> yw
[16:19] <Kilos> hmm...
[16:19] <magespawn> he said he needed to reboot
[16:26] <Xsm> magespawn: going to shop quick before it closes, 
[16:30] <magespawn> Xsm cool beans
[17:31] <Xsm> Okay back :-)
[17:31] <Kilos> wb
[17:31] <Xsm> ty
[17:42] <magespawn> hey hey
[17:43] <magespawn> so where were we/
[17:43] <magespawn> ?
[17:47] <magespawn> Xsm are you still in the pm?
[17:56] <Kilos> lol
[18:00] <magespawn> you might need to restart the server for the port change to take effect
[18:20] <Xsm> I restarted the server and the computer and the firewall
[18:20] <Xsm> it didn't work
[18:20] <Xsm> set it back
[18:20] <Kilos> ai!
[18:20] <Xsm> it works again
[18:21] <magespawn> if you change the port you would need to specify it, but generally it is not a good idea
[18:22] <magespawn> now, do you understand port forwarding?
[18:22] <Xsm> not really
[18:23] <Xsm> my understanding is you telling the port to link to whatever
[18:23] <magespawn> perhaps i can show you quickly, let me go set something up
[18:23] <Xsm> okay
[18:23] <magespawn> yes that is right or else the firewall on the router will stop it automatically
[18:35] <magespawn> more like telling the router to let certain traffic through to whatever
[19:23] <Xsm> Kilos: it's your bedtime :-P
[19:23] <Kilos> sigh
[19:23] <Kilos> writing mails to fight my cause and methods
[19:24] <Xsm> well that is good
[19:24] <Kilos> yeah but tiring
[19:24] <Xsm> magespawn and I are able to connect just not to the server form the outside yet
[19:24] <Kilos> why should i get involved in reviving bangladesh LoCo
[19:25] <Kilos> because I can
[19:25] <Xsm> Will look when at the client at the router there
[19:25] <Xsm> lol @ that
[19:25] <Kilos> what will the diffs be at the clients premise
[19:26] <Xsm> different router
[19:27] <Xsm> but setup like this is now setup
[19:27] <Xsm> I will look for a port forwarding on it
[19:28] <magespawn> back
[19:28] <magespawn> sorry router went haywire
[19:29] <Kilos> wb magespawn 
[19:31] <Xsm> lol @ haywire
[19:31] <Xsm> and I must do that at the client lol
[19:33] <Xsm> now to tackle squid
[19:33] <pavlushka> Xsm, tackle it, score a goal.
[19:34] <Xsm> hoping it doesn't cause problems like chesedo or inetpro said
[19:34] <Xsm> lol @ pavlushka :-P
[19:34] <magespawn> have you got webmin installed on the server?
[19:35] <Xsm> For what is that magespawn?
[19:35] <Xsm> goes to google
[19:35] <pavlushka> gui server manager, Xsm
[19:35] <magespawn> that gives a nice interface to manage all the different software servers on a machine
[19:47] <Kilos> painful things, routers
[19:49] <magespawn> they can be
[19:50] <magespawn> if i feel like it i will setup a coumpter as a router rather than just a router as a router
[19:51] <magespawn> then perhaps we can set up some sort of lab so that we can practice routing etc
[19:51] <Kilos> feel like it
[19:53] <magespawn> time etc is not always on my side
[19:53] <Kilos> lol
[19:54] <Kilos> when you wake up youll be my age and say where did all those years go
[19:54] <Xsm> sudo Can that be done magespawn?
[19:55] <Xsm> lol @ sudo
[19:55] <magespawn> sorry ?
[19:55] <Kilos> yes you can setup your pc as a router
[19:55] <Xsm> Can a computer be setup as a router magespawn?
[19:56] <magespawn> yes that is what you have done, almost
[19:56] <Kilos> i did and let the server connect through it
[19:56] <Xsm> Hmmm...
[19:57] <pavlushka> Xsm, could be, bcoz router has a light linux like OS.
[19:57] <pavlushka> So the contrary should work.
[19:57]  * Kilos yawns
[19:57] <Kilos> evry day get longer
[19:58] <Kilos> night all. sleep tight
[19:58] <magespawn> good night Kilos 
[19:58] <pavlushka> night Kilos,
[19:58] <Xsm> night Kilos
[19:59] <Kilos> see youall tomorrow
[20:00] <Xsm> magespawn: that web address in webmin, what would do you put in there?
[20:00] <magespawn> it is the ip address of your server but it uses port 10000
[20:00] <pavlushka> yes
[20:00] <Xsm> https://server_IP_address:10000   server is what the host name? and ip according to what?
[20:00] <pavlushka> just the port number
[20:01] <magespawn> depends on which side you are?
[20:01] <magespawn> s/?/.
[20:01] <pavlushka> good night guys!
[20:02] <Xsm> side?
[20:03] <Xsm> I am assuming the internet ip?
[20:03] <magespawn> the inside or outside  of your network 10.0.0.x or 192.168.1.x
[20:04] <magespawn> if you want to access from the internet then you have to forward port 10000 from the router to the server
[20:05] <magespawn> if you create a domain, then the domain controller will be the server which would then be the domain to use in that address
[20:05] <Xsm> I am on the server currently so it would be https://192.168.1.2:10000
[20:06] <magespawn> then you can use 127.0.0.1 which is the loopback address for any machine or https://localhost:10000 those might also work
[20:06] <Xsm> ah
[20:12] <Xsm> magespawn: that is so awesome
[20:12] <Xsm> and really detailed
[20:13] <Xsm> brb
[20:24] <magespawn> cool 
[21:23] <magespawn> bed time good night all