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
0
votes
1 answer

OpenVPN - does cipher actually change?

I have openvpn running on a router (openwrt) and I am trying to maximize the throughput. I tried to lower the bits used for certs, but it didn't seem to impact the speed. Guess that short certs equals shorter logon times (which is unimportant as the…
lallepot
  • 3
  • 1
  • 4
0
votes
1 answer

DD-WRT iptables rules not getting applied

I am fairly new to networking, so bear with me if this turns out be a trivial question. I have a DD-WRT router R1 (ip : 192.168.0.200) connected to another router R2 (ip : 192.168.0.1). R2 is connected to the ISP. I want to block access to the…
0
votes
2 answers

How can I define static routes between two subnets in OpenWRT / LEDE?

Migrated question here according to this. This is for hotel wireless coverage. What I need is explained here for DD-WRT, but I am using OpenWRT and LEDE. I need to make routes (gateways) to between subnetworks, but I am stuck at this step. The…
Jonathan Komar
  • 139
  • 2
  • 2
  • 9
0
votes
1 answer

tcpdump not intercepting DHCP ACK

I have a router running lede with tcpdump installed tcpdump --version # tcpdump version 4.9.0 # libpcap version 1.8.1 When I run it like so: tcpdump -vnes0 -i eth0 port 67 or port 68 I can see 00:00:24.122791 00:00:00:00:69:6f >…
Nicu Tofan
  • 101
  • 4
0
votes
0 answers

OpenWRT always shows only one network interface (`lo`), although there are many in a config

I’m running OpenWRT in VMWare Workstation 12 Player on Windows 10 64bit. When I run ifconfig in my OpenWRT, I always get only one network interface, lo. Never more: Although there are several interfaces in /etc/config/network specified: Also, I…
Green
  • 177
  • 1
  • 2
  • 7
0
votes
1 answer

Catch TCP packets with router

Is there a way to script an OpenWRT router to catch TCP packets addressed to a server on the network? I'd like to send a WOL packet to that server and wait for waking up from hibernation before sending the actual message. Note: I am a beginner with…
inf3rno
  • 408
  • 2
  • 5
  • 17
0
votes
1 answer

Local Linux server not accessible externally during an outgoing OpenVPN connection

I have a Debian Linux server which I use for file storage. It is in a local network with port forwarding configured in the router (openwrt). I sometimes connect the server to an OpenVPN server for different reasons, downloading files only accessible…
yzfr1
  • 421
  • 1
  • 3
  • 9
0
votes
1 answer

iptables and controlling traffic between hosts on subnet

recently I installed OpenWrt on a TP-LINK router. Now I would like to control the traffic between certain hosts on the same subnet. As iptables is available on OpenWrt based routers, I thought this should be a trivial task. I am using OpenWrt Chaos…
DucatiNerd
  • 183
  • 1
  • 1
  • 4
0
votes
1 answer

DNS doesn't work over WLAN on Android devices when there's over 3 APs

My problem is that if I add over 3 access points to my WLAN network DNS stops working on Android devices. All other operating systems are working (Windows 7, Windows 10, iPhones). I've looked on properties of Android device and it gets IP and DNS…
Eastman
  • 60
  • 9
0
votes
2 answers

OpenVPN routing between different subnets

I have an issue with a complicated setup and I cannot wrap my head around it. Please take a look at the drawing, it shows all involved components. Basically I am trying to NAT over two routers and one direction works, one doesn't. Router 1 is an…
MMF
  • 11
  • 1
  • 3
0
votes
2 answers

Adding --address=... option to dnsmasq using UCI in OpenWRT

I need to add a wildcard address record to dnsmasq running on OpenWRT. If I were to call dnsmasq from the command line, it would look like this: dnsmasq --address=/#/123.123.123.123 ... I would like to use UCI to configure dnsmasq, but I am having…
Markus A.
  • 419
  • 7
  • 18
0
votes
0 answers

Restrict DNS usage to some clients

I firstly asked the question here: https://networkengineering.stackexchange.com/questions/33948/restrict-dns-usage-to-some-clients I would like to create a unbound DNS server. I don't have the IP addresses of the users. What are some other easy…
4m1nh4j1
  • 167
  • 1
  • 2
  • 8
0
votes
1 answer

Iptables source mac match not always matching?

I have added some rules to my PREROUTING chain in NAT. Usually at the beginning of a new machine joining the network, these matches don't always match correctly? Im using iptables v1.4.21 on OpenWRT Barrier Breaker This is on a linux bridge where…
Adam Mills
  • 25
  • 8
0
votes
1 answer

Except some IPs from rule to not allow internet through openwrt + openvpn when vpn is disconnected

I have the following working setup on my network: A. ISP-Router (connected to inet, internal ip 192.168.0.1 ) <----> B. eth0 - OpenWrt Router (OpenVPN client running) br-lan (bridge eth1 + wlan0, ip 192.168.1.0) <----> C. Multiple Clients The idea…
mc51
  • 121
  • 1
  • 1
  • 8
0
votes
0 answers

Openwrt Dansguardian - Performance and speed suggestions

I have a setup at home as follow: DHCP clients -----> (wifi)(nat) Openwrt -----> (eth)Main Router DHCP clients get ip from 192.168.42.0/24 subnet. The device I'm using is TPlink MR3020 with Barrier Breaker. I'm using an older version because after…
0xmtn
  • 360
  • 3
  • 15