差異處
這裏顯示兩個版本的差異處。
兩邊的前次修訂版 前次修改 下次修改 | 前次修改 | ||
tech:wireguard [2023/11/19 19:13] – [採用 linuxserver/wireguard 版本] jonathan | tech:wireguard [2024/04/12 20:53] (目前版本) – [host Alpine 升級到 3.19 之後啟動異常解決方法] jonathan | ||
---|---|---|---|
行 49: | 行 49: | ||
</ | </ | ||
* 可以使用瀏覽器 http:// | * 可以使用瀏覽器 http:// | ||
+ | * 詳細設定參數請參考 - https:// | ||
==== 修改 Listen Port ==== | ==== 修改 Listen Port ==== | ||
行 61: | 行 62: | ||
: | : | ||
</ | </ | ||
+ | |||
+ | ===== FAQ ===== | ||
+ | - host Alpine 升級到 3.19 之後啟動時 log 出現 <cli> | ||
+ | : | ||
+ | iptables -A FORWARD -i wg0 -j ACCEPT; iptables -A FORWARD -o wg0 -j ACCEPT; | ||
+ | modprobe: can't change directory to '/ | ||
+ | modprobe: can't change directory to '/ | ||
+ | iptables v1.8.3 (legacy): can't initialize iptables table `nat': Table does not exist (do you need to insmod?) | ||
+ | Perhaps iptables or your kernel needs to be upgraded. | ||
+ | : | ||
+ | </ | ||
+ | * Ans : 需要在 host (Alpine 3.19) 執行以下指令< | ||
+ | modprobe ip_tables | ||
+ | echo ' | ||
+ | </ | ||
+ | * 參考 - https:// | ||
===== 採用 linuxserver/ | ===== 採用 linuxserver/ |