Compare commits

...

17 commits

Author SHA1 Message Date
ditatombot[bot]
ebce0569ff
Merge pull request #289 from ditatompel/deskflow-patch
Merge pull request #289

This merge action was created automatically.

Reviewed-by: ditatompel <ditatompel@users.noreply.github.com>
2024-11-27 10:07:54 +00:00
586f3cb1de
chore: Add note about Deskflow's build process changes 2024-11-27 17:05:12 +07:00
ecb68ee212
chore: Added repo funding to the original hbstack author
Give back the funding to razonyang, hbstack's original author.
2024-11-27 16:50:56 +07:00
04d1b52794
chore(build): go.sum tidy 2024-11-27 16:50:45 +07:00
ditatombot[bot]
b5441d1641
Merge pull request #283 from ditatompel/renovate/github.com-henrygd-bigger-picture-1.x
Merge pull request #283

This merge action was created automatically.

Reviewed-by: ditatompel <ditatompel@users.noreply.github.com>
2024-11-27 09:46:48 +00:00
ditatombot[bot]
f3de6ef1d2
Merge pull request #285 from ditatompel/renovate/github.com-hbstack-breadcrumb-0.x
Merge pull request #285

This merge action was created automatically.

Reviewed-by: ditatompel <ditatompel@users.noreply.github.com>
2024-11-27 09:41:29 +00:00
ditatombot[bot]
932e0acf92
Merge pull request #286 from ditatompel/renovate/github.com-hugomods-search-0.x
Merge pull request #286

This merge action was created automatically.

Reviewed-by: ditatompel <ditatompel@users.noreply.github.com>
2024-11-27 09:39:17 +00:00
ditatombot[bot]
33553a86e0
Merge pull request #287 from ditatompel/renovate/github.com-hbstack-hb-0.x
Merge pull request #287

This merge action was created automatically.

Reviewed-by: ditatompel <ditatompel@users.noreply.github.com>
2024-11-27 09:35:04 +00:00
ditatombot[bot]
3db40f8f44
Merge pull request #288 from ditatompel/renovate/github.com-hugomods-simple-icons-13.x
Merge pull request #288

This merge action was created automatically.

Reviewed-by: ditatompel <ditatompel@users.noreply.github.com>
2024-11-27 09:32:18 +00:00
ditatombot[bot]
6192441ce1
Merge pull request #284 from Timothy-Page/patch-1
Merge pull request #284

This merge action was created automatically.

Reviewed-by: ditatompel <ditatompel@users.noreply.github.com>
2024-11-27 09:26:46 +00:00
903ef3e326
chore: Inform readers about the default WireGuard listen port
Co-authored-by: Timothy-Page <Timothy-Page@users.noreply.github.com>
2024-11-27 16:19:17 +07:00
renovate[bot]
b2a34cb253
chore(deps): update module github.com/henrygd/bigger-picture to v1.1.19 2024-11-27 02:14:34 +00:00
renovate[bot]
430e7286c8
chore(deps): update module github.com/hbstack/hb to v0.16.0 2024-11-24 09:16:14 +00:00
renovate[bot]
5c1501839a
chore(deps): update module github.com/hugomods/simple-icons to v13.18.0+incompatible 2024-11-24 06:33:08 +00:00
renovate[bot]
1be31c027d
chore(deps): update module github.com/hugomods/search to v0.19.0 2024-11-24 01:17:45 +00:00
renovate[bot]
736bd869f9
chore(deps): update module github.com/hbstack/breadcrumb to v0.8.0 2024-11-24 01:17:40 +00:00
Timothy-Page
83d989c73c
Added firewall rule for 51820
My vpn was not working unless i disabled the firewall until i added this rule.

Signed-off-by: Timothy-Page <44987179+Timothy-Page@users.noreply.github.com>
2024-11-24 07:33:00 +11:00
7 changed files with 60 additions and 24 deletions

3
.github/FUNDING.yml vendored Normal file
View file

@ -0,0 +1,3 @@
github: razonyang
custom:
- https://paypal.me/razonyang

View file

@ -45,6 +45,13 @@ seluruh distro Linux. Deskflow juga tidak menyediakan _pre-compiled binary_
baik untuk Linux, MAC, maupun Windows. Jadi satu-satunya cara untuk menginstall
dan menjalankan Deskflow adalah meng-compile dari source code-nya.
> **UPDATE**: Proses build telah berubah sejak tulisan ini dibuat. Bagi
> pengguna Linux, rilis terbaru sudah penyertakan paket untuk Debian, Fedora,
> dan OpenSUSE. Silahkan kunjungi [halaman rilis
> terbaru][deskflow-release-page] mereka. Untuk Distro Arch, Deskflow sudah
> berada di repositori `extra`, jadi Anda dapat menginstallnya dengan mudah
> menggunakan `pacman -S deskflow`.
Meskipun begitu, Anda tidak perlu khawatir karena sudah tersedia
_"install / helper"_ script untuk sebagian besar distro (Debian, Fedora,
OpenSUSE, dan Arch Linux).
@ -128,6 +135,7 @@ mouse dan keyboard komputer server untuk komputer client.
[xrdp_gh]: https://github.com/neutrinolabs/xrdp "xrdp GitHub repository"
[deskflow_gh]: https://github.com/deskflow/deskflow "Deskflow GitHub repository"
[deskflow-release-page]: https://github.com/deskflow/deskflow/releases/latest "Deskflow GitHub release page"
[synergy_web]: https://symless.com/synergy "Synergy Website"
[deskflow_cmp]: https://github.com/deskflow/deskflow/blob/master/BUILD.md "Deskflow Build Quick Start"
[xdg_desktop_spec]: https://specifications.freedesktop.org/desktop-entry-spec/latest/ "XDG Desktop Entry spec"

View file

@ -46,6 +46,12 @@ manager for all Linux distributions. Deskflow also does not provide
pre-compiled binaries for Linux, macOS, or Windows. Therefore, the only way to
install and run Deskflow is to compile it from its source code.
> **UPDATE**: The build process has been changed since this video was
> uploaded. For Linux users, their latest release already includes packages for
> Debian, Fedora, and OpenSUSE. Check on [their release
> page][deskflow-release-page]. For Arch Linux, it's already on EXTRA
> repository, so you can easily install using `pacman -S deskflow`.
However, you don't need to worry because there is already an "install" script
available for most distributions (Debian, Fedora, OpenSUSE, and Arch Linux).
@ -130,6 +136,7 @@ server computer's mouse and keyboard for the client computer.
[xrdp_gh]: https://github.com/neutrinolabs/xrdp "xrdp GitHub repository"
[deskflow_gh]: https://github.com/deskflow/deskflow "Deskflow GitHub repository"
[deskflow-release-page]: https://github.com/deskflow/deskflow/releases/latest "Deskflow GitHub release page"
[synergy_web]: https://symless.com/synergy "Synergy Website"
[deskflow_cmp]: https://github.com/deskflow/deskflow/blob/master/BUILD.md "Deskflow Build Quick Start"
[xdg_desktop_spec]: https://specifications.freedesktop.org/desktop-entry-spec/latest/ "XDG Desktop Entry spec"

View file

@ -59,7 +59,14 @@ Pada artikel ini, tujuan kita adalah:
{{< youtube o_JcLMjYI1A >}}
> Catatan: Video YouTube diatas tidak secara urut mengikuti artikel ini. Video
> Catatan:
>
> - Secara default, WireGuard menggunakan UDP port 51820 dan WireGuard-UI
> mengikuti konfigurasi tersebut juga. Jika Anda tidak menggunakan port
> 51820 seperti yang digunakan di artikel ini, silahkan sesuaikan
> [konfigurasi firewall](#mengkonfigurasi-firewall) dan [WireGuard UI
> Server Settings](#menggunakan-wireguard-ui) Anda.
> - Video YouTube diatas tidak secara urut mengikuti artikel ini. Video
> tersebut juga menggunakan subnet yang berbeda, jadi sesuaikan sesuai
> kebutuhan.
@ -83,7 +90,7 @@ sudo sysctl -p
Hal tersebut perlu dilakukan supaya _kernel_ mengijinkan melakukan **IP
forwarding**.
### Mengkonfigrasi Firewall
### Mengkonfigurasi Firewall
Anda perlu untuk menambahkan _port_ yang akan digunakan oleh WireGuard _daemon_
ke _allow-list firewall_ Anda. Dari bawaan distro **Ubuntu**, **UFW** sudah
@ -94,7 +101,9 @@ sudo ufw allow OpenSSH
sudo ufw allow 80 comment "allow HTTP" # akan digunakan oleh Nginx
sudo ufw allow 443 comment "allow HTTPS" # akan digunakan oleh Nginx
sudo ufw allow proto udp to any port 443 comment "allow QUIC" # Jika konfigurasi Nginx Anda mensupport QUIC
sudo ufw allow proto udp to any port 51822 comment "WireGuard listen port"
# Sesuaikan perintah ufw dibawah ini dengan WireGuard listen port Anda
sudo ufw allow proto udp to any port 51820 comment "WireGuard default listen port"
sudo ufw allow proto udp to any port 51822 comment "WireGuard tutorial listen port"
```
> _Perhatikan bahwa saya juga menambahkan **OpenSSH** ke allow list untuk

View file

@ -55,7 +55,14 @@ In this guide, our goals:
{{< youtube o_JcLMjYI1A >}}
> Note: The YouTube videos above are not in the order of this article. They
> Note:
>
> - By default, WireGuard listens on UDP port 51820, and WireGuard-UI follows
> this configuration by default. If you don't use port 51822 (like this
> article does), please adjust [your firewall](#setting-up-firewall) and
> [WireGuard UI Server Settings](#using-wireguard-ui) configuration
> accordingly.
> - The YouTube videos above are not in the order of this article. They
> also use different IPs & subnets, so adjust them to your needs.
## Prepare Your Server
@ -87,7 +94,9 @@ sudo ufw allow OpenSSH
sudo ufw allow 80 comment "allow HTTP" # will be used by Nginx
sudo ufw allow 443 comment "allow HTTPS" # will be used by Nginx
sudo ufw allow proto udp to any port 443 comment "allow QUIC" # If your Nginx support QUIC
sudo ufw allow proto udp to any port 51822 comment "WireGuard listen port"
# Adjust ufw command below according to your WireGuard listen port
sudo ufw allow proto udp to any port 51820 comment "WireGuard default listen port"
sudo ufw allow proto udp to any port 51822 comment "WireGuard tutorial listen port"
```
> _Note that I also add **OpenSSH** to allow list to avoid losing connection to

10
go.mod
View file

@ -20,7 +20,7 @@ require (
github.com/hbstack/blog/modules/related-posts v0.4.0 // indirect
github.com/hbstack/blog/modules/toc-scrollspy v0.2.0 // indirect
github.com/hbstack/bootstrap v0.2.2 // indirect
github.com/hbstack/breadcrumb v0.7.4 // indirect
github.com/hbstack/breadcrumb v0.8.0 // indirect
github.com/hbstack/bs-tooltip v0.1.1 // indirect
github.com/hbstack/carousel v0.2.7 // indirect
github.com/hbstack/code-block-panel v0.1.2 // indirect
@ -37,7 +37,7 @@ require (
github.com/hbstack/gallery v0.13.1 // indirect
github.com/hbstack/gallery/modules/breadcrumb v0.1.1 // indirect
github.com/hbstack/giscus v0.1.1 // indirect
github.com/hbstack/hb v0.15.3 // indirect
github.com/hbstack/hb v0.16.0 // indirect
github.com/hbstack/header v0.16.4 // indirect
github.com/hbstack/header/modules/language-picker v0.1.26 // indirect
github.com/hbstack/header/modules/search v0.1.38 // indirect
@ -58,7 +58,7 @@ require (
github.com/hbstack/syntax-highlighting v0.2.0 // indirect
github.com/hbstack/syntax-highlighting/styles/gruvbox v0.1.1 // indirect
github.com/hbstack/toc-scrollspy v0.2.0 // indirect
github.com/henrygd/bigger-picture v1.1.17 // indirect
github.com/henrygd/bigger-picture v1.1.19 // indirect
github.com/hugomods/ascii v0.1.0 // indirect
github.com/hugomods/base v0.7.2 // indirect
github.com/hugomods/bootstrap v0.23.0 // indirect
@ -80,7 +80,7 @@ require (
github.com/hugomods/masonry-js v0.1.0 // indirect
github.com/hugomods/mermaid v0.1.4 // indirect
github.com/hugomods/pwa v0.9.0 // indirect
github.com/hugomods/search v0.18.3 // indirect
github.com/hugomods/search v0.19.0 // indirect
github.com/hugomods/search-index v0.1.1 // indirect
github.com/hugomods/seo/modules/alternatives v0.1.1 // indirect
github.com/hugomods/seo/modules/base v0.1.3 // indirect
@ -90,7 +90,7 @@ require (
github.com/hugomods/seo/modules/translations v0.1.1 // indirect
github.com/hugomods/seo/modules/twitter-cards v0.1.1 // indirect
github.com/hugomods/shortcodes v0.23.0 // indirect
github.com/hugomods/simple-icons v13.15.0+incompatible // indirect
github.com/hugomods/simple-icons v13.18.0+incompatible // indirect
github.com/hugomods/snackbar v0.1.2 // indirect
github.com/hugomods/workbox v0.1.0 // indirect
github.com/jakearchibald/idb v8.0.0+incompatible // indirect

20
go.sum
View file

@ -32,8 +32,8 @@ github.com/hbstack/blog/modules/toc-scrollspy v0.2.0 h1:UgA7UxoHTOzFDRp1XxhCmCNi
github.com/hbstack/blog/modules/toc-scrollspy v0.2.0/go.mod h1:61D0fK0cilgwUzQm4fhVqfAc0cFYkvTE4pVSP6+FvHI=
github.com/hbstack/bootstrap v0.2.2 h1:Kiy+XEiyDvH9KVfuS7uWYTDoTLbiww0PWTheEXO/fdM=
github.com/hbstack/bootstrap v0.2.2/go.mod h1:2Qd2g72fKgje8fCMSaz8KlKIv60c6PAak59Zg2FJHs0=
github.com/hbstack/breadcrumb v0.7.4 h1:+AN+vB5yAIbaJVQlfa0M7bxREQa1SLxqqgKxPZPkMqk=
github.com/hbstack/breadcrumb v0.7.4/go.mod h1:PuwTpChVZHvvcEEEf7XmSNr4vwKEgVJxxSLKUuD5TUc=
github.com/hbstack/breadcrumb v0.8.0 h1:Yli5Rmf+z7AfRoj4GoXHqSy4X0e7tlbPd9/vPlOGTWY=
github.com/hbstack/breadcrumb v0.8.0/go.mod h1:VU6j9DqY+2mkRuzJVu6vYvL9/psUSxxKg28/Us7c21Y=
github.com/hbstack/bs-tooltip v0.1.1 h1:3ne4fgVrn90TUPhU5r94AKqY2zD6ZmUFZGVW1wzZEv4=
github.com/hbstack/bs-tooltip v0.1.1/go.mod h1:CHhLg2OQq5CdRI1UCe52NbBUQb+pNkXFPdyj32gB/uk=
github.com/hbstack/carousel v0.2.7 h1:CeAYTFjFfVd8NSU0/iWLwmRwAnZBuzWn+2Own1eKkp0=
@ -66,8 +66,8 @@ github.com/hbstack/gallery/modules/breadcrumb v0.1.1 h1:hPP+FuHcBo2nieDA3eY/f771
github.com/hbstack/gallery/modules/breadcrumb v0.1.1/go.mod h1:LdbDrxkgYlIOn/x9HFrde+mpIagFayRuLjIDXL1zCHw=
github.com/hbstack/giscus v0.1.1 h1:jKbA17XjAcbD59QIDUVoFOdbi9P2WzQMtOcIpG/Znuo=
github.com/hbstack/giscus v0.1.1/go.mod h1:XElW8oNLnS0dRVFzoo9Gq8xknvz3D2PuTHC7yw9h3EE=
github.com/hbstack/hb v0.15.3 h1:Q7XKGYLJobkRYKiMd4tLmmBQDaIBX7n3f8QlwAohKvA=
github.com/hbstack/hb v0.15.3/go.mod h1:FJilVCHtkVpfXZT+Ii2OFCVeu9wQh/YGgRMuPKX5ycA=
github.com/hbstack/hb v0.16.0 h1:k5SLF8zmGb8M5UWJwTjWi8/EuiKZ+7gQbP2qRcWYdr0=
github.com/hbstack/hb v0.16.0/go.mod h1:FJilVCHtkVpfXZT+Ii2OFCVeu9wQh/YGgRMuPKX5ycA=
github.com/hbstack/header v0.16.4 h1:Ia/Sww4b/uOvpyN5/IGmVuWT4h1cxJSnWm5qwoVmrAI=
github.com/hbstack/header v0.16.4/go.mod h1:4f3Nhslt+UQ1Fo82HuspQO7jLJ/UrZ8GgDKImiZx5FA=
github.com/hbstack/header/modules/language-picker v0.1.26 h1:iu/PtI6ckZt/6o7ekzcpFZYZEwRsNM/rxRuqRrAr0m0=
@ -108,8 +108,8 @@ github.com/hbstack/syntax-highlighting/styles/gruvbox v0.1.1 h1:IzJlnkHGS8XhibNj
github.com/hbstack/syntax-highlighting/styles/gruvbox v0.1.1/go.mod h1:ar5ZFplNyVZCVG6rvo69co1hNZwptxtrDz3zproGLPg=
github.com/hbstack/toc-scrollspy v0.2.0 h1:JPBozafeDvTUwGFkR90m/SzcyBfKg40pVJOLFihr60k=
github.com/hbstack/toc-scrollspy v0.2.0/go.mod h1:wIqdWFRjqGGKX6Y5XVRQzaBBeZ91kZBKgovQp8IPvtk=
github.com/henrygd/bigger-picture v1.1.17 h1:X41lEdmfYbLLgMdkH4F3Mdhipy8EQjA2w16u1y+BgM8=
github.com/henrygd/bigger-picture v1.1.17/go.mod h1:LayqbjDNNsZH+ZXklmjBe5T02qxpH9Cah/ygAraOBIk=
github.com/henrygd/bigger-picture v1.1.19 h1:fv3S1wlW5L9XF01wOHGZmwPn3vMNgQOwwYMhTTHhHic=
github.com/henrygd/bigger-picture v1.1.19/go.mod h1:LayqbjDNNsZH+ZXklmjBe5T02qxpH9Cah/ygAraOBIk=
github.com/hugomods/ascii v0.1.0 h1:c7E0nV3z7PiNchGXkIuFBWsKym17k0iOo+o6Bp6bw30=
github.com/hugomods/ascii v0.1.0/go.mod h1:vvC2YaCuNBWl/8F/mfk9vMxVpwXluH80cROV9TDpmLk=
github.com/hugomods/base v0.7.2 h1:SShNl7koN79CEUdGQ65Knbf/c2k+bE+El5ManYWd8Cg=
@ -152,8 +152,8 @@ github.com/hugomods/mermaid v0.1.4 h1:/u0FZRSBMpqTbDh4XPBL7c6p0DUjvIkoo9cC89GASS
github.com/hugomods/mermaid v0.1.4/go.mod h1:GOID2Ko1vdrX03ZMaFNQL/vdTU1tZmGcVjOgBN8O42Y=
github.com/hugomods/pwa v0.9.0 h1:bEKFkP7xkow6IadY9hKEwPbdKeLC0XZfVT31gGP7CPc=
github.com/hugomods/pwa v0.9.0/go.mod h1:KpYK2Ffn969+Py5SzV3+iXYase4UoUeRAsd9jY7Q2Us=
github.com/hugomods/search v0.18.3 h1:ArJTyKNFU4joba+mrrM7EsplxPWbQ/rAE4LCn34D6+o=
github.com/hugomods/search v0.18.3/go.mod h1:xPnDGjP/HCdEWJrJBwwdI2mEtdxFxp+wHBwSl/r2m00=
github.com/hugomods/search v0.19.0 h1:SQoSJoX9EbcnH1m3+IiAv99lSg8C+iCHpZguU9Wbyg8=
github.com/hugomods/search v0.19.0/go.mod h1:xPnDGjP/HCdEWJrJBwwdI2mEtdxFxp+wHBwSl/r2m00=
github.com/hugomods/search-index v0.1.1 h1:jAJ+Gu0nzCq/bbjEeJQcI1gLgqJOn+RHnTf9Sp1go2w=
github.com/hugomods/search-index v0.1.1/go.mod h1:2owtATJ1XxWAvK/trnNoUC1EoBimAtRYVa7F+JO/s9c=
github.com/hugomods/seo/modules/alternatives v0.1.1 h1:Y8NdyBhvkSfr43ZKtXvQBgOW9lHL0a6vC1UIZFNbMpo=
@ -172,8 +172,8 @@ github.com/hugomods/seo/modules/twitter-cards v0.1.1 h1:1cxNnftQ8MdajH48tB46DQ6e
github.com/hugomods/seo/modules/twitter-cards v0.1.1/go.mod h1:KA6MA3GbyQZdd3vloDgcTFBoztmqEJI8R59whcSxpf4=
github.com/hugomods/shortcodes v0.23.0 h1:ZB7bY7vvx917IkXg+ab08QD5H4biKzAsLKDMrWeoziI=
github.com/hugomods/shortcodes v0.23.0/go.mod h1:EnVopbZMNI/HeteM3Lp3phBTCRLvPSe7l142qhRFFPY=
github.com/hugomods/simple-icons v13.15.0+incompatible h1:zEsdNi8d6A7w1BoO8Pz0uUbtV1QqkaBk/4bbPx3xAQc=
github.com/hugomods/simple-icons v13.15.0+incompatible/go.mod h1:1Lvymol7AMVY7ji/o88jMoDHHZIJ5Wc+WwNe5hjmk+U=
github.com/hugomods/simple-icons v13.18.0+incompatible h1:nBbi6HunJ/1nRzUsBz7Hw756f4kVjq+pkLgS0aO8y7A=
github.com/hugomods/simple-icons v13.18.0+incompatible/go.mod h1:1Lvymol7AMVY7ji/o88jMoDHHZIJ5Wc+WwNe5hjmk+U=
github.com/hugomods/snackbar v0.1.2 h1:SLpfH9jlYwf81epH7DvM2XTZHo+3fXXpk6XKtxmo964=
github.com/hugomods/snackbar v0.1.2/go.mod h1:ykFm0IFibeQPuPAm8Gaa27xJS/bNZcSez4omVSl2gQ0=
github.com/hugomods/workbox v0.1.0 h1:yxuTj3gT1BNf6OitxrjxSJXfmbFBj2UTwdWr142eYFQ=