On Sat, Aug 15, 2020 at 4:47 AM Takahiro SUZUKI <[email protected]> wrote:
> > Additional infomation. > guacamole server log was outputed below. > I am waiting for information. > > The output from the log you posted is from the Guacamole Client container (Tomcat/Catalina). The Wake-on-LAN packet is part of libguac in guacd, and will be sent by the gaucd instance, so you need to look at the log files from that container, instead. Also, several people have reported issues getting Guacamole to send WoL packets from Docker. There are several ways to set up Docker networking, and I believe that the default is to set up a private network and then NAT all of the traffic going out from the Docker host IP. Wake-on-LAN will almost certainly *NOT* work in this configuration - what is very likely to happen is that the guacd container will send the broadcast packet out on its local interface, which will broadcast only within the local, private container network and will never make it out of the Docker host - that is, the way those NATd networks behave, broadcast traffic does not get forwarded. If you want WoL to work from guacd running in Docker you will likely have to configure a bridged interface where Docker containers have access to the physical network via a Linux bridge, or some other form of direct access to a network interface where the container running guacd is *directly* assigned an IP address on the physical network. Just mapping a single IP to a Docker container will probably suffer from the same pitfalls as NAT mentioned above, where broadcast traffic will not be forwarded. Even a bridged configuration will need to be properly configured, taking into account firewalls and settings on the Linux host that might filter or block broadcast traffic. I'll offer as a disclaimer that my overall familiarity with Docker is mediocre, so some of my terminology here may be a bit off. Bottom line, you have to use a networking mode where the broadcast packets from the guacd container can actually make it onto the physical network. -Nick
