/srv/irclogs.ubuntu.com/2017/05/20/#ubuntu-server.txt

=== fginther` is now known as fginther
tewardis there any guide or tutorial for setting up routing of a public IP to a specific container, for bidirectional NAT so that that container's traffic only is routed over that public IP?00:18
tewardLXD containers :)00:18
patdk-lapthat is just normal iptables stuff, nothing special about lxd01:05
patdk-lapor whatever your firewall is01:06
patdk-lapwhy would you even bother doing that though, and not just bind that public ip to the container itself, and bypass the need for all the extra firewall layers and nat?01:06
tewardpatdk-lap: got a guide for *that*, given that i've only got one host nic interface, with two additional IP aliases added to it, so it only uses the one IP alias?01:30
tewardi'd *love* to bind the public IP to the container itself, but not sure how :)01:31
teward(more fluent with NAT and iptables than direct-binding heh)01:31
tewardit's basically ens3 ens3:0 and ens3:1, so that the three IPs properly can connect to the 'net.01:34
tewarderm01:35
teward:1 and :201:35
tewardpatdk-lap: is there a guide for how to bind public IPs to containers?  Or is that some host ip-route stuff and container ip setup stuff?01:47
tewardsorry for asking stupid questions, not as familiar with ip routing on LXD vs. ESXi / physical switch routing, etc.01:47
patdk-laphmm, I just assign the ip to the lxd, and it's done02:16
patdk-lapor you use the network bridge, and then assign the ip from inside the lxd02:17
patdk-lapit really has to do with how you configure your container, and host, how you do it02:17
patdk-lapthere isn't going be any generic guide, unless you build the whole system host and container using the same guide02:17
tewardpatdk-lap: I'll see what I can do, then, and if all else fails create a second bridge that bridges to the specific virtual interface (ens3:1 or such)02:23
IShavedForThis_hey guys! by trying to get winscp the permission allowed to transfer webtools to my plex plugin folder on my ubuntu server, I chown -R 777 to change the permission and seem to have screwed up horribly, as now plex wont play videos, and i still can't copy03:10
IShavedForThis_the folder. Does anybody know how to change the owner group back to the original for plex?03:11
sarnoldwhat was the owner before you reset it?03:11
IShavedForThis_I can't remember because im an idiot. It was whatever the default was03:12
IShavedForThis_plex [117] possibly03:12
sarnolddoes the plex user need to be able to write to all the files? does it need to make sure other users can't read or write them?03:13
IShavedForThis_owner group and others should be able to read and execute, while only the owner (plex) should be able to write03:15
IShavedForThis_with an octal of 77503:15
IShavedForThis_problem is, I must have changed the owner with the chown -R 777 command03:15
IShavedForThis_how do I change it back to plex?03:15
IShavedForThis_by the way, thank you sarnold03:16
sarnoldIShavedForThis_: if you want it to be plex, then chown -R plex should do the job03:18
IShavedForThis_okay ill try that03:19
IShavedForThis_now, do you know how to transfer files from between sftp on windows to linux? I cannot get this folder to transfer without error code 3 popping up, with no help from google03:21
IShavedForThis_and that did fix the playback issue!03:22
sarnoldhrm, the sftp manpage suggests that 'put' should work fine on directories03:24
sarnoldat least if you use put -r03:25
sarnolderror 3 appears to be "path not found" https://msdn.microsoft.com/en-us/library/windows/desktop/ms681382(v=vs.85).aspx -- does lls show the directory as expected?03:25
IShavedForThis_weird. I'm trying to copy a file and paste it into linux03:26
IShavedForThis_the directory is there as it should be, just not the folder I'm trying to paste (since it hasn't been pasted yet)03:27
tewardpatdk-lap: I got a pretty quick response on a mailing list on how to achieve the bridged connection setup, and altered my host system's settings to provide a 'bridge' with a static IP for the host that can access the 'net, and a NAT'd bridge for other containers.  That should solve the direct-assignment issue.  NO need to reply to my other pings :)03:29
IShavedForThis_nothing. I even made the directory in ssh and still cant move the files over.03:34
IShavedForThis_it looks like i need write permission as my user, as well as plex.03:42
sarnoldif plex doesn't need write access and you don't care about other users onthe machine reading the data, the easy thing might be to re-chown the whole pile to your user account instead of plex03:45
IShavedForThis_yeah I tried that and that broke plex lol, it works best as its own user03:46
IShavedForThis_i wish there was a way to just sign into winscp as root so I can copy a damn directory03:46
sarnoldsign in as plex then?03:47
IShavedForThis_I tired, plex doesnt have a password, but when I enter nothing it says that access is denied.03:47
IShavedForThis_is there anyway of finding out if plex does have a password?03:48
sarnoldfeel free to set one, or put an ssh key in the authorized_keys file03:48
CarlenWhiteIn BIND, if I want to prevent redundancy of IP's like if two subdomains point to the same IP, I can do:05:36
CarlenWhitemysubdomain 14400 IN A 123.123.123.12305:37
CarlenWhiteotherdomain 14400 IN A mysubdomain05:37
CarlenWhiteOr am I thinking of CNAME actually.05:37
sarnoldyou're probably thinking of CNAME05:38
CarlenWhiteAh05:38
CarlenWhiteI'm playing around in the config files to configure a home mail server for a few things to complain if something screwy is happening around the house.05:39
CarlenWhiteE.G. The DVR system is alarmed for some reason.05:40
CarlenWhiteSo: `home 14400 IN MX 0 home` should work, since home is already defined elsewhere as a A record.05:41
CarlenWhiteAnd this is a very basic mail server and I should probably prevent mail going in since it should only send mail out.05:42
sarnoldmx records are only used when mail senders are trying to figure out which machine handles incoming email for a domain05:42
CarlenWhiteAh. Then I should toss that then.05:43
CarlenWhiteIf I can send mail at this state, I'll giggle.05:46
sarnold:D05:47
sarnoldit's such an insanely simply protocol but the layers upon layers of stuff these days..05:47
CarlenWhiteWait can I even send mail outbound with mail...?05:52
sarnoldmaybe05:52
sarnoldsome ISPs prevent their users from sending outbound mail except through their services in order to reduce spam05:53
sarnoldhopefully you can configure your systems to 'smarthost' or 'satellite' to their systems in that case05:53
CarlenWhiteI don't even have a mail account with em nor could I even if I wanted.05:54
CarlenWhiteSome nuttiness on how the account was created requires us to wait until the account is put into a abandoned state so we can retake responsibility.05:54
CarlenWhiteAll because an accountant signed under their name.05:55
sarnoldcomcast? that sounds like comcast :)05:55
CarlenWhiteNah. TDS.05:55
CarlenWhiteWe could provide all the information that proves that the house is owned by us and they wouldn't budge.05:56
sarnoldholy cow I'm pretty sure I paid a huge chunk of money to them in the 90s to buy an expanded memory card for my calculator.05:56
CarlenWhiteTDS Telecom?05:56
sarnoldthis logo looks right https://en.wikipedia.org/wiki/TDS_Telecom05:56
sarnoldapparently I can't remember their logo worth crap :) http://www.ebay.com/sch/sis.html?_nkw=Tripod-Data-Systems-TDS-48-COGO-CARD-HP-48SX-GX-05:59
CarlenWhiteHas a vague resemblance in your defense.06:00
CarlenWhiteAlso I'm not recieving any test message so.06:01
CarlenWhiteTDS is blocking or I'm not good with Ubuntu mailing guff.06:01
sarnolddo you get any errors in logs?06:01
CarlenWhiteNope. All I got is certbot being awake to do something.06:01
CarlenWhiteDerp I only checked dmesg06:05
CarlenWhiteYeah something isn't happy. https://puu.sh/vVHPK.png06:07
sarnoldwell that's at least something you can troubleshoot :)06:08
sarnoldfrom the machine in question try nc alt1.gmail-blah..com:25 and try to talk smtp with it06:08
sarnoldchange networking / firewalling / etc until you can connect06:08
CarlenWhiteGets hung up on connection.06:09
sarnoldbased on this here it feels like a firewall is set to DROP packets06:10
sarnolddoes that ring a bell?06:10
sarnoldit might be your isp of course06:10
CarlenWhiteMaybe? Let me attempt to figure out what the hell resides in my IPTABLES file06:10
sarnoldtry to contact other smtp servers on port 2506:10
sarnoldtime for me to bail, good luck :)06:11
CarlenWhiteBye06:12
=== JanC_ is now known as JanC
=== Guest24214 is now known as clvx

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!