Skip to content

Instantly share code, notes, and snippets.

View rpratama123's full-sized avatar

Rully Pratama rpratama123

View GitHub Profile
@rpratama123
rpratama123 / freebsd-tailscale-and-caddy.md
Last active September 29, 2023 17:34
FreeBSD Reverse Proxy with Tailscale and Caddy

Here are the steps required in order to set up reverse proxy server on FreeBSD 13.0 using Tailscale as tunnel to local server, and Caddy acted as reverse proxy agent.

Please note that almost all the commands are performed under root access.

Install and Configure Tailscale

Install Tailscale on FreeBSD using this command:

pkg install tailscale

Then enable, start, and login to Tailscale network by entering this command:

function Copy-WithProgress {
[CmdletBinding()]
param (
[Parameter(Mandatory = $true)]
[string] $Source
, [Parameter(Mandatory = $true)]
[string] $Destination
, [int] $Gap = 200
, [int] $ReportGap = 2000
)
@rpratama123
rpratama123 / win10-post-install.md
Created January 10, 2022 12:19
My Windows 10 Post-Installation Steps

Windows 10 Post Installation Steps

The aim is to create perfect Windows 10 installation. Just follow steps that is suitable for you. The step is not sorted in particular order.

Table of content:

Explorer & Context Menu

  1. Remove "3D Objects" from This PC
@rpratama123
rpratama123 / enable secure sign-in.txt
Created October 18, 2021 11:01
Enable Windows Ctrl + Alt + Delete Logon a.k.a Secure Sign-in
Press Win + R
Type control userpasswords2 or netplwiz
Go to Anvanced tab
Tick Require user to press Ctrl+Alt+Delete
Click OK