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