[01:19] <benl90> hello, I want to ask about netplan, What's expected mapping error. I couldn't find in google anything about it. Thanks
[01:20] <sarnold> can you give some context?
[01:33] <MrCrow_> So, I have both the ufw firewall and my routers firewall configured so that my server is accessible to the external network. When I start and stop my service on the open port on my ubuntu server, http://canyouseeme.org/ reports that it can/cannot see the service accordingly. However, when trying to connect to the server with the specified port and the IPaddress of my server (which has that port forwarded to my server) nothing
[01:33] <MrCrow_> I can connect through the LAN address and that port fine, but I cannot connect through the WAN address
[01:35] <benl90> does your router port forwarding is enabled?
[01:35] <sarnold> does the protocol in question have to think that it's actually listening on the IP address?
[01:39] <MrCrow_> sarnold, you just gave me an idea - give me one moment and I'll see if that fixes it, if not I'll answer
[01:41] <MrCrow_> nope that didn't help
[01:42] <MrCrow_> So, I am running a minecraft server - I had the IP set to the local IP which, it technically is receiving information addressed to 192.168.1.x but that didn't help
[01:43] <benl90> MrCrow_: Does you do port forwarding or not?
[01:46] <MrCrow_> yes
[01:47] <sarnold> MrCrow_: when you say "I cannot connect through the WAN address" -- are you testing from *within* the lan? or from outside?
[03:14] <benl90> Hmmm he left
[08:47] <IaMnEwHeRe> Hi there, I have a problem with the ubuntu-image on docker-hub, a) it does not provide the basic means to edit configuration, a simple editor would be a huge help( I know why it is not there(minimalizing the footprint)) but if I want to toy around with different ideas, this is a dealbreaker, because It would also require me to set up a registry
[08:47] <IaMnEwHeRe> The problem I am currently facing is this one:
[08:48] <IaMnEwHeRe> I see this output https://www.zerobin.net/?c4c6578a574c1982#Vkav1gAVwraWpOPVM4Wc+Y5NQ67Bxpkx8PsRbmlpwls= whenever I try to install packages(e.g. for diagnostic-purposes of other images in my setup)
[08:49] <sarnold> does netcup.de sound familiar?
[08:49] <IaMnEwHeRe> How do I mitigate this problem without having to setup my own registry?, I am running this image in a k8s-pod(docker being containerengine) image is pulled from library/ubuntu, different setup for pods is reachable from the outside and the pod's can talk to each other via services, So ATM I assume there to be no problem with netowrking
[08:49] <IaMnEwHeRe> sarnold yes why?
[08:49] <sarnold> IaMnEwHeRe: they own that IP address
[08:50] <sarnold> it did'nt look like the usual IP addresses so I wondered if you were getting BGP hijacked or something
[08:50] <sarnold> but maybe they did it intentionally
[08:50] <sarnold> since you recognize the name, anyway :)
[08:50] <IaMnEwHeRe> good point, didn't think of the checking the URL-resolution
[08:51] <IaMnEwHeRe> I think they do it in connection with their own, base-install-images they provide
[08:51] <sarnold> if you're lucky they stuffed it in /etc/hosts and you can remove it
[08:51] <sarnold> if you're less lucky then I'm not sure what step to take next..
[08:51] <IaMnEwHeRe> I think that solves the problem then, thank you very much
[08:52] <IaMnEwHeRe> well first I will open a ticket :)
[08:52] <IaMnEwHeRe> but seriously please consider adding a simple editor into the package for the ubuntu-base-image ;)
[08:52] <IaMnEwHeRe> would be  huge help
[08:53] <IaMnEwHeRe> sarnold, not in /etc/hosts....
[08:53] <sarnold> IaMnEwHeRe: I know next to nothing about docker but I *think* someone at docker manages that image
[08:53] <IaMnEwHeRe> so I will just drill down /etc/resolve...
[08:54] <IaMnEwHeRe> hmm weekend is ahead and I have a door I can try to knock down :D thx
[08:54] <sarnold> IaMnEwHeRe: http://paste.ubuntu.com/p/SjDSwSR4jp/
[08:55] <IaMnEwHeRe> thx
[08:56] <sarnold> IaMnEwHeRe: nano? pica? vi? emacs? joe? jed?
[08:57] <IaMnEwHeRe> I am not picky, the one with the smallest foot-print will do, doing regular editorial stuff with plain sed, is a pain
[08:57] <IaMnEwHeRe> and hard to remember
[08:57] <sarnold> sed, easier than ed, but that's about it :)
[08:58] <IaMnEwHeRe> never used ed
[09:02] <IaMnEwHeRe> arghhh..... they even put  the DNS-resolving into systemd..... where are the good old times where you could just edit a file....
[09:08] <IaMnEwHeRe> *happy* the old times are still here, the files just changed :D
[09:08] <IaMnEwHeRe> sarnold, thanks again for the help, have a good one.
[14:06] <LaserAllan_> hey guys
[14:07] <LaserAllan_> how do I avoid getting apache installed on a freshly installed ubnutu amchinme?, i remmeber there were some weird caveats sometime ago where i installed Nginx and for some reason got apache installed allready
[14:35] <blackflow> LaserAllan_: apache is not installed by default unless you deliberately install it
[14:54] <rbasak> LaserAllan_: can you explain what you were doing that caused apache to get installed? It shouldn't do that normally. The closest thing I can think of is that some packages require a working web server, and that may default to apache unless you already have nginx installed or are installing nginx at the same time.
[14:55] <rbasak> LaserAllan_: but apart from that, it's really hard to answer a question to avoid something that we know nothing about. If you can provide exact steps that lead to Apache getting installed when you don't want it, that would help.
[15:01] <LaserAllan_> rbasak: I think it was that I was trying to install php fpm or something like that and then I guess I hadn't at the time installed nginx so i guess it installed php-fpm and apache?
[15:01] <LaserAllan_> It is a few weeks ago
[15:02] <rbasak> LaserAllan_: that sounds likely, yes.
[15:02] <rbasak> LaserAllan_: so to answer your original question then, you can avoid that by installing all your packages in a single call to apt (or apt-get if from a script), rather than doing them one by one.
[15:14] <blackflow> or have nginx installed first, so packages depending on either it or apache, will have satisfied deps.
[15:17] <rbasak> Sure, but that only solves the specific issue of apache coming in. In the general case, there could be other choices you are making in your package selection too that are also different from the default that apt would otherwise pick. Installing your choices all together helps apt pick things that fit your entire set of preferences.
[15:28] <xtuh> Hello, need some assistance with iptables.
[15:29] <xtuh> please pm me
[15:32] <blackflow> !pm | xtuh
[15:32] <rbasak> xtuh: people generally don't volunteer to help people for free like that. I suggest you ask your real question here. Use a pastebin for details if they are long. Then people may be able to help you in public depending on who is around and has time. If you absolutely require private support, you may that you need to pay someone for that.
[15:32] <rbasak> you may _find_ that
[16:13] <xtuh> https://pastebin.com/unfKMgEG
[16:15] <xtuh> its the first time i had to use iptables, so i need to solve that quick and right. then, i promise, i will learn more. thank you. :)
[16:37] <spinza> http://linux-ip.net/html/nat-dnat.html
[16:37] <spinza> xtuh, ^
[16:47] <xtuh> spinza: after command is typed is it became active immediately?
[16:49] <xtuh> what difference in my example with example 5.6 ?
[16:49] <xtuh> iptables -t nat -A PREROUTING -i venet0:0 -p tcp -m tcp --dport 33333 -j DNAT --to-destination 1.1.1.1:33333
[16:49] <xtuh> iptables -t nat -A PREROUTING -p tcp -d 10.10.20.99 --dport 33333 -j DNAT --to-destination 10.10.14.2
[16:50] <xtuh> goes to  > iptables -t nat -A PREROUTING -p tcp -d 10.10.20.99 --dport 33333 -j DNAT --to-destination 1.1.1.1
[16:51] <xtuh> what is "-d 10.10.20.99" ip of server's wan port? can it be replaced by name?
[18:20] <NotSoFastJames> I want to make a drive on my ubuntu18.04  server accesable to my client running genuine ubuntu 14.04
[18:20] <NotSoFastJames> how to?
[18:24] <ChmEarl> NotSoFastJames, what is the fs on 18.04? Why not try nfs?
[18:25] <NotSoFastJames> chmearl so to facilitate availability across gnu systems i need nfs formating? i currently ran ext4
[18:26] <NotSoFastJames> i thought it would be ok with ext4 since it is all linux since it is both ubuntu versions
[18:27] <NotSoFastJames> I have been able to facilitate backups and network share in smb for my gf's windows machine but now i want to backup my own linux machine
[18:28] <NotSoFastJames> maybe  I can give permisions to a newly created user ChmEarl and then given those permissions conect to the server drive for backups and the like.
[18:28] <ChmEarl> NotSoFastJames, man exportfs
[18:28] <blackflow> NotSoFastJames: no, nfs is Network File System, it's not on-disk format.
[18:29] <tomreyn> the term "file system" may be misleading there
[18:30] <tomreyn> so you dont need to reformat, nfs is just a way to make local file systems available on the network, an alternative to samba
[18:30] <blackflow> exactly.
[18:32] <tomreyn> NotSoFastJames: there are many ways for doing backups. if you can discuss what you want to backup, too, and which of these systems (ubuntu 18.04 server, system providing the backup storage, yet another system) you want to initiate and manage the backup process from, we can provide more suggestions.
[18:39] <NotSoFastJames> tomreyn i want to basically mount the drive in question that is on my server on my local client which also runs ubuntu and the backup the entire client to the server drive with rsync
[18:39] <NotSoFastJames> how  do i mount the ext4 drive ? permissions? ownership? setting up ext4 access for client?
[18:40] <tomreyn> NotSoFastJames: rsync can work thorugh ssh with -e, this may be easier, no need for setting up nfs then
[18:41] <tomreyn> alternatively, there is also rsynd for unencrypted network access
[18:45] <tomreyn> NotSoFastJames: so if you will initiate / control the backup process from this local client, you can install openssh-server +rsync on the server, openssh-client and rsync on the local client, then ocnfigure a user on the server which has permissions to write to where you want to store the data. then you just need to run rsync on the client (probably as root, if you want access to everything) to sync the client to the server, logging in as
[18:45] <tomreyn> theis new server user you created, via rsync+ssh
[19:41] <NotSoFastJames> tomreyn can i
[19:41] <NotSoFastJames> ty man
[19:41] <NotSoFastJames> can i just use the comuters name as a new user?
[19:47] <tomreyn> NotSoFastJames: sure, you'll still need to configure it, though, and ensure it has sufficient file system access privileges.
[19:56] <Guest86863> ciao
[19:56] <Guest86863> list
[22:05] <xtuh> https://pastebin.com/eXqp3WSp