add init-script-in-openwrt-to-start-leproxy.md
This commit is contained in:
@@ -46,9 +46,9 @@
|
||||
|
||||
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css" integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous">
|
||||
|
||||
<link href="https://h.cowbay.org/css/style.css?v=1629957884" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
|
||||
<link href="https://h.cowbay.org/css/style.css?v=1632901489" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
|
||||
|
||||
<link href="https://h.cowbay.org/css/custom.css?v=1629957884" rel="stylesheet" type='text/css' media='all'>
|
||||
<link href="https://h.cowbay.org/css/custom.css?v=1632901489" rel="stylesheet" type='text/css' media='all'>
|
||||
<link rel="shortcut icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
|
||||
<link rel="icon" href="https://h.cowbay.org/img/favicon.ico" type="image/x-icon">
|
||||
|
||||
@@ -288,6 +288,67 @@ if (!doNotTrack) {
|
||||
|
||||
|
||||
|
||||
<a class="featured-image-link" href="https://h.cowbay.org/post/init-script-in-openwrt-to-start-leproxy/"><div class='featured-image lazy lazy-bg-image' data-background="https://h.cowbay.org/images/post-default-8.jpg"></div></a>
|
||||
|
||||
|
||||
<div class="excerpt-container">
|
||||
<div class="excerpt-meta">
|
||||
<span class="date">29 September</span>
|
||||
|
||||
|
||||
|
||||
<span> / </span>
|
||||
<span class="author">
|
||||
<a href="https://github.com/changchichung" title="Posts by Eric Chang" rel="author">Eric Chang</a>
|
||||
</span>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<span> / </span>
|
||||
<span class="category">
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記</a>
|
||||
</span>
|
||||
|
||||
</div>
|
||||
<div class='excerpt-header'>
|
||||
<h2 class='excerpt-title'>
|
||||
<a href="https://h.cowbay.org/post/init-script-in-openwrt-to-start-leproxy/ "> Init Script in Openwrt to Start Leproxy/在openwrt 新增自動啟動leproxy的script </a>
|
||||
</h2>
|
||||
</div>
|
||||
<div class='excerpt-content'>
|
||||
<article>
|
||||
<p>最近在逐步的把舊有的VPN Router 汰換掉,改用wireguard 來作 full mesh site-to-site VPN</p>
|
||||
<p>不過這是另外的故事了…</p>
|
||||
<p>在把wireguard VPN 都搞定之後,才發現原來 openwrt 的 uhttpd 要加上 letsencrypt 的免費憑證有點難搞</p>
|
||||
<p>網路上大部分都介紹用 acme.sh ,我是有測試出來啦</p>
|
||||
<p>但是跟網路上的方法不太一樣了,新增了滿多步驟的,覺得很麻煩</p>
|
||||
<p>想到向來愛用的 leproxy ,既然是 golang 開發的,又是open source</p>
|
||||
<p>就拿來compile 給openwrt router 用用看</p>
|
||||
<p>想不到還真的可以, golang 真是棒!</p>
|
||||
<p>不過也還是要順手改一些openwrt 東西才行</p>
|
||||
<p>還是簡單作個筆記好了</p>
|
||||
|
||||
<div class="more-link-wrapper"><a class="more-link" href="https://h.cowbay.org/post/init-script-in-openwrt-to-start-leproxy/">Read the post<span class="screen-reader-text">This is a Standard Post</span></a></div>
|
||||
</article>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="post type-post status-publish format-standard has-post-thumbnail hentry category-design tag-memories tag-normal-post tag-standard-2 excerpt zoom full-without-featured even excerpt">
|
||||
|
||||
|
||||
|
||||
|
||||
<a class="featured-image-link" href="https://h.cowbay.org/post/auto-fetch-wildcard-ssl-certs-acme-dns-lego/"><div class='featured-image lazy lazy-bg-image' data-background="https://h.cowbay.org/images/post-default-8.jpg"></div></a>
|
||||
|
||||
|
||||
@@ -337,8 +398,8 @@ if (!doNotTrack) {
|
||||
|
||||
|
||||
|
||||
<div class="post type-post status-publish format-standard has-post-thumbnail hentry category-design tag-memories tag-normal-post tag-standard-2 excerpt zoom full-without-featured even excerpt">
|
||||
|
||||
<div class="post type-post status-publish format-standard has-post-thumbnail hentry category-design tag-memories tag-normal-post tag-standard-2 excerpt zoom full-without-featured odd excerpt">
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -391,8 +452,8 @@ if (!doNotTrack) {
|
||||
|
||||
|
||||
|
||||
<div class="post type-post status-publish format-standard has-post-thumbnail hentry category-design tag-memories tag-normal-post tag-standard-2 excerpt zoom full-without-featured odd excerpt">
|
||||
|
||||
<div class="post type-post status-publish format-standard has-post-thumbnail hentry category-design tag-memories tag-normal-post tag-standard-2 excerpt zoom full-without-featured even excerpt">
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -444,8 +505,8 @@ if (!doNotTrack) {
|
||||
|
||||
|
||||
|
||||
<div class="post type-post status-publish format-standard has-post-thumbnail hentry category-design tag-memories tag-normal-post tag-standard-2 excerpt zoom full-without-featured even excerpt">
|
||||
|
||||
<div class="post type-post status-publish format-standard has-post-thumbnail hentry category-design tag-memories tag-normal-post tag-standard-2 excerpt zoom full-without-featured odd excerpt">
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -490,63 +551,6 @@ if (!doNotTrack) {
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="post type-post status-publish format-standard has-post-thumbnail hentry category-design tag-memories tag-normal-post tag-standard-2 excerpt zoom full-without-featured odd excerpt">
|
||||
|
||||
|
||||
|
||||
|
||||
<a class="featured-image-link" href="https://h.cowbay.org/post/ubuntu-letsencrypt-cloudflare-wildcard/"><div class='featured-image lazy lazy-bg-image' data-background="https://h.cowbay.org/images/post-default-4.jpg"></div></a>
|
||||
|
||||
|
||||
<div class="excerpt-container">
|
||||
<div class="excerpt-meta">
|
||||
<span class="date">02 September</span>
|
||||
|
||||
|
||||
|
||||
<span> / </span>
|
||||
<span class="author">
|
||||
<a href="https://github.com/changchichung" title="Posts by Eric Chang" rel="author">Eric Chang</a>
|
||||
</span>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<span> / </span>
|
||||
<span class="category">
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記</a>
|
||||
</span>
|
||||
|
||||
</div>
|
||||
<div class='excerpt-header'>
|
||||
<h2 class='excerpt-title'>
|
||||
<a href="https://h.cowbay.org/post/ubuntu-letsencrypt-cloudflare-wildcard/ "> [筆記] 在 ubuntu 20.04 底下,用certbot 透過Cloudflare 申請全域的 Letsencrypt 憑證 </a>
|
||||
</h2>
|
||||
</div>
|
||||
<div class='excerpt-content'>
|
||||
<article>
|
||||
<p>之前用caddy 作為反向代理,其中一個優勢就是caddy 會自動處理Letsencrypt 憑證的問題</p>
|
||||
<p>也不用煩惱怎麼去更新一堆有的沒的</p>
|
||||
<p>不過,實際應用上,還是偶爾會拿這些憑證檔案來用的狀況</p>
|
||||
<p>雖然可以從caddy 上面取得這些檔案</p>
|
||||
<p>但是基本上這些檔案都是綁定一個特定的hostname</p>
|
||||
<p>可是我想要有一個憑證,可以給同網域底下的機器用 ( Wildcard certificates )</p>
|
||||
|
||||
<div class="more-link-wrapper"><a class="more-link" href="https://h.cowbay.org/post/ubuntu-letsencrypt-cloudflare-wildcard/">Read the post<span class="screen-reader-text">This is a Standard Post</span></a></div>
|
||||
</article>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
@@ -681,7 +685,16 @@ if (!doNotTrack) {
|
||||
|
||||
|
||||
|
||||
<a class="page-numbers" href="/page/13/">13</a>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a class="page-numbers" href="/page/14/">14</a>
|
||||
|
||||
|
||||
|
||||
@@ -825,7 +838,7 @@ if (!doNotTrack) {
|
||||
</div>
|
||||
<script src="https://h.cowbay.org/js/jquery.min.js"></script>
|
||||
<script src="https://h.cowbay.org/js/jquerymigrate.js"></script>
|
||||
<script src="https://h.cowbay.org/js/production.min.js?v=1629957884"></script>
|
||||
<script src="https://h.cowbay.org/js/production.min.js?v=1632901489"></script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user