Fldigi on Linux — Complete Setup and Operating Guide
Fldigi is the most widely used digital mode modem for Linux amateur radio. This complete guide covers installation on Ubuntu and Debian, sound card and rig control setup, making your first PSK31 and RTTY contact, troubleshooting common problems, and integrating with CQRLog and WSJT-X.
- What is Fldigi and why use it
- Installation on Ubuntu and Debian
- Sound card setup and audio wiring
- Rig control — Hamlib and Flrig
- Understanding the Fldigi interface
- Digital modes — PSK31, RTTY, CW and more
- Operating guide — making contacts
- Macros and automation
- Logging contacts and LoTW upload
- Running headless on a server
- Hardware compatibility
- Integration with CQRLog and WSJT-X
- Troubleshooting common problems
- Frequently asked questions
Live interface
Fldigi is running on this server as a systemd service. The live web interface shows the real-time waterfall from the server's connected radio and allows browser-based interaction with the modem.
Fldigi — Live Interface
Real-time waterfall and modem control running on the HamRadioBase server
What is Fldigi and why use it
Fldigi (Fast Light Digital modem Application) has been the standard Linux digital modes program since 2007. Written by Dave Freese W1HKJ and a team of contributors, it handles the audio signal processing for over 20 digital modes — receiving and decoding signals from your radio's audio output and generating audio tones for transmission through your radio's microphone or data input.
The core of Fldigi is a live waterfall display showing the received audio spectrum. Signals appear as colored vertical lines or patterns on the waterfall — you click on a signal to tune to it and Fldigi begins decoding it automatically. The decoded text appears in the receive window in real time, making it immediately obvious what mode a signal is using and what it contains.
Fldigi is the right choice for operators who want to work PSK31, RTTY, CW, Olivia, MFSK, and dozens of other traditional digital modes that predate FT8. It also has a built-in web server making it suitable for remote operation and the live interface running on this server.
Installation on Ubuntu and Debian
Ubuntu 22.04, 24.04 and Debian 11, 12
Fldigi is in the standard repositories for all current Ubuntu and Debian releases. Install it with:
sudo apt update
sudo apt install fldigi flrig flarq
This installs Fldigi plus two companion tools: Flrig (rig control front-end) and Flarq (ARQ file transfer). All three are useful for a complete digital mode station.
Install the latest version from source
The repository version may lag the latest release by several months. If you need recent bug fixes or features, build from source:
sudo apt install build-essential libfltk1.3-dev \
libsamplerate0-dev libsndfile1-dev \
portaudio19-dev libhamlib-dev \
libjpeg-dev libpng-dev libz-dev
wget http://www.w1hkj.com/files/fldigi/fldigi-4.2.05.tar.gz
tar xzf fldigi-4.2.05.tar.gz
cd fldigi-4.2.05
./configure
make -j$(nproc)
sudo make install
Replace the version number with the latest from the Fldigi website at w1hkj.com. The build takes 3–5 minutes on a modern machine.
Verify the installation
fldigi --version
This prints the installed version. If you get "command not found" the installation did not complete successfully — check for error messages in the build output.
Fedora and other RPM-based distributions
sudo dnf install fldigi flrig
Raspberry Pi OS
Fldigi installs and runs well on Raspberry Pi 3 and 4. Use the standard apt install method above — the arm64 packages are in the Raspberry Pi OS repositories. Performance is good for all modes at 48000 Hz sample rate.
Sound card setup and audio wiring
Getting the audio interface right is the most important part of setting up Fldigi. Poor audio levels, ground loops, and wrong device selection cause the majority of problems new users encounter.
What audio interface do you need
You need a way to get audio from your radio to your computer's input and from your computer's output to your radio's microphone or data input. Three common approaches:
- USB audio interface (recommended) — a dedicated USB sound card like the Signalink USB, Masters Communications DRA series, or a generic CM108-based dongle. Avoids ground loops, keeps station audio separate from computer audio, plug-and-play on Linux.
- Built-in sound card — works if your radio and computer share a common ground (same AC outlet). Prone to ground loop hum. Use the line-in jack, not the microphone jack.
- Radio's built-in USB audio — modern radios like the IC-7300, IC-7610, and Yaesu FTDX-10 have built-in USB audio. Linux sees them as a standard USB sound card. No additional hardware needed.
Wiring a basic radio-to-computer interface
The basic wiring connects four signals between radio and computer:
- Radio audio output → Computer line-in — the received signal for Fldigi to decode
- Computer audio output → Radio microphone or data input — the transmit audio from Fldigi
- PTT line → Radio PTT input — keys the transmitter when sending
- Ground — common ground between radio and computer
Configuring audio in Fldigi
Go to Configure → Sound Card → Audio → Devices and configure these settings:
- Capture (input) — select your USB audio interface or radio's USB audio device
- Playback (output) — select the same device
- Sample rate — set to 48000 Hz for best performance
- Channels — Mono for most setups, Stereo only if using dual-channel operation
Finding your audio device name
arecord -l
# Example output:
# card 1: Device [USB Audio Device], device 0: USB Audio [USB Audio]
The device in Fldigi's dropdown will appear as "USB Audio Device" or similar. If you have multiple USB audio interfaces connected they will all appear — select the one connected to your radio.
Setting audio levels correctly
Correct audio levels are critical for clean transmission. Use alsamixer or your system's volume control to set levels:
- Receive level — the waterfall should show colored signals without clipping. Watch the Fldigi signal level meter — peaks should reach 50–75% of full scale during normal signals
- Transmit level — the ALC meter on your radio should show minimal deflection. Any ALC action means you are overdriving the audio and causing splatter on adjacent frequencies
PulseAudio and PipeWire
On modern Ubuntu systems audio goes through PulseAudio or PipeWire rather than directly to ALSA. In Fldigi select the PulseAudio device in the sound card settings rather than the ALSA hardware device directly. This avoids conflicts with other applications using the same audio interface.
Rig control — Hamlib and Flrig
Rig control lets Fldigi read your radio's current frequency and mode, and change them automatically when you switch modes. It also controls PTT (push to talk) to key the transmitter when sending.
Method 1 — Via Flrig (recommended)
Flrig is a separate rig control application that acts as a broker between your radio and any software that needs CAT control. Run Flrig as a daemon, then connect Fldigi, CQRLog, and any other applications to Flrig. This is cleaner than having each application fight over the serial port directly.
sudo apt install flrig
flrig &
In Flrig select your radio model and serial port, click Connect, and verify it reads the radio's frequency. Then in Fldigi go to Configure → Rig Control → Flrig and enable "Use Flrig for CAT". Fldigi connects to Flrig on port 12345 automatically.
Method 2 — Hamlib direct connection
Configure Hamlib directly in Fldigi at Configure → Rig Control → Hamlib:
- Rig — select your radio model from the dropdown
- Device — your serial port, usually
/dev/ttyUSB0 - Baud rate — must match your radio's CAT baud rate setting
- PTT via — RTS, DTR, or Hamlib depending on your setup
Serial port permissions
Linux requires your user to be in the dialout group to access serial ports:
sudo usermod -a -G dialout
# Log out and back in for the change to take effect
# Verify with:
groups
Common rig settings for popular radios
| Radio | Hamlib model # | Baud rate | Port | Notes |
|---|---|---|---|---|
| Icom IC-7300 | 3073 | 19200 | /dev/ttyUSB0 | Has built-in USB audio too |
| Icom IC-7610 | 3078 | 19200 | /dev/ttyUSB0 | Dual receiver, built-in USB audio |
| Icom IC-9700 | 3081 | 19200 | /dev/ttyUSB0 | VHF/UHF/satellite |
| Yaesu FT-991A | 1035 | 38400 | /dev/ttyUSB0 | Set radio CAT baud to 38400 |
| Yaesu FTDX-10 | 1050 | 38400 | /dev/ttyUSB0 | Built-in USB audio |
| Kenwood TS-890S | 2044 | 115200 | /dev/ttyUSB0 | High speed CAT |
| Elecraft K3/K3S | 2029 | 38400 | /dev/ttyUSB0 | Set DATA A mode for digital |
| Elecraft KX3 | 2031 | 38400 | /dev/ttyUSB0 | Portable rig with built-in TNC |
| Xiegu G90 | 3085 | 19200 | /dev/ttyUSB0 | Budget portable HF rig |
PTT control options
| Method | How it works | Best for |
|---|---|---|
| VOX | Radio keys on audio from computer | Simplest setup, no extra cables |
| CAT PTT | Hamlib sends PTT command over CAT port | Radios with CAT control |
| RTS/DTR | Serial port control line keys a relay | Radios without CAT control |
| Hamlib PTT | Separate serial port for PTT only | When CAT port is busy with Flrig |
Understanding the Fldigi interface
The Fldigi interface has several distinct panels that work together. Understanding what each one does makes operating much more intuitive.
The waterfall display
The waterfall is the heart of Fldigi. It shows a scrolling spectrogram of the received audio — frequency on the horizontal axis, time moving downward, and signal strength shown as color (dark blue = weak, bright yellow/white = strong). Signals appear as characteristic patterns:
- PSK31 — thin vertical lines, very narrow bandwidth
- RTTY — two parallel vertical lines separated by 170 Hz
- Olivia — wide smeared band of multiple tones
- CW — single vertical line with on/off keying pattern
- MFSK — staircase pattern of tones sweeping across bandwidth
Click anywhere on the waterfall to move the tuning marker (the red triangle at the top) to that frequency. Fldigi immediately begins trying to decode whatever is at that frequency.
Receive and transmit text windows
The upper text area shows received text — everything decoded from the selected signal appears here in real time as it comes in. The lower text area is where you type your transmitted text. Text you type appears in the transmit window and is sent when you click TX or press the assigned function key.
Mode and frequency indicator
The bottom status bar shows the current mode, the audio frequency offset within the passband, your radio's frequency (if rig control is active), and signal quality indicators. The mode button in the bottom-left opens a quick mode selection menu.
Signal and power meters
The S-meter shows received signal strength. The power meter shows transmitted audio level — watch this to avoid overdriving your radio's input. Both update in real time during receive and transmit.
Digital modes — PSK31, RTTY, CW and more
Fldigi supports over 20 digital modes. Here are the most commonly used ones with their characteristics and typical frequencies.
| Mode | Bandwidth | Speed | Main frequency (20m) | Best use |
|---|---|---|---|---|
| BPSK31 | 31 Hz | 31 baud | 14.070 MHz | Ragchewing, most popular PSK mode |
| BPSK63 | 63 Hz | 63 baud | 14.070 MHz | Faster PSK, still narrow |
| BPSK125 | 125 Hz | 125 baud | 14.070 MHz | Fast keyboard QSOs |
| RTTY | 250–500 Hz | 45 baud | 14.080 MHz | Contesting, DX expeditions |
| Olivia 8/500 | 500 Hz | ~16 wpm | 14.106 MHz | Weak signal, noisy bands |
| Olivia 4/250 | 250 Hz | ~8 wpm | 14.106 MHz | Very weak signal |
| MFSK16 | 316 Hz | 16 baud | 14.080 MHz | Reliable keyboard mode |
| DominoEX 11 | ~200 Hz | ~25 wpm | 14.080 MHz | Good weak signal performance |
| CW | ~100 Hz | Variable | 14.025 MHz | Traditional Morse code |
| Throb | ~400 Hz | ~8 wpm | 14.080 MHz | Distinctive sound, experimental |
Operating guide — making contacts
Making your first PSK31 contact — step by step
- Tune your radio to 14.070 MHz USB — the main 20m PSK31 frequency
- In Fldigi select Op Mode → PSK → BPSK-31
- Click RX (or press F6) to start receiving
- The waterfall fills with narrow vertical lines — each one is a PSK31 station
- Click on any active signal — the red marker moves there and decoded text appears in the receive window
- Read the text until you see a station calling CQ ("CQ CQ CQ de W1XYZ W1XYZ pse k")
- Note the station's callsign — click it in the receive window to auto-fill the log fields
- Click TX to transmit your reply — use your pre-configured reply macro
- Exchange signal reports, names, and QTH, then send your 73 macro to close
- Log the contact and return to receive
Calling CQ on PSK31
To call CQ yourself rather than answering one, find a clear spot on the waterfall — a gap between existing signals — and position your tuning marker there. Click TX and send your CQ macro. Listen for replies for 30–60 seconds after each CQ. If no reply try a different part of the waterfall or a different time of day.
Working RTTY
RTTY is popular during contests and with DX expedition stations. Switch to Op Mode → RTTY and tune to 14.080 MHz. RTTY signals appear as two parallel lines on the waterfall — click between them to tune. The Mark/Space indicator at the bottom of Fldigi shows which line is which.
For RTTY contests the exchange is typically callsign, RST, and serial number (or state/province for domestic contests). The pace is faster than PSK31 — many contest stations run at 60 wpm or more. Use macros for the exchange to keep up.
Weak signal modes — Olivia and MFSK
Olivia is the best choice when the band is marginal and PSK31 is failing. The most common variant is Olivia 8/500 on 14.106 MHz. Olivia is significantly slower than PSK31 but can decode correctly at signal levels where PSK31 produces nothing but garbage. Switch to it when conditions are poor or when working stations at the edge of your propagation path.
CW with Fldigi
Fldigi includes a CW decoder that reads Morse code from the audio. It works reasonably well on clean machine-generated CW but struggles with hand-sent CW at irregular speeds. For sending, Fldigi generates CW audio tones at your configured WPM speed — type your message and Fldigi encodes it as CW and keys the transmitter. Use the WPM control to set your sending speed.
Understanding signal reports
The standard RST report used in digital modes is typically 599 regardless of actual signal quality — it is a conventional exchange rather than a meaningful assessment. In PSK31 ragchews you will often give a more honest report or describe conditions in plain text. In RTTY contests 599 is always exchanged as the standard.
Completing a QSO efficiently
A well-run PSK31 QSO follows a predictable structure that both operators recognize:
- CQ call → response → signal report exchange
- Name and QTH exchange
- Rig and antenna exchange (optional, common in ragchews)
- 73 and sign-off
Keep macros ready for each stage. Many operators have 8–12 macros covering every stage of a typical QSO so they rarely need to type during a contact.
Macros and automation
Macros are the key to efficient operating in Fldigi. They let you send pre-written text blocks with a single keypress, with variable substitution filling in callsigns, RST, and other values automatically.
Macro variables
| Variable | What it inserts |
|---|---|
<MYCALL> | Your callsign |
<CALL> | The other station's callsign |
<NAME> | Their name (from log entry) |
<QTH> | Their QTH (from log entry) |
<RST> | RST sent |
<MYNAME> | Your name (from station config) |
<MYQTH> | Your QTH (from station config) |
<MYLOC> | Your grid square |
<TX> | Switch to transmit |
<RX> | Switch to receive |
Example macro set for PSK31
CQ CQ CQ de <MYCALL> <MYCALL> <MYCALL> pse k <RX>
<CALL> de <MYCALL> <MYCALL>
ur rst <RST> <RST> name <MYNAME> <MYNAME>
qth <MYQTH> hw? <CALL> de <MYCALL> kn <RX>
<CALL> de <MYCALL> tks fer qso <NAME>
pse qsl via buro 73 es gl <CALL> de <MYCALL> sk <RX>
Accessing and editing macros
Macros are stored in sets of 12, assignable to function keys F1–F12. Access them via Configure → Macros. You can have multiple macro sets saved and switch between them — useful for having one set for PSK31 ragchews and another for RTTY contesting.
Logging contacts and LoTW upload
Fldigi has a built-in logbook that records all your contacts. Access it via View → Logbook.
Logging a contact
When you click a callsign in the receive window Fldigi pre-fills the log entry fields. After the QSO completes, verify the callsign, RST sent and received, and mode are correct, then click Save. The contact is added to your Fldigi log and optionally exported to ADIF.
ADIF export for LoTW and other loggers
Fldigi saves contacts to an ADIF file at ~/.fldigi/logbook.adif. Upload this to LoTW via TQSL:
tqsl -d -u -l "N0CALL" ~/.fldigi/logbook.adif
Replace N0CALL with your callsign. TQSL signs the log and uploads it to LoTW automatically.
Sending contacts to CQRLog automatically
Enable real-time logging to CQRLog in Fldigi's settings — completed contacts appear in CQRLog as they are logged, with no manual export/import needed. See the Integration section below for setup details.
Running headless on a server
Fldigi can run without a display using Xvfb (virtual framebuffer). This is how the live interface on this site works — Fldigi runs as a background service and its built-in web server exposes the waterfall and controls via a browser.
Install Xvfb
sudo apt install xvfb
Systemd service for headless Fldigi
[Unit]
Description=Fldigi Digital Modem
After=network.target sound.target
[Service]
User=hamradiobase
Environment=DISPLAY=:99
ExecStartPre=/usr/bin/Xvfb :99 -screen 0 1024x768x24
ExecStart=/usr/bin/fldigi --display :99
Restart=on-failure
RestartSec=5
[Install]
WantedBy=multi-user.target
sudo systemctl daemon-reload
sudo systemctl enable fldigi
sudo systemctl start fldigi
sudo systemctl status fldigi
Nginx proxy for web access
Fldigi's built-in web server runs on port 7362. Add this to your nginx config to proxy it at a clean URL:
location /ham-tools/fldigi/ {
proxy_pass http://127.0.0.1:7362/;
proxy_set_header Host ;
proxy_set_header X-Real-IP ;
proxy_http_version 1.1;
proxy_set_header Upgrade ;
proxy_set_header Connection "upgrade";
}
Hardware compatibility
Radios with built-in USB audio (no external interface needed)
| Radio | Linux USB audio | Notes |
|---|---|---|
| Icom IC-7300 | Works plug-and-play | Most popular HF radio for Linux digital modes |
| Icom IC-7610 | Works plug-and-play | Dual receiver, excellent for SO2R |
| Icom IC-9700 | Works plug-and-play | VHF/UHF/satellite, great for digital on 2m/70cm |
| Yaesu FTDX-10 | Works plug-and-play | Modern SDR-based HF rig |
| Yaesu FT-991A | Works plug-and-play | All-band including VHF/UHF |
| Kenwood TS-890S | Works plug-and-play | High-end HF rig with excellent filters |
Popular external USB audio interfaces
| Interface | Linux support | Notes |
|---|---|---|
| Signalink USB | Excellent | Optical isolation, works with most radios |
| Masters Comm DRA-65 | Excellent | Purpose-built for ham digital modes |
| Cheap CM108 dongle | Good | Budget option, no isolation — prone to ground loops |
| Behringer UCA202 | Excellent | Good audio quality, add VOX or PTT circuit separately |
Integration with CQRLog and WSJT-X
CQRLog integration
CQRLog can receive QSO data directly from Fldigi in real time. In CQRLog go to Settings → TRX Control → Fldigi and enable the connection on port 7362. When you save a contact in Fldigi it appears in CQRLog automatically — no manual export needed.
With rig control via Flrig shared between both applications, CQRLog also reads your frequency and mode from the same Flrig instance that Fldigi uses. This gives you a fully integrated station where your logger, digital mode software, and rig all talk to each other.
WSJT-X alongside Fldigi
Fldigi and WSJT-X both need exclusive access to the sound card, so they cannot run simultaneously on the same audio device. Use separate USB audio interfaces — one for Fldigi, one for WSJT-X — if you want both available at once. Alternatively close one before opening the other.
Rig control can be shared via Flrig — both Fldigi and WSJT-X connect to the same Flrig instance. Only one can transmit at a time but both can read frequency and mode simultaneously.
Flarq ARQ file transfer
Flarq extends Fldigi with ARQ (Automatic Repeat reQuest) error-correcting file transfer over HF radio. Install it with sudo apt install flarq. Flarq connects to Fldigi on port 7322 and adds reliable binary file transfer capability on top of the existing audio interface. Useful for sending images, documents, and other files over HF when internet is unavailable.
Troubleshooting common problems
No audio input — waterfall is flat or very dark
- Check that the correct audio device is selected in Configure → Sound Card → Audio → Devices → Capture
- Run
arecord -lin a terminal to list available capture devices and verify yours is present - Open
alsamixerand check that the capture volume is not muted or at zero - Check that your radio's audio output is connected to the correct input on your interface
- Verify the radio's audio output level — some radios need the AF gain turned up for the data output
Waterfall shows activity but nothing decodes
- Make sure you are in the right mode — PSK31 signals on the RTTY decoder produce garbage
- Click directly on the center of the signal, not to the side of it
- Check that AFC (Automatic Frequency Control) is enabled — it helps lock onto drifting signals
- The signal may be too weak to decode reliably — try a stronger signal on the waterfall
- Verify your sample rate is set to 48000 Hz — mismatched sample rates cause distorted decodes
Fldigi won't key the radio (PTT not working)
- Check that your user is in the dialout group:
groupsshould include dialout - Verify the correct serial port is selected in the PTT settings
- Try the RTS line instead of DTR or vice versa — some interfaces use different pins
- If using VOX, check that your radio's VOX sensitivity is set high enough to trigger on the audio level Fldigi generates
- Use
ls -la /dev/ttyUSB*to verify the port exists and check its permissions
Transmitted signal is distorted or causing splatter
- Reduce the transmit audio level — the ALC on your radio should show little or no deflection
- Check for ground loops — a hum in the audio causes intermodulation in the transmitted signal
- Make sure your radio is in the correct mode — digital modes should use USB or USB-D/DATA mode, not FM
- Disable any speech processing or compression on your radio — these are designed for voice and distort digital signals badly
- Check that your radio's microphone equalizer is bypassed when using the data port
Hum or noise on received audio
- Ground loop — use audio isolation transformers on the audio cables between radio and computer
- Switch to a USB audio interface with optical isolation like the Signalink
- Make sure the radio and computer are on the same AC circuit and share a common ground
- Keep audio cables short and away from power cables and antenna feedlines
Rig control not working — can't connect to radio
- Check that the serial port exists:
ls /dev/ttyUSB* - Verify you are in the dialout group:
groups | grep dialout - Check the baud rate matches your radio's CAT baud rate setting exactly
- Try a different Hamlib rig model number — some radios have multiple valid entries
- Close any other application that might be using the same serial port
- Try
rigctl -m [model] -r /dev/ttyUSB0 -s [baud] fto test Hamlib independently
Fldigi crashes on startup
- Delete the Fldigi configuration directory and start fresh:
rm -rf ~/.fldigi - Check for missing audio library dependencies:
ldd $(which fldigi) | grep "not found" - Try running from a terminal to see the error message before the crash
- Check available disk space — Fldigi can crash if it cannot write to its log files
Frequently asked questions
What is the difference between Fldigi and WSJT-X?
Fldigi handles conversational digital modes like PSK31, RTTY, and CW where you type and read text in real time. WSJT-X handles structured weak-signal modes like FT8 where the exchange is automated. Most active stations use both — Fldigi for ragchewing and RTTY contests, WSJT-X for FT8 DX work. They cannot share the same sound card simultaneously so you need either separate audio interfaces or switch between them.
Can Fldigi run on a Raspberry Pi?
Yes — Fldigi runs well on Raspberry Pi 3 and 4. Install it the same way as on Ubuntu with sudo apt install fldigi. The arm64 packages are in the Raspberry Pi OS repositories. Performance is good for all modes at 48000 Hz sample rate. A Raspberry Pi with a USB audio interface and cheap radio makes a complete portable digital mode station.
What is the best mode for beginners?
BPSK31 on 14.070 MHz is the best starting point. It has the largest active community, excellent performance on marginal band conditions, and the narrow 31 Hz bandwidth means many stations fit in the passband simultaneously. Tune to 14.070 MHz USB, select BPSK31 in Fldigi, click the waterfall on any active signal, and you will immediately see text being decoded.
How do I reduce interference to other stations?
The most important thing is keeping your ALC at zero or minimal deflection during transmission. Any ALC action means your audio is overdriving the radio's input and causing intermodulation products that appear as splatter across adjacent frequencies. Also disable all speech processing and compression on your radio when using digital modes — these are designed for voice and severely distort digital signals.
Does Fldigi work with the Icom IC-7300?
Yes — the IC-7300 is one of the most popular radios for Linux digital modes because it has built-in USB audio, eliminating the need for an external interface. Connect via USB, select the IC-7300 USB audio device in Fldigi's sound card settings, and use Hamlib model 3073 at 19200 baud for rig control. The IC-7300 appears as a standard USB serial port for CAT and a USB audio device for audio — both on the same USB cable.
How do I upload my Fldigi contacts to LoTW?
Fldigi saves contacts to ~/.fldigi/logbook.adif. Install TQSL (sudo apt install tqsl), configure your LoTW certificate, then run tqsl -d -u -l "YOURCALL" ~/.fldigi/logbook.adif to sign and upload. Alternatively import the ADIF file into CQRLog which handles LoTW upload automatically.
Can I run Fldigi remotely over the internet?
Yes — Fldigi has a built-in web server on port 7362 that provides browser-based access to the waterfall and controls. Run Fldigi headless using Xvfb and proxy port 7362 via nginx. You can also use the Fldigi remote control protocol to connect a second instance of Fldigi as a client. See the headless setup section above for the nginx configuration.
What is Flrig and do I need it?
Flrig is a companion application that handles rig control as a separate daemon. If you only use Fldigi you don't need Flrig — configure Hamlib directly in Fldigi. Flrig becomes useful when you run multiple applications (Fldigi, CQRLog, WSJT-X) that all need rig control simultaneously — Flrig acts as a broker so only one application talks to the serial port while all others connect to Flrig.