Welcome to Headwind MDM Q&A, where you can ask questions and receive answers from other members of the community.

Please do not post bug reports, missing feature requests, or demo inquiries. If you have such an inquiry, submit a contact form.

0 votes

Hello everyone!

Please tell me what could be the problem? 

I needed to use MDM Headwind for the initial configuration of a large number of devices. 

All devices are on a local network, I don't need https protocol and\certificates.

I set up everything according to the instructions, the web UI works properly, APK files are uploaded to the server, but when you try to open the QR code, the page is missing.

Moreover, APK files that were published on the portal also lead to an empty page. When you try to download them via wget, you get a connection error.

Please tell me what could be the problem? 

by (120 points)

1 Answer

0 votes
Tomcat listens to http on port 8080. You need to make a redirect using iptables, the installer adds a redirect only for https

Redirect 80 -> 8080:

/sbin/iptables -A PREROUTING -t nat -p tcp -m tcp --dport 80 -j REDIRECT --to-ports 8080

/sbin/iptables -A OUTPUT -t nat -o lo -p tcp -m tcp --dport 80 -j REDIRECT --to-ports 8080
by (11.3k points)
...