mirror of
https://github.com/unifi-utilities/unifios-utilities.git
synced 2024-08-30 18:32:21 +00:00
Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
2c216df841
@ -16,7 +16,7 @@ ip link set br5.mac up
|
|||||||
|
|
||||||
ip route add 10.0.5.3/32 dev br5.mac
|
ip route add 10.0.5.3/32 dev br5.mac
|
||||||
#Remove the # on the line below when Docker container is deployed.
|
#Remove the # on the line below when Docker container is deployed.
|
||||||
#podman start AdguardHome
|
#podman start adguardhome
|
||||||
|
|
||||||
# Uncomment and adjust these rules if you want to use DNAT to force DNS to this container.
|
# Uncomment and adjust these rules if you want to use DNAT to force DNS to this container.
|
||||||
# iptables -t nat -C PREROUTING -i br0 -p udp ! --source 10.0.5.3 ! --destination 10.0.5.3 --dport 53 -j DNAT --to 10.0.5.3 || iptables -t nat -A PREROUTING -i br0 -p udp ! --source 10.0.5.3 ! --destination 10.0.5.3 --dport 53 -j DNAT --to 10.0.5.3
|
# iptables -t nat -C PREROUTING -i br0 -p udp ! --source 10.0.5.3 ! --destination 10.0.5.3 --dport 53 -j DNAT --to 10.0.5.3 || iptables -t nat -A PREROUTING -i br0 -p udp ! --source 10.0.5.3 ! --destination 10.0.5.3 --dport 53 -j DNAT --to 10.0.5.3
|
||||||
|
@ -50,9 +50,9 @@ Example: examples/unifi-os-files/udmboot.service
|
|||||||
```
|
```
|
||||||
echo "[Unit]
|
echo "[Unit]
|
||||||
Description=Run On Startup UDM
|
Description=Run On Startup UDM
|
||||||
|
After=network.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
After=network.target
|
|
||||||
ExecStart=/etc/init.d/udm.sh
|
ExecStart=/etc/init.d/udm.sh
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
[Unit]
|
[Unit]
|
||||||
Description=Run On Startup UDM
|
Description=Run On Startup UDM
|
||||||
|
After=network.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
After=network.target
|
|
||||||
ExecStart=/etc/init.d/udm.sh
|
ExecStart=/etc/init.d/udm.sh
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
|
@ -5,9 +5,9 @@ chmod u+x /etc/init.d/udm.sh
|
|||||||
|
|
||||||
echo "[Unit]
|
echo "[Unit]
|
||||||
Description=Run On Startup UDM
|
Description=Run On Startup UDM
|
||||||
|
After=network.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
After=network.target
|
|
||||||
ExecStart=/etc/init.d/udm.sh
|
ExecStart=/etc/init.d/udm.sh
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
|
Loading…
Reference in New Issue
Block a user