Questions tagged [openwrt]

OpenWrt is a Linux distribution primarily targeted at routing on embedded devices.

OpenWrt provides a fully writable filesystem with package management.

Some of the features:

  • Routing
  • QoS
  • Firewall
  • Traffic shaping
  • Load balancing
  • Network monitoring

Official site

227 questions
1
vote
1 answer

How can I MASQUERADE between vlan bridges

I have created two VLAN bridges in openwrt based system which has single physical interface. *) eth0->lan->br-lan *) br-lan->br-lan.2(VLAN INTF)->br-vlan2(BRIDGE INTF) *) br-lan->br-lan.20(VLAN INTF)->br-vlan20(BRIDGE INTF) I am running an DHCP…
Sheik
  • 11
  • 3
1
vote
1 answer

How to get internet/networking on QEMU for OpenWrt under Windows?

I would like to run a Internet-capable OpenWrt-Box on a Windows10 Machine using QEMU. I have tried this command: "c:\Program Files\qemu\qemu-system-aarch64.exe" -m 1024 -smp 2 -cpu cortex-a57 -M virt -nographic -kernel "c:\Program…
scjorge
  • 111
  • 3
0
votes
1 answer

How to set up Kubernetes (k8s) environment on an open-wrt based node connected in a cluster?

Openwrt OS support ".opk" file format extensions for the packages to be installed on the top of it. For that k8s, kubelet binaries are availbale but the procedure is to generate an installable package in .opk format out of it. Is there any way to…
0
votes
1 answer

TP-LINK TL-MR6400 IPSEC L2TP VPN tunnel with GCP server

I have a TP-LINK TL-MR6400 router, connected to internet by means of an LTE sim. This is a very rough network diagram of my current situation.1 My IoT services sit behind the TL-MR6400. Unfortunately my mobile provider is NATting my external dynamic…
0
votes
1 answer

Check forwarding queue occupation on router

I have a router forwarding traffic from a network to another and I need to know when the packet queue (in the receiving side/interface - rx) occupation is close to its maximum capacity. However, after analysing the following files (linux…
imll
  • 123
  • 3
0
votes
1 answer

OpenWRT + OpenVPN - connection to the VPN succeeds but can't ping LAN, can't ping outside

I'm setting up a VPN connection using OpenVPN client on OpenWrt. The client connects to the server, but I can't ping any network hosts using the tun0 interface Ping Examples: ping -I tun0 192.168.1.252 PING 192.168.1.252 (192.168.1.252): 56 data…
Date Day
  • 1
  • 1
0
votes
1 answer

Dynamic SQM Settings

I've just set up my new router (WRT1900ACS) and installed OpenWRT. I have ADSL which makes it pretty hard to adjust the sqm up/download speed correctly as it differs depending on what day it is. Is there a way of adjusting those settings…
schgab
  • 105
  • 3
0
votes
1 answer

Discovery and communication between routers

I am working in an environment consisting of 4 OpenWrt routers, each serving multiple clients via Wi-Fi and containing. Each one of them provides the clients with Internet access. I have 3 questions regarding this scenario and I would appreciate if…
imll
  • 123
  • 3
0
votes
0 answers

How to push a local DNS resolving entry to client when an OpenVPN connection established?

I am using OpenVPN-2.4.6 clients and an OpenVPN-2.4.5 server that resides an OpenWRT(18.06.01) router. The OVPN client connects to the server by a public DNS name of the server(i.e pubName.my.router), instead of an ip since the ip of the server is…
Leon
  • 169
  • 9
0
votes
0 answers

Push DNS server instead of Router's IP on OpenWRT

I have a router with OpenWRT installed. In the section Network → Interfaces → WAN → Edit → Advanced Settings I have set up my custom DNS servers (Cloudflare and Google). Now my routers continues to push his IP (192.168.0.1) to DHCP clients instead…
0
votes
1 answer

How to get the number of devices connected to openwrt in realtime?

I tryed cat /tmp/dhcp.leases | wc -l but have a time delay. Is there any way to get the number of devices in real time, including wired and wireless devices?
Alan42
  • 571
  • 4
  • 14
0
votes
1 answer

tcpdump get requesting IP

We are tracking http usage(mainly for our intranet) and I've been able to track it using the the following on our OPENWRT router: tcpdump -i wlan1 -s 0 -A 'tcp[((tcp[12:1] & 0xf0) >> 2):4] = 0x47455420' | grep 'GET\|Host' >> /mnt/jlt/wlan1 This…
Jeff
  • 685
  • 7
  • 17
0
votes
1 answer

Bridged wireless interface traffic stats: reversed RX/TX

I just noticed something strange while doing some tests on my OpenWRT router: I have a wifi interface bridged to the LAN, I'm testing download and upload traffic monitoring. I assumed RX stands for received, so download, while TX stands for…
0
votes
1 answer

dnsmasq list-servers "precedence"

I have a device, in a LAN, behind a router, that runs a linux and need to provide it with an internal DNS server, to resolve names for its own internal applications (it's OpenWRT-based). The reason to do this is that for some queries, the…
Pipetus
  • 111
  • 5
0
votes
1 answer

tc qdisc with GRE in openwrt

I'm trying to implement traffic control to GRE interface in an openwrt board. For this i followed below steps, Create GRE interface named gre1 in both tunnel end devices. Tested reachability with ping, Success. create qdisc using following…