<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Tools on Ethan's Blog</title><link>https://blog.ethanlyu.top/tags/tools/</link><description>Recent content in Tools on Ethan's Blog</description><image><title>Ethan's Blog</title><url>https://blog.ethanlyu.top/%3Clink%20or%20path%20of%20image%20for%20opengraph,%20twitter-cards%3E</url><link>https://blog.ethanlyu.top/%3Clink%20or%20path%20of%20image%20for%20opengraph,%20twitter-cards%3E</link></image><generator>Hugo -- 0.152.2</generator><language>en</language><lastBuildDate>Mon, 17 Feb 2025 00:00:00 +0000</lastBuildDate><atom:link href="https://blog.ethanlyu.top/tags/tools/index.xml" rel="self" type="application/rss+xml"/><item><title>Restore the access to remote server via mounted driver</title><link>https://blog.ethanlyu.top/posts/restore-the-access-to-remote-server-via-mounted-driver/</link><pubDate>Mon, 17 Feb 2025 00:00:00 +0000</pubDate><guid>https://blog.ethanlyu.top/posts/restore-the-access-to-remote-server-via-mounted-driver/</guid><description>&lt;p&gt;Initially I want to deploy a openai-web on my remote server (Free Oracle Server) to use the DeepSeek API. To protect the service, I can establish a Wireguard connection.
So I ask Qwen to generate a template for me. However, the Qwen guides me to modify &lt;code&gt;AllowdIPs=0.0.0.0/0, ::/0&lt;/code&gt; within the &lt;code&gt;wg0.conf&lt;/code&gt;. And that leads to my fix to the server the whole afternoon.&lt;/p&gt;
&lt;p&gt;I lose my connection to the remote server immediately when I apply the above settings. The reason is, all the traffic (including IPv4 and IPv6) is routed through the WireGuard tunnel. This also includes my traffic to the server&amp;rsquo;s public IP. As a result, when the VPN is activated, the connection to the server breaks because the return traffic is routed through the tunnel instead of directly back to the client. If the server does not have proper routing rules or NAT configured, the return traffic from the server will be sent back through the WireGuard interface instead of the original public interface. This creates a loop or breaks the connection.&lt;/p&gt;</description></item><item><title>Using `rclone` instead of `rsync`</title><link>https://blog.ethanlyu.top/posts/using-rclone-instead-of-rsync/</link><pubDate>Mon, 25 Nov 2024 00:00:00 +0000</pubDate><guid>https://blog.ethanlyu.top/posts/using-rclone-instead-of-rsync/</guid><description>&lt;p&gt;&lt;code&gt;rclone&lt;/code&gt; is an alternative of &lt;code&gt;rsync&lt;/code&gt; for cloud storage. It can be applied to remote servers, OneDrive, Google Drive, Box, &amp;hellip; (almost all existing cloud storage). The supported protocols:&lt;/p&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt; 1 / 1Fichier
   \ (fichier)
 2 / Akamai NetStorage
   \ (netstorage)
 3 / Alias for an existing remote
   \ (alias)
 4 / Amazon S3 Compliant Storage Providers including AWS, Alibaba, ArvanCloud, Ceph, ChinaMobile, Cloudflare, DigitalOcean, Dreamhost, GCS, HuaweiOBS, IBMCOS, IDrive, IONOS, LyveCloud, Leviia, Liara, Linode, Magalu, Minio, Netease, Petabox, RackCorp, Rclone, Scaleway, SeaweedFS, StackPath, Storj, Synology, TencentCOS, Wasabi, Qiniu and others
   \ (s3)
 5 / Backblaze B2
   \ (b2)
 6 / Better checksums for other remotes
   \ (hasher)
 7 / Box
   \ (box)
 8 / Cache a remote
   \ (cache)
 9 / Citrix Sharefile
   \ (sharefile)
10 / Combine several remotes into one
   \ (combine)
11 / Compress a remote
   \ (compress)
12 / Dropbox
   \ (dropbox)
13 / Encrypt/Decrypt a remote
   \ (crypt)
14 / Enterprise File Fabric
   \ (filefabric)
15 / FTP
   \ (ftp)
16 / Google Cloud Storage (this is not Google Drive)
   \ (google cloud storage)
17 / Google Drive
   \ (drive)
18 / Google Photos
   \ (google photos)
19 / HTTP
   \ (http)
20 / Hadoop distributed file system
   \ (hdfs)
21 / HiDrive
   \ (hidrive)
22 / ImageKit.io
   \ (imagekit)
23 / In memory object storage system.
   \ (memory)
24 / Internet Archive
   \ (internetarchive)
25 / Jottacloud
   \ (jottacloud)
26 / Koofr, Digi Storage and other Koofr-compatible storage providers
   \ (koofr)
27 / Linkbox
   \ (linkbox)
28 / Local Disk
   \ (local)
29 / Mail.ru Cloud
   \ (mailru)
30 / Mega
   \ (mega)
31 / Microsoft Azure Blob Storage
   \ (azureblob)
32 / Microsoft Azure Files
   \ (azurefiles)
33 / Microsoft OneDrive
   \ (onedrive)
34 / OpenDrive
   \ (opendrive)
35 / OpenStack Swift (Rackspace Cloud Files, Blomp Cloud Storage, Memset Memstore, OVH)
   \ (swift)
36 / Oracle Cloud Infrastructure Object Storage
   \ (oracleobjectstorage)
37 / Pcloud
   \ (pcloud)
38 / PikPak
   \ (pikpak)
39 / Proton Drive
   \ (protondrive)
40 / Put.io
   \ (putio)
41 / QingCloud Object Storage
   \ (qingstor)
42 / Quatrix by Maytech
   \ (quatrix)
43 / SMB / CIFS
   \ (smb)
44 / SSH/SFTP
   \ (sftp)
45 / Sia Decentralized Cloud
   \ (sia)
46 / Storj Decentralized Cloud Storage
   \ (storj)
47 / Sugarsync
   \ (sugarsync)
48 / Transparently chunk/split large files
   \ (chunker)
49 / Uloz.to
   \ (ulozto)
50 / Union merges the contents of several upstream fs
   \ (union)
51 / Uptobox
   \ (uptobox)
52 / WebDAV
   \ (webdav)
53 / Yandex Disk
   \ (yandex)
54 / Zoho
   \ (zoho)
55 / premiumize.me
   \ (premiumizeme)
56 / seafile
   \ (seafile)
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;I&amp;rsquo;ve used this to rsync data files between my Azure (in Microsoft Intranet) and my School Server (in school intranet that requires VPN) using OneDrive as the exchange. I&amp;rsquo;ll use another blog to talk about this.&lt;/p&gt;</description></item><item><title>Use `aria2c` instead of `wget`</title><link>https://blog.ethanlyu.top/posts/use-aria2c-instead-of-wget/</link><pubDate>Wed, 20 Nov 2024 00:00:00 +0000</pubDate><guid>https://blog.ethanlyu.top/posts/use-aria2c-instead-of-wget/</guid><description>&lt;p&gt;Recently, I need to download the dataset to my remote servers. Clearly, I do not want to download to my local machine. So initially I choose &lt;code&gt;wget&lt;/code&gt; as I previous did. Soon after I find &lt;code&gt;wget&lt;/code&gt; is too slow. Then I ask ChatGPT. It recommends &lt;code&gt;aria2&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;&lt;img loading="lazy" src="https://blog.ethanlyu.top/attachment/cf53b5125773f3837262e43be058f99d.png"&gt;
Official Page: &lt;a href="https://aria2.github.io/"&gt;aria2&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The greatest advantage is it can establish parallel connections simultaneously to speed up the download. We can use&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sudo apt install aria2
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;to install on Ubuntu.&lt;/p&gt;</description></item></channel></rss>