This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
wireguard_on_freshtomato [2023/07/17 17:56] – [Point-to-Point Connection] -standardize spelling on "routera" and "routerb" hogwild | wireguard_on_freshtomato [2023/07/17 18:00] – [Assumptions:] -grammar hogwild | ||
---|---|---|---|
Line 130: | Line 130: | ||
<code -> | <code -> | ||
- | root@routerA:/jffs# wg genkey > privateKey_$(hostname) | + | root@routera:/jffs# wg genkey > privateKey_$(hostname) |
- | root@routerA:/jffs# wg pubkey < privateKey_$(hostname) > publicKey_$(hostname) | + | root@routera:/jffs# wg pubkey < privateKey_$(hostname) > publicKey_$(hostname) |
</ | </ | ||
Line 141: | Line 141: | ||
<code -> | <code -> | ||
- | root@routerA:/jffs# ls -l | + | root@routera:/jffs# ls -l |
-rw-r--r-- | -rw-r--r-- | ||
-rw-r--r-- | -rw-r--r-- | ||
Line 247: | Line 247: | ||
* The wg.sh and " | * The wg.sh and " | ||
- | \\ \\ {{: | + | \\ \\ {{: |
- | \\ | + | |
- | The script will display an introduction screen: | + | |
\\ {{: | \\ {{: | ||
Line 257: | Line 255: | ||
* wg.sh | * wg.sh | ||
* wg0.conf | * wg0.conf | ||
+ | |||
\\ | \\ | ||
You do not need to make any changes to those files. Simply copy them both to the relevant device (preferably jffs). This means you must run the makeconf on any one (and only one) device.\\ | You do not need to make any changes to those files. Simply copy them both to the relevant device (preferably jffs). This means you must run the makeconf on any one (and only one) device.\\ | ||
- | The wg.sh script has been written such that it can be run multiple times, even consecutively. Router and iptables/ | + | The wg.sh script has been written such that it can be run multiple times, even consecutively. Router and iptables/ |