Direwolf: Difference between revisions
Described modification of config file |
m Made header more generic |
||
| Line 55: | Line 55: | ||
<nowiki>AllowedIPs = 44.27.133.290/32</nowiki> | <nowiki>AllowedIPs = 44.27.133.290/32</nowiki> | ||
== Step 4: Set up | == Step 4: Set up client == | ||
== References == | == References == | ||
Revision as of 18:01, 2 September 2026
Direwolf is a piece of software used to decode and encode APRS packets, commonly called a terminal node controller (TNC). A computer running Direwolf can be paired with a transceiver to transmit, receive, and digipeat APRS packets on the air. It can be used on its own or with a KISS client. This is a tutorial on setting up Direwolf for remote access via a 44Net Connect tunnel.
Prerequisites:
- 44Net Portal account
- Verified callsign
- 44Net Connect tunnel configuration file (for your Direwolf device)
- Either a client with a static IP or another 44Net Connect tunnel configuration file for your client
Security and Limitations
Neither Direwolf or the KISS protocol directly support any kind of authentication. Securing Direwolf against unauthorized access is done via IP whitelisting in this guide, so providing access to people without access to a static IP (through 44Net or otherwise) is out of scope.
Step 1: Install and configure Direwolf
Consult the Direwolf README for installation instructions. The instructions state that the direwolf.conf file will be automatically created in your home directory, but this is not always the case. If the config file is not automatically created, a working Linux configuration can be found in N3EMC's digipeater tutorial.
Configure sound card
Next, plug in your USB sound card if you're using one. (This section applies whether you're using a USB sound card or a built-in one.) then open a terminal and run `arecord -l` to list your audio devices. The output will look like this:
**** List of CAPTURE Hardware Devices **** card 1: Device [USB Audio Device], device 0: USB Audio [USB Audio] Subdevices: 0/1 Subdevice #0: subdevice #0
Record the card number (in this case card 1) and the device number (in this case card 2). Edit the line in direwolf.conf that starts with ADEVICE. By default, the line might look like this:
ADEVICE plughw:0,0
Replace the first number with your card number, and the second with your device number. For our example with card 1 and device 0, the line should now look like this:
ADEVICE plughw:1,0
Configure callsign
Go to the configuration line beginning with MYCALL and fill in your callsign there. It may optionally be followed by a Sub-Station Identifier (SSID), which consists of a dash and a number. These are commonly used to differentiate multiple pieces of equipment owned by the same person. N3EMC says that 10 is commonly used for digipeaters and iGates, so a person with the callsign N0CALL may write the config line like this:
MYCALL N0CALL-10
Configure iGate login
To enable iGate functionality, you must configure your iGate server and login. The server is configured using the line starting with IGSERVER. Select your server from the following:
- Worldwide:
rotate.aprs2.net - North America:
noam.aprs2.net - South America:
soam.aprs2.net - Europe/Africa:
euro.aprs2.net - Asia:
asia.aprs2.net - Oceania:
aunz.aprs2.net
For example, North American users should have the config line IGSERVER noam.aprs2.net.
Step 2: Configure your firewall
For security purposes, it's important to configure your firewall before exposing your device to the internet. Install your firewall of choice, and open port 8001 for the KISS client. Ensure other ports are closed, unless you have services that you want to be accessible. See Firewalling Basics for more information.
Step 3: Set up 44Net Connect tunnel
Set up a single device tunnel on the machine that will host your Minecraft server. Go to the list of single device tunnel tutorials and follow the one for your operating system. Before starting the tunnel, you'll need to modify your configuration. Modify the AllowedIPs line so that it contains only the static IPs of your clients, each followed by /32 to indicate that this is a single IP rather than a subnet. This is the method by which access to your Direwolf instance is controlled. Example:
AllowedIPs = 44.27.133.290/32
Step 4: Set up client
References
- Direwolf documentation
- Easy APRS iGate and Digipeater Setup with Direwolf - themodernham
- APRS Digitpeater and iGate with Direwolf
- If your Direwolf installation does not create a default configuration file, this site has an example config you can use.