Questions tagged [openwrt]

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

Filter by
Sorted by
Tagged with
-1
votes
0answers
11 views

Diskspace on OpenWRT router

I bought this router which should have 128 MB of disk space. Yet after installation of relevant release of OpenWRT I can only see 18MB: % df -h Filesystem Size Used Available Use%...
0
votes
2answers
16 views

StrongSwan: manually expire security association

I am working on automating some software tests involving IPSec and StrongSwan. These tests basically apply a swanctl.conf file to two gateway machines, then establish a tunnel between them. It then ...
-2
votes
0answers
29 views

How to set DF flags on all udp outgoing packets in openwrt? [closed]

I need help to set DF flags on all udp traffic I was able to do that on ubuntu with repository on github (don't fragment iptables) but i can't compile it on openwrt is there another way to set DF ...
0
votes
0answers
9 views

Laptop A is sometimes blocked from pinging laptop B. Pinging in reverse unblocks it

I have had this problem dozens of times, ususally spaced out by days or even weeks. Router R can ping laptop A, laptop B, and the internet (0% packet loss in each case). Laptop A can ping router R ...
0
votes
0answers
31 views

tc on openwrt: RTNETLINK answers: No such file or directory

I've just installed OpenWRT release 19.07.2 on this thing: https://openwrt.org/toh/netgear/netgear_r6220 It is meant as a temporary router+firewall for a small network, not as a typical wifi router ...
0
votes
0answers
12 views

How to automate nc ot ncat task

i need to create a script that connects via udp or tcp (both options are possible) to a server , then send the string "TEMP" , do something with response and then exits. This script should run on ...
0
votes
0answers
69 views

Port forwarding inside LAN on OpenWRT

I have the NAS with Nextcloud in my local network (192.168.1.20). Nextcloud is using port 444 for https. In order to access nextcloud from the internet I got domain (domain.name), add my external IP ...
0
votes
0answers
99 views

Use WireGuard for combining bandwidth (multiwan)

Is it possible to combine multiple uplinks for getting faster VPN access to a server with WireGuard? I already played around with MultiWAN (mwan3, OpenWRT) in the past but for VPN access, its only ...
0
votes
0answers
37 views

No pinging possible in local subnet

Ahoy friends. Currently i got an OpenWRT device, acting as LAN-WIFI Bridge, connected to another WiFi network, to provide internet connection for my LAN devices. So everything alright. But i want to ...
0
votes
0answers
132 views

How can I setup dnsmasq wildcard cnames for domains generated from dhcp leases?

I have an OpenWRT router with automatic dhcp domains enabled. This way, for host example-host, I automatically get an A record for example-host.lan to 192.168.1.2. I am trying to setup a wildcard ...
0
votes
1answer
165 views

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 ...
1
vote
1answer
56 views

How to clone egress UDP packets & send them to the same destination in order

This is what I want,LAN---- (UDP packets flow)----->Router [Mirror UDP packets & send these packets to the same destination port/IP in order]--------> Internet. Any idea? Side note: I want to try ...
0
votes
0answers
10 views

Using crontab to set wifi schdule on OpenWRT [duplicate]

I'm new in here so my apoligize if i'm posting redundant questions but I wasn't able to find out in the blog so far. I'm having some issues using cron to set a schedule on my opewrt router. Here is ...
0
votes
0answers
28 views

Unable to reach connected clients on VPN

I have a problem that has dumbfounded me like everything else in the networking world. I have my home network that is routed through a dd-wrt based router. The router is also my VPN server so that I ...
0
votes
0answers
136 views

librt.so not found: usr/bin/ld: cannot find -lrt

I tried to compile a project that uses librt library. However, I get an error in the make phase indicating /usr/bin/ld: cannot find -lrt. /usr/bin/ld: cannot find -lrt collect2: error: ld returned 1 ...
0
votes
0answers
55 views

How to limit packets per second without dropping it?

Is there a way to limit packets per second without dropping it i want pps above 40 to be delayed to next second i can limit with iptables with these commands but it will be dropped iptables -A ...
0
votes
1answer
628 views

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 ...
0
votes
0answers
61 views

Accesing device in another subnet through router OpenWRT

I'm trying to setup communication between device1 and PC. The network diagram: https://i.stack.imgur.com/OdbTJ.jpg What I need is an acces to Device1 from PC in network configured as shown above (...
0
votes
1answer
35 views

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, ...
1
vote
1answer
37 views

gitolite on openwrt - ssh not using gitolite

I've set up a gitolite installation on OpenWrt-18.06.04 according to this guide: https://openwrt.org/docs/guide-user/services/gitolite Step 9 of the "actual install" suggests removing the RSA-key ...
2
votes
1answer
102 views

Strange routing behavior, Synology combined with OpenVPN

Essentially the setup I've got is WAN <-> OpenVPN running on OpenWRT running on WRT3200ACM <-> LAN -> Gigabit Switch -> RPI and synology The openVPN tun is working fine and dandy. I get an IP ...
0
votes
0answers
501 views

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

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 ...
0
votes
0answers
41 views

ipv6 tunnel connection issues with OpenWRT and macOS

I have IPv6 tunnel from Tunnelbroker and dynamic IP from ISP. Tunnel was (and is) working fine for years, at least since 2015. I run OpenWRT stable 18.06.4 on x86 h/w or TP-Link Archer C7 and macOS ...
1
vote
1answer
343 views

separating three vlans on openwrt

I wanted to make a network with 3 separated VLANs 10.140.1.0/24 10.140.2.0/24 10.140.3.0/24 So I hooked up two routers TL-WR740n with Openwrt installed, and started experiments. First router(10....
1
vote
0answers
405 views

tinyproxy - abyssmal performance

I installed tinyproxy on a GL-AR750s router (running dd-wrt). Performance is abyssmal. When I load MSN non-proxied, non-cached on my laptop, it takes about 3 seconds. When I load MSN on the same ...
0
votes
1answer
41 views

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 ...
1
vote
0answers
172 views

How can I add wildcard subdomains to dhcp clients in dnsmasq? [closed]

I have a TP-Link router on which I installed Open-WRT. It has dnsmasq on it, and it is configured to give each dhcp client a dns entry containing it's hostname and the ip address that was assigned to ...
0
votes
0answers
252 views

Permanent ARP entry failed

This has happened twice now and I'd really like to know why and how to prevent it. In our OpenWRT router, I add a permanent ARP entry on startup like so: ip neigh add 192.168.0.254 lladdr ff:ff:ff:ff:...
1
vote
1answer
370 views

Show delegated ipv6 prefix at command line in OpenWRT

In OpenWRT’s gui “LuCI“ the delegated IPv6 Prefix provided by the ISP is diplayed in the status page in overview. Normally it will be shown under “IPv6 WAN Status“ in the “Network“ section like IPv6 ...
0
votes
1answer
2k views

How to give a server a static IP address with OpenWRT/LuCI?

I have an OpenWRT router and a small home network on 192.168.0.0/24. I have a server which has the static IP 192.168.0.10. How can I set up an A record in OpenWRT/LuCI for it, to give it a DNS name? ...
29
votes
2answers
5k views

Why is the maximum length of OpenWrt’s root password 8 characters?

When I try to set root's password: root@OpenWrt:~# passwd Changing password for root Enter the new password (minimum of 5, maximum of 8 characters) Please use a combination of upper and lower case ...
0
votes
0answers
468 views

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),...
0
votes
0answers
349 views

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 ...
-2
votes
2answers
186 views

How to find a static IP and MAC address(or a device that reject any request like ping) on a network

I have a windows 10 PC and if I enable network discovery or set a static IP to the PC I'm not able to find it's IP address or MAC address from my OpenWRT router using arp table or dhcp.lease. Like I ...
0
votes
1answer
454 views

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?
1
vote
1answer
39 views

Windows 98 routing issue [closed]

I have following network setup: Main router connecting to internet, with LAN address 192.168.1.254 Secondary router connected to first router, with LAN address 192.168.2.1 I have two PC's connected ...
0
votes
1answer
179 views

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] =...
0
votes
1answer
60 views

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 ...
0
votes
0answers
1k views

Strongswan site-to-site on OpenWRT 17.01.4 Traffic Dropped

I'm trying to set up a site-to-site tunnel, following the same tutorial as this guy: LEDE 17.01.1, StrongSwan 5.6.0 swanctl NAT. The scenario is: Two routers, both with lede/openwrt 17.01.4 having ...
1
vote
0answers
322 views

Redirect clients based on MAC address - OpenWRT/LEDE

on OpenWRT (LEDE) router I have the following redirection: config redirect option proto 'tcp' option target 'DNAT' option dest 'lan' option _name 'Proxy for HTTP' option src 'lan' ...
1
vote
1answer
1k views

OpenVPN client on OpenWRT not routing traffic through VPN on Linksys WRT3200ACM

I am unable to get the traffic routed through the VPN tunnel, when using OpenVPN on OpenWRT firmware. The router is a WRT3200ACM, connecting to OpenVPN server on Ubuntu. OpenVPN client is connecting ...
-2
votes
1answer
183 views

openvpn optimizations for Low bandwidth (250mb a month)

I am using openwrt lede with a lte stick 250-300mb a month depending on the unit so preferably hitting 250 or lower would be better for the entire system these are the clients the server doesn't have ...
0
votes
1answer
620 views

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

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 ...
1
vote
0answers
880 views

Why does Firefox show SSL_ERROR_BAD_CERT_DOMAIN with a self-signed wildcard certificate, but other browsers do not?

I assigned a self signed wildcard certificate to an OpenWRT (LEDE) router LUCI (uHTTPd) system. The CA which signed this certificate got added to all browsers as trusted certificate authoritiy. It ...
0
votes
1answer
3k views

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

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 ...
0
votes
2answers
9k views

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 ...
0
votes
2answers
4k views

Assigning a hostname of the fqdn assigned to a dhcp client with dnsmasq?

I'm aware that you can assign static DNS entry names by doing the following in dnsmasq.conf: address=/wiki.leerdomain.lan/192.168.1.200 ptr-record=wiki.leerdomain.lan/192.168.1.200 and then ...