[04:11] <danrik> How to configure static ip after fresh Ubuntu 18.04 server install?
[04:12] <danrik> all tutorial refer to editing `50-cloud-init.yaml` - but comments in that file clearly say: # This file is generated from information provided by
[04:12] <danrik> # the datasource.  Changes to it will not persist across an instance.
[04:13] <whislock> If there is no datasource continuing to manage that file, editing it is safe.
[04:13] <whislock> My current host is configured in such a manner.
[04:15] <danrik> whislock, what does it mean - datasource?
[04:16] <danrik> i've just done a fresh install using usb drive - what's a datasource in this context?
[04:17] <whislock> I'd suggest reading up on cloud-init, it'll explain it better than me typing at length.
[04:22] <danrik> will do. thank you. changing file worked
[04:23] <cryptodan> whislock: this is the only stable version of Ubuntu Server that will run on my system Welcome to Ubuntu 14.04.5 LTS (GNU/Linux 3.13.0-24-generic i686) no aacraid issue.  It stems all the way back to CentOS 5 on Kernel 2.6
[16:04] <xwct> i think im going mad
[16:07] <xwct> i have 3 different ports port forwarded to 3 different ubuntu boxes, but only one of them works, i can still connect to the boxes locally
[16:09] <RoyK> port forwarding with what_
[16:09] <RoyK> ?
[16:09] <xwct> a asus n66u
[16:10] <RoyK> I guess the asus is the problem, then
[16:10] <xwct> i know it works with multiple hosts, i have several other ports forwarded and working
[16:11] <RoyK> which port/protocol?
[16:11] <xwct> just set all of it as both
[16:11] <RoyK> you can't forward the same port to different machines, you know
[16:11] <xwct> different ports
[16:12] <RoyK> well, this channel is about ubuntu, not asus
[16:13] <cryptodan_mobile> xwct: you'll need multiple external ips
[16:13] <RoyK> cryptodan_mobile: depending on what you want
[16:13] <xwct> what? i have 3 different hosts with different ports open right now
[16:14] <xwct> all with one ip
[16:14] <RoyK> xwct: if you telnet into those ports - what do you get?
[16:15] <cryptodan_mobile> xwct: what ports
[16:16] <xwct> 41414, 42424 works
[16:16] <xwct> so i just put the host with 41414 into dmz, its still nothing
[16:16] <cryptodan_mobile> You can do that
[16:20] <cryptodan_mobile>  Go to an online port scanning service and see if it finds it
[16:21] <jdr> What are the ports?
[16:22] <xwct> 41414 and 42424, the host with 41414 is currently in dmz and is still refusing connections
[16:22] <xwct> not lan connections though
[16:23] <jdr> is the request ever getting to the server sitting at 41414?
[16:24] <xwct> how do i check for that?
[16:25] <jdr> tcpdump would do the trick
[16:30] <RoyK> xwct: tcpdump or better - tshark
[16:31] <RoyK> tshark is the cli version of wireshark - more versatile
[16:31] <RoyK> than tcpdump
[16:33] <xwct> im not getting any traffic through to it
[16:33] <RoyK> then the router is the problem
[16:33] <RoyK> 1. give it a reboot
[16:33] <RoyK> or
[16:34] <RoyK> 0. doublecheck the config
[16:34] <xwct> ive already rebooted and upgraded the firmware on it
[16:34] <RoyK> 2. install ddwrt or something on it
[16:34] <jdr> did it work before the firmware upgrade?
[16:34] <xwct> nope
[16:34] <xwct> only the two ports im trying to open now refuse to work
[16:35] <RoyK> check the logs
[16:35] <RoyK> if you don't have any - setup syslog to your home machine or server
[16:37] <jdr> checked firewall on the servers?
[16:37] <RoyK> jdr: tshark should see the traffic even with the firewall blocking it
[16:37] <jdr> true
[16:38] <xwct> getting tshark now well see
[16:38] <RoyK> tshark -i <intname> -f "port 1234"
[16:38] <RoyK> or something like it
[16:42] <jdr> double check the port forwarding setup. I've done some dumb shit in my day. Wrong IP, or port.
[16:44] <xwct> its the wierdest thing, this one works just fine
[16:44] <xwct> https://i.imgur.com/8jLBdST.png
[16:45] <xwct> but these two refuse to work even in dmz https://i.imgur.com/j5O3rtf.png
[16:46] <jdr> These ports arent blocked by your ISP are they?
[16:46] <xwct> nope
[16:47] <xwct> pretty much the wild west as far as ports go with my isp
[16:47] <jdr> nice.
[16:47] <jdr> What is the router
[16:47] <xwct> asus n66u with asuswrt-merlin
[16:49] <jdr> How hard would it be to just start over with a fresh/default config on the router?
[16:51] <xwct> not much, just gotta screenshot the ports and reset it
[16:54] <cryptodan_mobile> Are the IPS static on the machines
[17:08] <xwct_> and now it works
[17:09] <xwct_> stupid
[17:09] <xwct_> jdr, RoyK thanks for the help
[17:09] <jdr> what was it?
[17:09] <xwct> idk
[17:10] <xwct> it just worked when i reset to factory defaults and added the forwards again
[17:12] <jdr> Good deal then.
[17:15] <xwct> reset sledge > reboot hammer
[17:15] <jdr> haha