diff --git a/etc/systemd/system/dnat-to-ns-boot.service b/etc/systemd/system/dnat-to-ns-boot.service new file mode 100644 index 0000000..ce5a1c0 --- /dev/null +++ b/etc/systemd/system/dnat-to-ns-boot.service @@ -0,0 +1,8 @@ +[Unit] +Description=Run /usr/lib/qubes/qubes-setup-dnat-to-ns +StartLimitIntervalSec=0 + +[Service] +Type=oneshot +ExecStart=sleep 10 +ExecStart=/usr/lib/qubes/qubes-setup-dnat-to-ns \ No newline at end of file diff --git a/fedora-gnome/ivpn.sh b/fedora-gnome/ivpn.sh index 7321f57..97ad5bb 100644 --- a/fedora-gnome/ivpn.sh +++ b/fedora-gnome/ivpn.sh @@ -37,7 +37,9 @@ download https://raw.githubusercontent.com/TommyTran732/QubesOS-Scripts/main/etc download https://raw.githubusercontent.com/TommyTran732/QubesOS-Scripts/main/etc/systemd/system/dnat-to-ns.service /etc/systemd/system/dnat-to-ns.service download https://raw.githubusercontent.com/TommyTran732/QubesOS-Scripts/main/etc/systemd/system/dnat-to-ns.path /etc/systemd/system/dnat-to-ns.path +download https://raw.githubusercontent.com/TommyTran732/QubesOS-Scripts/main/etc/systemd/system/dnat-to-ns-boot.service /etc/systemd/system/dnat-to-ns-boot.service sudo systemctl enable dnat-to-ns.path +sudo systemctl enable dnat-to-ns-boot.service # Follow these instructions on how to set up the ProxyVM: https://privsec.dev/posts/qubes/using-ivpn-on-qubes-os/#creating-the-proxyvm