Re: [lxc-users] Quick Question

2020-03-20 Thread Ray Jender
No.  I access the container using a subdomain (amsc1.mydomain.us).  The host
VPS is doing port forwarding of ports 80/443, forwarding to another
container
that is hosting HAproxy.  HAproxy redirects to the container hosting the
application based on the subdomain portion of the URL (amsc1).

My app basically works,  but disconnects after 10-15 secs.  This has been a
known issue of the app having access to udp ports 5000-65000 which I have
opened, but it
has not resolved the disconnect issue.  That's why I am wondering if these
ports need to be opened on the host VPS also? 
Thanks,

Ray
-Original Message-
From: Tomasz Chmielewski [mailto:man...@wpkg.org] 
Sent: Friday, March 20, 2020 8:17 AM
To: LXC users mailing-list 
Cc: Ray Jender 
Subject: Re: [lxc-users] Quick Question

On 2020-03-20 21:07, Ray Jender wrote:
> So if I have an LXD container hosting an application that requires 
> some specific ports be open,  must those same ports be opened on the 
> host OS?
> 
> For example, I need udp ports 5000-65000 open in the container.  Must 
> I also open these ports on the host?

Does the container have a dedicated, public IP?

Tomasz Chmielewski
https://lxadm.com

___
lxc-users mailing list
lxc-users@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-users


[lxc-users] Quick Question

2020-03-20 Thread Ray Jender
So if I have an LXD container hosting an application that requires some
specific ports be open,  must those same ports be opened on the host OS?

For example, I need udp ports 5000-65000 open in the container.  Must I also
open these ports on the host?


Thanks,

 

Ray

___
lxc-users mailing list
lxc-users@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-users


[lxc-users] Looking for LXD Container with AWS CDN Experience?

2019-03-24 Thread Ray Jender
If there is anyone experienced with using the Amazon Cloudfront  with an LXD
container, I could really use a little help!

Please let me know.

 

Ray

___
lxc-users mailing list
lxc-users@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-users


Re: [lxc-users] Networking Issues

2018-05-31 Thread Ray Jender
Ok, I am starting from scratch. It's seems the more I google LXD MACVLAN,
the more confused I get. I've seen at least 3 different ways to configure
this and none of them seemed to work for me??

So right now I am sitting at a fresh and updated install of Ubuntu 16.04.04.
I have created a partition for ZFS but have not installed it. This is
another confusing part because I have seen it as sudo apt-get install
zfsutils-linux bridge-utils and without the bridge-utils?? Which one is
correct for MACVLAN, if it actually matters?

So, what I need is a simple procedure to configure MACVLAN and one container
so the container can access the internet and also be accessed from the
internet. Can some supply me with that?

Eventually I need to have 4 containers so hopefully once I have one
container up and able to communicate with the internet, the next 3
containers will have no problems.

Thanks and I owe you a beer if I get this running with your help!

Thanks!

 

Ray

 

From: Ray Jender [mailto:rayjen...@gmail.com] 
Sent: Tuesday, May 22, 2018 11:25 AM
To: lxc-users@lists.linuxcontainers.org
Subject: [lxc-users] Networking Issues

 

So, can anyone assist me in a LXD container network issue?

 

How do you configure the networking so the containers have access to the
internet, as well as the internet having access to the container?

Right now I have one container on a Ubuntu 18.04 host.  The Ubuntu host is
actually a Vbox VM which is hosted on a Windows 7 Pro  box. I created the VM
Network as bridged.

 

The VM cannot ping the Windows 7 box but the Win 7 box can ping the VM

On the VM console there is no ping response at all.

 

Obviously I am not a networking kind of guy and can use some help.   I
appreciate it.


Ray

___
lxc-users mailing list
lxc-users@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-users

[lxc-users] Networking Issues

2018-05-29 Thread Ray Jender
So, can anyone assist me in a LXD container network issue?

 

How do you configure the networking so the containers have access to the
internet, as well as the internet having access to the container?

Right now I have one container on a Ubuntu 18.04 host.  The Ubuntu host is
actually a Vbox VM which is hosted on a Windows 7 Pro  box. I created the VM
Network as bridged.

 

The VM cannot ping the Windows 7 box but the Win 7 box can ping the VM

On the VM console there is no ping response at all.

 

Obviously I am not a networking kind of guy and can use some help.   I
appreciate it.


Ray

___
lxc-users mailing list
lxc-users@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-users

[lxc-users] authentication in containers jacked-up!

2018-04-07 Thread Ray Jender
So in Ubuntu 16.04.4 I created  4 LXD containers using LXC. From the host I
created the first container then did $ lxc copy containter1 container2 , 1
to 3 and 1 to 4.

It was a challenge for me to make them accessible from the outside world but
I conquered that.

 

Now however I cannot su or sudo inside the containers?  For instance:

 

sudo find / -name testfile -print

sudo: no tty present and no askpass program specified

 

also.

 

When I do   $  lxc exec container1  /bin/bash  from the host:

 

I am put in:  ray@container1:/root$  // The "/root"  does not seem correct?

 

Also.

 

ray@container2:/etc$  visudo

visudo: /etc/sudoers: Permission denied

 

ray@ container2:/etc$  su visudo

su: must be run from a terminal

 

ray@ container 2:/etc$  sudo visudo

sudo: no tty present and no askpass program specified

 

Also when I try to putty into the container, I get the "login as:"  prompt,
but when I enter the user name, I get:

 

puTTY Fatal Error

Disconnected: No supported authentication methods available (server sent:
publickey)

(same error from WinSCP)

 

Any idea what I am missing?

 

Thanks, appreciate your help on this.


Ray

 

 

 

 

___
lxc-users mailing list
lxc-users@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-users