literate-dotfiles/docs/router.html

148 lines
4.6 KiB
HTML
Raw Permalink Normal View History

2021-10-25 14:37:10 +02:00
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
2022-05-09 10:05:23 +02:00
<!-- 2022-05-09 lun. 10:05 -->
2021-10-25 14:37:10 +02:00
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<title>Open-WRT Router (Netgear R7000)</title>
<meta name="author" content="Dehaeze Thomas" />
<meta name="generator" content="Org Mode" />
<link rel="stylesheet" type="text/css" href="./dist/style.css"/>
<script type="text/javascript" src="./dist/script.js"></script>
</head>
<body>
<div id="org-div-home-and-up">
<a accesskey="h" href="./index.html"> UP </a>
|
<a accesskey="H" href="./index.html"> HOME </a>
</div><div id="content" class="content">
<h1 class="title">Open-WRT Router (Netgear R7000)</h1>
<div id="table-of-contents" role="doc-toc">
<h2>Table of Contents</h2>
<div id="text-table-of-contents" role="doc-toc">
<ul>
2022-05-09 10:05:23 +02:00
<li><a href="#org10a62da">Installation</a>
2021-10-25 14:37:10 +02:00
<ul>
2022-05-09 10:05:23 +02:00
<li><a href="#orgb0c9c51">Freebox - Bridge mode</a></li>
<li><a href="#orgb1bb8d6">Enable SSL</a></li>
<li><a href="#org9e54ef4">Install useful packages</a></li>
2021-10-25 14:37:10 +02:00
</ul>
</li>
2022-05-09 10:05:23 +02:00
<li><a href="#orgaff4014">Update</a></li>
<li><a href="#org71a1575">Configuration</a></li>
2021-10-25 14:37:10 +02:00
</ul>
</div>
</div>
2022-05-09 10:05:23 +02:00
<div id="outline-container-org10a62da" class="outline-2">
<h2 id="org10a62da">Installation</h2>
<div class="outline-text-2" id="text-org10a62da">
2021-10-25 14:37:10 +02:00
</div>
2022-05-09 10:05:23 +02:00
<div id="outline-container-orgb0c9c51" class="outline-3">
<h3 id="orgb0c9c51">Freebox - Bridge mode</h3>
<div class="outline-text-3" id="text-orgb0c9c51">
2021-10-25 14:37:10 +02:00
<p>
<a href="https://blog.kulakowski.fr/post/openwrt-derriere-une-freebox-ipv6-dmz-et-bridge">https://blog.kulakowski.fr/post/openwrt-derriere-une-freebox-ipv6-dmz-et-bridge</a>
</p>
</div>
</div>
2022-05-09 10:05:23 +02:00
<div id="outline-container-orgb1bb8d6" class="outline-3">
<h3 id="orgb1bb8d6">Enable SSL</h3>
<div class="outline-text-3" id="text-orgb1bb8d6">
2021-10-25 14:37:10 +02:00
<p>
How can I enable SSL for the web admin gui?
In an SSH-command line, run opkg update, then install the package opkg install luci-ssl, then restart the router. Then you can access <a href="https://192.168.1.1">https://192.168.1.1</a> or <a href="https://openwrt">https://openwrt</a> with your favorite web browser
</p>
</div>
</div>
2022-05-09 10:05:23 +02:00
<div id="outline-container-org9e54ef4" class="outline-3">
<h3 id="org9e54ef4">Install useful packages</h3>
<div class="outline-text-3" id="text-org9e54ef4">
2021-10-25 14:37:10 +02:00
<div class="org-src-container">
<pre class="src src-bash">opkg update &amp;&amp; opkg install luci-ssl-openssl luci-theme-material ipset <span class="org-type">curl</span> diffutils speedtest-netperf kmod-ipt-nat6
</pre>
</div>
</div>
</div>
</div>
2022-05-09 10:05:23 +02:00
<div id="outline-container-orgaff4014" class="outline-2">
<h2 id="orgaff4014">Update</h2>
<div class="outline-text-2" id="text-orgaff4014">
2021-10-25 14:37:10 +02:00
<div class="org-src-container">
<pre class="src src-bash">opkg list-upgradable | cut -f <span class="org-highlight-numbers-number">1</span> -d <span class="org-string">' '</span> | xargs -r opkg upgrade
</pre>
</div>
</div>
</div>
2022-05-09 10:05:23 +02:00
<div id="outline-container-org71a1575" class="outline-2">
<h2 id="org71a1575">Configuration</h2>
<div class="outline-text-2" id="text-org71a1575">
2021-10-25 14:37:10 +02:00
<p>
<a href="https://openwrt.org/docs/guide-user/base-system/uci#common_principles">https://openwrt.org/docs/guide-user/base-system/uci#common_principles</a>
</p>
<p>
Configuration files are in <code>/etc/config</code>.
</p>
<table border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
<colgroup>
<col class="org-left" />
<col class="org-left" />
</colgroup>
<thead>
<tr>
<th scope="col" class="org-left"><b>File</b></th>
<th scope="col" class="org-left"><b>Description</b></th>
</tr>
</thead>
<tbody>
<tr>
<td class="org-left"><code>/etc/config/dhcp</code></td>
<td class="org-left">Dnsmasq and odhcpd settings: DNS, DHCP, DHCPv6</td>
</tr>
<tr>
<td class="org-left"><code>/etc/config/dropbear</code></td>
<td class="org-left">SSH server options</td>
</tr>
<tr>
<td class="org-left"><code>/etc/config/firewall</code></td>
<td class="org-left">NAT, packet filter, port forwarding, etc.</td>
</tr>
<tr>
<td class="org-left"><code>/etc/config/network</code></td>
<td class="org-left">Switch, interface and route configuration:</td>
</tr>
<tr>
<td class="org-left"><code>/etc/config/system</code></td>
<td class="org-left">Misc. system settings, NTP, RNG, Watchcat</td>
</tr>
<tr>
<td class="org-left"><code>/etc/config/wireless</code></td>
<td class="org-left">Wireless settings and wifi network definition</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<div id="postamble" class="status">
<p class="author">Author: Dehaeze Thomas</p>
2022-05-09 10:05:23 +02:00
<p class="date">Created: 2022-05-09 lun. 10:05</p>
2021-10-25 14:37:10 +02:00
</div>
</body>
</html>