Replace host networking with static port forwarding. Attempt to fix DNS DoH resolution.

This commit is contained in:
2022-12-13 19:23:16 +02:00
parent 2b4370024b
commit 6f38a09dc0
2 changed files with 7 additions and 4 deletions

View File

@@ -1,8 +1,8 @@
#!/bin/sh
cd /tmp
apt update && apt -yq install wget libglib2.0-0 ca-certificates
apt update && apt -yq install wget libglib2.0-0 ca-certificates dnsmasq
update-ca-certificates
wget https://update.u.is/downloads/uam/linux/uam-latest_amd64.deb
dpkg -i uam-latest_amd64.deb
cd /opt/uam/
./uam --pk $1 --http [127.0.0.1]:17099 --no-ui
./uam --pk $1 --http [0.0.0.0]:17099 --no-ui