=== miguel is now known as Guest40320 | ||
danrik | How to configure static ip after fresh Ubuntu 18.04 server install? | 04:11 |
---|---|---|
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:12 |
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:13 |
danrik | whislock, what does it mean - datasource? | 04:15 |
danrik | i've just done a fresh install using usb drive - what's a datasource in this context? | 04:16 |
whislock | I'd suggest reading up on cloud-init, it'll explain it better than me typing at length. | 04:17 |
danrik | will do. thank you. changing file worked | 04:22 |
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 | 04:23 |
=== Me4502 is now known as Guest34911 | ||
=== jelly is now known as yllej | ||
=== yllej is now known as hurtigbuffer | ||
=== hurtigbuffer is now known as jelly | ||
xwct | i think im going mad | 16:04 |
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:07 |
RoyK | port forwarding with what_ | 16:09 |
RoyK | ? | 16:09 |
xwct | a asus n66u | 16:09 |
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:10 |
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:11 |
RoyK | well, this channel is about ubuntu, not asus | 16:12 |
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:13 |
xwct | all with one ip | 16:14 |
RoyK | xwct: if you telnet into those ports - what do you get? | 16:14 |
cryptodan_mobile | xwct: what ports | 16:15 |
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:16 |
cryptodan_mobile | Go to an online port scanning service and see if it finds it | 16:20 |
jdr | What are the ports? | 16:21 |
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:22 |
jdr | is the request ever getting to the server sitting at 41414? | 16:23 |
xwct | how do i check for that? | 16:24 |
jdr | tcpdump would do the trick | 16:25 |
RoyK | xwct: tcpdump or better - tshark | 16:30 |
RoyK | tshark is the cli version of wireshark - more versatile | 16:31 |
RoyK | than tcpdump | 16:31 |
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:33 |
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:34 |
RoyK | check the logs | 16:35 |
RoyK | if you don't have any - setup syslog to your home machine or server | 16:35 |
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:37 |
xwct | getting tshark now well see | 16:38 |
RoyK | tshark -i <intname> -f "port 1234" | 16:38 |
RoyK | or something like it | 16:38 |
jdr | double check the port forwarding setup. I've done some dumb shit in my day. Wrong IP, or port. | 16:42 |
xwct | its the wierdest thing, this one works just fine | 16:44 |
xwct | https://i.imgur.com/8jLBdST.png | 16:44 |
xwct | but these two refuse to work even in dmz https://i.imgur.com/j5O3rtf.png | 16:45 |
jdr | These ports arent blocked by your ISP are they? | 16:46 |
xwct | nope | 16:46 |
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:47 |
jdr | How hard would it be to just start over with a fresh/default config on the router? | 16:49 |
xwct | not much, just gotta screenshot the ports and reset it | 16:51 |
cryptodan_mobile | Are the IPS static on the machines | 16:54 |
xwct_ | and now it works | 17:08 |
xwct_ | stupid | 17:09 |
xwct_ | jdr, RoyK thanks for the help | 17:09 |
=== xwct_ is now known as xwct | ||
jdr | what was it? | 17:09 |
xwct | idk | 17:09 |
xwct | it just worked when i reset to factory defaults and added the forwards again | 17:10 |
jdr | Good deal then. | 17:12 |
xwct | reset sledge > reboot hammer | 17:15 |
jdr | haha | 17:15 |
=== giraffe is now known as Guest26876 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!