[Unit] Description=Proxy UDP traffic over TCP and HTTP(S) After=network-online.target Wants=network-online.target [Service] AmbientCapabilities=CAP_NET_ADMIN Environment=LISTEN_PORT=5181 Environment=FORWARD_PORT=5180 Environment=TO=http://212.85.191.197/vpn/proxyguard Environment=PEER_IPS=212.85.191.197 Environment=FWMARK=54321 ExecStart=proxyguard-client -listen-port ${LISTEN_PORT} -forward-port ${FORWARD_PORT} -to ${TO} -peer-ips ${PEER_IPS} -fwmark ${FWMARK} Restart=on-failure PrivateDevices=yes DynamicUser=yes [Install] WantedBy=multi-user.target