
How to Measure PPTP Throughput on OpenWrt
There's no universal OpenWrt PPTP speed, and anyone quoting one is quoting their own router. On your box, PPTP throughput is whatever the CPU can push through PPP framing, Microsoft Point-to-Point Encryption (MPPE), and Generic Routing Encapsulation (GRE). That ceiling usually sits well below your WAN link. Measure it over wired Ethernet with iperf3. Then, wherever you control both ends, replace PPTP with WireGuard, because PPTP is obsolete and its authentication is broken.
Last updated: 2026-10-19
What's OpenWrt PPTP speed on real hardware?
It's the sustained wired rate your router's CPU can encrypt, wrap, and forward. Here is what happens to each packet. The kernel's PPP layer frames it, and MPPE encrypts the payload with the RC4 cipher. The PPTP code then wraps the result in GRE, and connection tracking and NAT record it before the WAN port sends it.
Every one of those stages runs on the CPU. The protocol itself is defined in RFC 2637, but the part that limits speed is the data path. So when one stage runs out of time, throughput flattens and latency climbs. Nothing on the WAN side fixes that.
Identical chips don't even agree on VPN throughput. The OpenWrt forum's WireGuard comparison table lists the Mikrotik hAP ac, a Qualcomm Atheros QCA9558 (MIPS, 720MHz), at 35.1 Mbps on OpenWrt 24.10.0. The same table lists the TP-Link Archer C7 v2, built on the same QCA9558, at 31 Mbps on OpenWrt 23.05.5.
Those are WireGuard results, not PPTP, so don't read them as a PPTP figure for that chip. The useful lesson is the gap: same silicon, different board and build, different number. That's why the only figure worth trusting is the one you measure yourself.
Measure the tunnel with iperf3 before you tune
Run iperf3 between two wired hosts on opposite sides of the tunnel. Keep the iperf3 server off the router itself. Otherwise the router is both endpoint and gateway, and you're measuring something else. My iperf3 method for Linux speed tests covers the host side. Here's the PPTP-specific order:
- Record a plain baseline. With the tunnel down, run both directions:
iperf3 -c <server-ip>
iperf3 -c <server-ip> -R
The -R flag makes the server send. Together, these show what the link and router do with no tunnel.
2. Bring up PPTP and prove the route. Run ip route get <server-ip>. It gets a single route to that destination and prints it exactly as the kernel sees it. The dev field must name the PPTP interface, usually pptp-<name>. If it names your WAN device, you're about to benchmark the wrong path.
3. Repeat both tests through the tunnel. Use the same hosts, cables, and commands. Use -t to run long enough for the rate to settle, and keep the sustained figure.
4. Watch the router in a second SSH session. The CPU section below covers what to read.
5. Add a UDP run for loss. iperf3 -c <server-ip> -u -b <rate> -l <size> reports loss and jitter that TCP hides behind retransmissions. Keep the rate and size fixed between runs.
6. Write everything down. Note the router model, OpenWrt build, PPTP options, offload state, packet steering state, and exact commands.
Which runs belong in your notes?
| Run | What it tells you |
|---|---|
| Plain wired, both directions | Link and router baseline |
PPTP with -R | Receive-side tunnel ceiling |
PPTP without -R | Transmit-side tunnel ceiling |
| PPTP while watching CPU | Whether processing is the cap |
| UDP at a fixed rate | Loss and jitter under load |
Browser speed tests don't belong here. They add a public server, TLS, DNS, and a route you can't control.
Read the logs before you change a setting
Run this first: logread -e pppd. That filters the system log down to pppd, which narrates every negotiation step. Then keep logread -f open in another session and bounce the tunnel, so you watch the sequence live. Check dmesg | tail for the kernel side.
These are the lines that matter:
LCP: timeout sending Config-Requests. The control session worked, but GRE isn't getting through. That's a firewall or NAT problem, and no tuning will help.MPPE required, but MS-CHAP[v2] auth not performed. The two ends disagree on authentication or encryption. Fix the options on both sides.- Repeating
Modem hanguporConnection terminated. The tunnel is reconnecting in a loop. Every drop shows up as a dip in your iperf3 results. nf_conntrack: table full, dropping packetin the kernel ring buffer. Connection tracking is full, so the router discards packets before PPTP sees them.
If the log is clean and the tunnel stays up, your problem is speed. Speed is a CPU question.
Find the core that's actually pinned

Total CPU use lies on multi-core routers. One core can sit pinned in soft interrupt work while the overall figure looks comfortable. Most OpenWrt performance tuning advice is a list of switches to flip. The order matters more: measure, find the busy core, change one thing, then measure again.
Run these on the router while iperf3 is running:
ubus call system board
top -d 1
cat /proc/interrupts
cat /proc/softirqs
cat /proc/net/softnet_stat
ip -s link show pptp-vpn
What does each output tell you?
ubus call system boardprints the board model, kernel, and OpenWrt release. Paste it into your notes, because it defines what your number means.topshows the busy processes and asirqfield in the header. When idle collapses and sirq climbs, kernel packet processing is the ceiling. Busybox top merges all cores into one line, so installhtopto see each core./proc/interruptsrecords the number of interrupts per CPU per IO device. Read it twice, a few seconds apart. If only one column climbs for your network device, one core is taking every packet interrupt./proc/softirqsshows the same split forNET_RXandNET_TXwork./proc/net/softnet_statkeeps per-CPU packet counters, including drops and times a core ran out of budget mid-batch. Read it before and after a run. Counters that jump on one core point at the core in trouble.ip -s linkon the tunnel interface shows errors and drops on PPTP itself.
Don't expect pppd to look busy. On OpenWrt, the PPTP client uses the kernel's PPTP module, so MPPE cost shows up as system and soft interrupt time. Stop unrelated jobs, like ad blockers and stats collectors, before you compare runs.
Should packet steering be on or off?
Leave it off until you have a baseline. Then test both ways and keep whichever wins on sustained throughput without extra loss. Packet steering spreads receive processing across cores using the kernel's Receive Packet Steering. It helps when one core takes every network interrupt while the others idle.
Keep your expectations straight, though. Packet steering changes where the work runs, not how much work there is. MPPE costs the same cycles on any core. The QCA9558 in the boards above is a single-core MIPS chip, so steering does nothing there, because there's nowhere to steer to.
Packet steering modes and steering flows
Recent OpenWrt releases put the setting in LuCI under Network, Interfaces, Global network options. You can choose Disabled, Enabled, or Enabled (all CPUs). The plain mode is pickier about which cores get the work. Meanwhile, the all-CPUs mode lets steered packets land on every core, including ones already handling interrupts.
Try plain mode first. Move to all CPUs only if a core still sits idle during the test.
The Steering flows field turns on Receive Flow Steering. That keeps a flow's packets on the core where the program reading them runs. As a result, it matters for traffic that ends on the router, while forwarded LAN traffic gains little. Leave it at the default unless a measurement says otherwise.
From the shell:
uci show network.globals
uci set network.globals.packet_steering='1'
uci commit network
/etc/init.d/network restart
cat /sys/class/net/eth0/queues/rx-0/rps_cpus
The rps_cpus file holds a hex CPU mask for that receive queue. If no CPUs are set in it, steering is off for that queue. Swap eth0 for your real device name.
irqbalance on OpenWrt
irqbalance moves hardware interrupts between cores. It helps only when /proc/interrupts shows network interrupts stuck on one core and others have room. First, find out which package manager your build uses, because older releases ship opkg and newer ones are moving to apk.
command -v apk || command -v opkg
apk update && apk add irqbalance # apk builds
opkg update && opkg install irqbalance # opkg builds
/etc/init.d/irqbalance enable
/etc/init.d/irqbalance start
Some platforms won't let interrupts move at all. Check /proc/irq/<n>/smp_affinity before you count on it. Since packet steering and irqbalance both shuffle work between cores, test them one at a time. Installing it because a tuning list mentioned it is cargo cult with a daemon attached.
Set the PPTP MTU and MSS from evidence
Touch the MTU only when the symptoms point there. The classic sign is a tunnel that passes ping and small pages while large transfers stall. Similarly, SSH may log in and then hang on the first big burst of output. That's a path MTU black hole: big packets get dropped, and the message that should shrink them never arrives.
Prove it from a Linux client on the LAN, because busybox ping on OpenWrt lacks the don't-fragment option:
ping -M do -s <payload-size> <host-behind-tunnel>
tracepath <host-behind-tunnel>
Step the size down until pings pass. Add the IP and ICMP headers to the largest passing size, and that's your working path MTU. tracepath reports it per hop without root, as my tracepath MTU guide explains.
Then fix it in two places:
uci set network.vpn.mtu='<measured-mtu>'
uci set firewall.@zone[1].mtu_fix='1'
uci commit
/etc/init.d/network restart
/etc/init.d/firewall restart
mtu_fix clamps the TCP maximum segment size (MSS) for traffic leaving that zone. Put it on whichever zone holds the PPTP interface. On a stock config, @zone[1] is wan, but check yours with uci show firewall. Don't shrink the MTU past what you measured. Smaller packets mean more per-packet overhead, and a CPU-bound router feels every one.
Check that TCP 1723 and GRE both pass
PPTP needs two separate things through every firewall in the path. The control connection uses TCP port 1723. The data rides Generic Routing Encapsulation, which is its own IP protocol and has no ports at all. Firewalls that think only in ports let the first through and quietly eat the second.
That split gives you a clean test. A tunnel that authenticates and then moves zero data, with LCP timeouts in the log, has a GRE problem. A tunnel that moves data slowly while a core is pinned has a CPU problem. Fix the first before you tune for the second.
If OpenWrt runs the PPTP server, open both in /etc/config/firewall:
config rule
option name 'Allow-PPTP-control'
option src 'wan'
option proto 'tcp'
option dest_port '1723'
option target 'ACCEPT'
config rule
option name 'Allow-GRE'
option src 'wan'
option proto 'gre'
option target 'ACCEPT'
If a LAN client dials an outside PPTP server through OpenWrt's NAT, the router needs the PPTP connection-tracking helper. Install kmod-nf-nathelper-extra, then confirm it loaded:
lsmod | grep pptp
nft list ruleset | grep -i pptp
No nf_conntrack_pptp module means returning GRE has nothing to match it to the right client.
Rule out Wi-Fi before you blame the tunnel
Every test so far was wired for a reason. Once you know the wired tunnel number, repeat the same iperf3 run from a wireless client. If wired PPTP is fine and Wi-Fi is slow, the radio is your limit. No PPTP setting will move it.
Check the radio with these. Interface names differ between builds, so list them first:
iw dev
iwinfo
iw dev <iface> station dump
iw dev lists the wireless interfaces and their names on your build. iwinfo shows channel, signal, noise, and bit rate per interface. The station dump output shows each connected client's signal and the transmit and receive bitrates it actually negotiated.
A weak signal or low negotiated bitrate on the test client explains a slow result better than any tunnel option. Move the client closer, rerun iperf3, and compare against your wired tunnel figure. If the gap closes, you were tuning the wrong layer.
FAQ
Does flow offloading help PPTP throughput?
Don't count on it. Software and hardware flow offloading shortcut plain routed and NAT flows, but PPTP traffic still has to be framed and run through MPPE by the CPU. Toggle it, rerun the same iperf3 pair, and keep whichever setting your numbers favour. Note the offload state either way, since it changes what other traffic costs during the test.
Is PPTP safe for anything anymore?
Treat it as an unencrypted link with extra steps. MS-CHAPv2, the authentication PPTP relies on, can be cracked offline from a captured handshake. Keep it only for a legacy endpoint you can't replace, and never send anything over it you wouldn't send in the clear.
Can I run WireGuard alongside PPTP while I migrate?
Yes. Give each tunnel its own interface and firewall zone, then move clients across one at a time. Run your iperf3 routine against the WireGuard interface too, so you're comparing both tunnels on the same hosts and cables. Once the last client has moved, delete the PPTP interface, its firewall rules, and the conntrack helper.
Why are my upload and download numbers different?
The two directions don't do identical work. One side encrypts and the other decrypts, and network interrupts for each direction can land on different cores. That's why the run list includes both -R and plain runs. A big gap between them usually means one direction is hitting a busy core first, so check /proc/softirqs during the slower run.
