Home vault server connected through a secure tunnel to the cloud with two certificates shaking hands

Self-hosted Vaultwarden with Cloudflare Tunnel and mTLS

I was using tailscale + vaultwarden before but I don’t want to use a VPN connection to access my passwords. But I do want a client certificate for extra security. So I write this to guide to exposing Vaultwarden securely via Cloudflare Tunnel, protected by mutual TLS (mTLS) client certificates. No open ports required. Please note: it looks like iOS bitwarden app don’t have the option to import a mtls certificate. ...

March 22, 2026 · 3 min · thomasf
Large file split into chunks uploading in parallel from a terminal to a cloud bucket

Upload Large Files to Cloudflare R2 with rclone (One-liner)

I have a custom operating system with the name KompassOS (www.kompassos.nl) and sometimes we need to upload big ISO files to cloudflare. But if the files all the files bigger than 300MB you have to upload with the S3 API. So Need to upload large files (>300MB) to Cloudflare R2? Here’s how to do it with a single rclone command without creating config files. Create an R2 bucket in your Cloudflare dashboard Generate API credentials in Cloudflare R2 → Manage R2 API Tokens Install rclone rclone copy ./your-file.iso ':s3,provider=Cloudflare,access_key_id=YOUR_ACCESS_KEY,secret_access_key=YOUR_SECRET_KEY,endpoint=YOUR_ACCOUNT_ID.r2.cloudflarestorage.com,no_check_bucket=true,force_path_style=true:your-bucket/' provider=Cloudflare - Tells rclone to use R2-specific settings no_check_bucket=true - Prevents bucket creation attempts (avoids 403 errors) force_path_style=true - Ensures compatibility with R2’s API Replace YOUR_ACCOUNT_ID with your Cloudflare account ID Replace YOUR_ACCESS_KEY and YOUR_SECRET_KEY with your R2 credentials Replace your-bucket with your bucket name Regular file uploads in web interfaces are limited to 300MB. This method uses rclone’s multipart upload capability, allowing files of any size to be uploaded directly to R2 storage. ...

August 19, 2025 · 1 min · thomasf

iptraf-ng: A Lightweight Yet Powerful Alternative to TCPDump and Wireshark

Iptraf-ng stands out as an excellent alternative to Wireshark and tcpdump, offering a robust set of features for comprehensive network traffic analysis. This versatile tool gathers a wide range of information, including TCP connection details, interface statistics, and TCP/UDP traffic breakdowns. Its key features make it a compelling choice: IP Traffic Monitoring: Provides real-time insights into IP traffic across your network. Detailed Interface Statistics: Displays comprehensive statistics on IP, TCP, UDP, ICMP, non-IP packets, and more. TCP and UDP Service Monitoring: Monitors incoming and outgoing packets for commonly used TCP and UDP application ports. LAN Statistics Module: Identifies active hosts on the LAN, offering data activity statistics. Protocol Display Filters: Enables users to customize displays for specific protocols like TCP, UDP, and others. Logging Capabilities: Allows for the logging of network activity, facilitating detailed analysis. As a user-friendly and efficient network monitoring tool, iptraf-ng presents itself as a valuable alternative to Wireshark and tcpdump. Its capabilities make it particularly well-suited for those seeking a reliable solution for network analysis and troubleshooting. The example screenshot of the IP traffic monitor underscores its user-friendly interface and robust functionality, positioning iptraf-ng as a commendable choice in the realm of network monitoring tools. ...

February 4, 2024 · 1 min · thomasf
OpenSSH_logo

Install and Configure OpenSSH Windows Server 2019 and 2022 and configure key-based authentication

OpenSSH is a free and open-source software that allows secure communication between computers over an unsecured network. It is widely used on Linux and Unix systems, but it is also available for Windows systems. In this article, we will show you how to install and configure OpenSSH on a Windows 2022 server. The first step is to install OpenSSH on your Windows server. To do this, follow these steps: ...

April 6, 2023 · 3 min · thomasf
OpenSSH_logo

NTP Error: the computer did not resync because no time data was available

When it comes to configuring your Primary Domain Controller (PDC) or local Network Time Protocol (NTP), you’ll find a a lot of information online. But in a nutshell this is what you have to do: w32tm /config /manualpeerlist:"<IPTIMESERVER>,0x1" /syncfromflags:manual /reliable:yes /update net stop w32time net start w32time w32tm /resync /rediscover But if the timeserver isn’t reliable you get the error: The fix is really easy. Remove the /reliable:yes option w32tm /config /manualpeerlist:"<IPTIMESERVER>,0x1" /syncfromflags:manual /update And then after the w32tm /resync /rediscover: ...

April 3, 2023 · 1 min · thomasf
snort3

TCPDump alternative Windows

Are you in a situation where you need to capture and analyze network traffic, but don’t have Wireshark or TCPDump at your disposal? Don’t worry, there’s still a solution. Enter pktmon. While it may not be the most sophisticated tool out there, pktmon is a viable option for monitoring traffic in real-time. With its lightweight and efficient design, you can quickly capture and analyze packets without the need for any additional software installations. ...

March 31, 2023 · 2 min · thomasf

Use TOR proxy with any linux command

There is an easy way to use the The Onion Router for any command under linux First install TOR and proxychains4 $ sudo apt install tor proxychains4 You can configure proxychains.conf but the default config is good :) $ sudo nano /etc/proxychains.conf Then start the tor service $ sudo systemctl start tor And check your ip: $ proxychains4 curl ifconfig.me You can use any command you want. So if you want your firefox browser over tor: ...

September 18, 2022 · 1 min · thomasf
2021-12-01 12_04_15-file transfer at DuckDuckGo

Git SFTP

I was working for an elementary website of a friend of mine. I pushed the website to GitHub so it’s was way easier to maintain the site. But I thought it must be easier than transferring all the changes every time by an FTP program. So I found git-ftp and of course FTPS didn’t work out of the box ;) What you have to do to enable GIT FTP (on Windows) ...

December 1, 2021 · 2 min · thomasf
wyse

DHCP Test Tool

I had to check my DHCP configuration for a Dell Wyse Thin Client. But when you configure specific options like 161 and 162 you don’t see that options in a Wireshark capture during a Windows DHCP request. Luckily for us CyberShadow created a great tool to test some specific DHCP settings an he even make it open source: https://github.com/CyberShadow/dhcptest This DHCP tool have 2 great features: You can do a request for specific DHCP option You can send a vendor class so in my case I can pretend to be a Wyse Thin client. This will only work when you have configured Global DHCP settings. ...

November 11, 2021 · 2 min · thomasf
140px-Wireshark_icon.svg

Windows network package capture without installing anything (on the server)

I like Wireshark. But I don’t like to install software on a server for troubleshooting purposes. Especially when you need software like PCAP to sniff some network data. But what you can do is capture data data with netsh, copy the data to your workstation, convert the data so you can read it with wireshark and do you thing. Run this command to capture the data (elevated command prompt) ...

November 5, 2021 · 1 min · thomasf