B3 as gateway, throughput issues ...
Posted: 29 Jun 2020, 10:17
All,
I have a B3 running Debian buster that serves as a gateway. The B3 is running a list of iptables rules to accomplish this.
The B3 is right behind my ISPs modem.
When connecting a regular laptop directly to the modem, I'm getting download speeds up to 280Mbps, which is expected (I am using https://www.speedtest.net/).
When connecting the same laptop directly to the LAN port of the B3, and connecting the B3's WAN port to the modem, the download speeds drop to 140/160Mbps. Even the simplest list of rules yield the same results:
iptables -t nat -A POSTROUTING -s 192.168.1.0/24 -j SNAT --to-source 192.168.0.183
iptables -A FORWARD -m state --state ESTABLISHED,RELATED -j ACCEPT
iptables -A FORWARD -p icmp -o eth0 -j ACCEPT
iptables -A FORWARD -p tcp -m multiport --dports 80,443,110,53 -j ACCEPT
iptables -A FORWARD -p udp --dport 53 -j ACCEPT
I have another B3 running squeeze (IIRC) yielding the same results.
Are there any known issues regarding throughput or speed of network interface? Any idea how to speed things up?
I have a B3 running Debian buster that serves as a gateway. The B3 is running a list of iptables rules to accomplish this.
The B3 is right behind my ISPs modem.
When connecting a regular laptop directly to the modem, I'm getting download speeds up to 280Mbps, which is expected (I am using https://www.speedtest.net/).
When connecting the same laptop directly to the LAN port of the B3, and connecting the B3's WAN port to the modem, the download speeds drop to 140/160Mbps. Even the simplest list of rules yield the same results:
iptables -t nat -A POSTROUTING -s 192.168.1.0/24 -j SNAT --to-source 192.168.0.183
iptables -A FORWARD -m state --state ESTABLISHED,RELATED -j ACCEPT
iptables -A FORWARD -p icmp -o eth0 -j ACCEPT
iptables -A FORWARD -p tcp -m multiport --dports 80,443,110,53 -j ACCEPT
iptables -A FORWARD -p udp --dport 53 -j ACCEPT
I have another B3 running squeeze (IIRC) yielding the same results.
Are there any known issues regarding throughput or speed of network interface? Any idea how to speed things up?