Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [openwrt]

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

0
votes
0answers
13 views

Coova chilli on openwrt

I installed openwrt on my router and start to use coovachilli on it to make hotspot system , my problem when I install coova-chilli on my router and made the configuration , coovachilli can not be ...
1
vote
0answers
18 views

Show delegated ipv6 prefix at command line

I have openwrt/lede running on my routers. With the gui called ”luci“ installed in the overview the delegated ipv6 prefix is displayed. How can I figure out the delegated prefix at the command line?
0
votes
0answers
36 views

OpenVPN + OpenWrt: server doesn't see devices in the client's network

I have an OpenVPN server. I'd like to get the access from there to the resources available on the client's network. The client network is managed by an OpenWrt-based router; it serves as an OpenVPN ...
0
votes
0answers
62 views

OpenVPN/OpenWRT/TP-Link TLWR1043ND: How to configure OpenVPN on this router to get access to connected devices only over the WAN interface?

I have the following problem: There are two networks, network X and network Y. In network X is an OpenVPN server. A TP-Link router (see the model in the topic) should be connected to network Y only ...
0
votes
1answer
76 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?
0
votes
0answers
53 views

dnsmasq allow a specific domain to resolve IP

DNSMasq is being used to resolved all domains to resolve to local domains, which is working perfectly fine with below line of code address=/#/192.168.10.10 So type - o.com/abcd.com/googl.com and it ...
1
vote
1answer
29 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
36 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
23 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
197 views

openwrt router not forwarding internet traffic

This is my setup: ISP-router (internet) <--> openWRT router [wlan0: 192.168.2.1] <--> [wlan0: 192.168.2.107] and openWRT router <--> PC [wlan1: 192.168.5.12] <--> ...
0
votes
0answers
502 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
195 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' ...
0
votes
1answer
510 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
59 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
0answers
247 views

Iptables geoip filter not working on Openwrt

hopefully i can get some help here.So i’ve setup the iptables geoip setup based on this: https://tokyobreeze.wordpress.com/2015/01/30/block-incoming-connection-from-all-ip-of-a-country-in-router/ The ...
0
votes
0answers
116 views

Docker TLS fails after upgrading my OpenWRT

I recently upgraded our router to OpenWRT 17.01. The migration did not went well because the previous maintainer installed the bind package and defined a custom DNS configuration using bind. This ...
0
votes
1answer
176 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
0answers
60 views

can't change dirctory while using procd in openwrt

enter code here #!/bin/sh /etc/rc.common START=90 USE_PROCD=1 start_service() { cd /dir/ procd_open_instance procd_set_param command usr/bin/Myservice procd_set_param respawn ${threshold:-20} ${...
0
votes
1answer
166 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 ...
0
votes
0answers
398 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
0answers
31 views

Redirect packets to a specific IP outside a TAP vpn

I have 2 routers running OpenWrt and I've created an OpenVpn TAP vpn between the 2 routers. Router A is the OpenVpn server and has the following interfaces: br-lan Link encap:Ethernet HWaddr 14:...
0
votes
1answer
792 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
0answers
205 views

Openwrt: Port redirecting to ipsec (strongswan) road warrior

I have the following rule in /etc/config/firewall: config redirect option 'name' 'hack-allow-df-port' option 'target' 'DNAT' option 'src' 'wan' option 'src_dport' '...
0
votes
0answers
250 views

openwrt guest network should be able to but cannot access wan port 80/443

I followed the openWrt cli guide for setting up a guest network (have a big bday party this weekend and I expect multiple simultaneous requests for internet access). I can connect to the guest network ...
0
votes
1answer
234 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
0answers
326 views

IPv6 with OpenWRT as LXC container

I am using LXC and I want that all network traffic (of the other LXC containers) go through one LXC container. For that purpose, I created a LXC container named firewall with the bridges br0 (LAN) and ...
0
votes
2answers
3k 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
761 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 ...
1
vote
0answers
470 views

LEDE 17.01.1, StrongSwan 5.6.0 swanctl NAT

I have a running strongswan tunnel between 2 gateways like this example. moon can ping sun and vice versa. But alice can not ping bob. /etc/firewall.user /usr/sbin/iptables -I INPUT -m policy --...
0
votes
1answer
196 views

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

openvpn - forward network traffic from specific subnet to specific tun interface

I am using a device running on openwrt (chaos_calmer 15.05) I am trying to forward network traffic from two differents SSID to two different vps running openvpn My setup is working with only one ...
0
votes
1answer
1k views

Allow traffic to/from specific IP with iptables in openwrt

I have a tp-link router with openwrt. I have 2 iptables rules to block P2P connections. The blockings working fine, but now i need a rule to allow traffic to/from an specific IP. my blocking rules: ...
1
vote
0answers
603 views

OpenWrt as LAN DNS server only (no DHCP, router, …)

I would like to add to an existing LAN a small device running OpenWrt, to act as a Local Area Network DNS using dnsmasq. I have in my LAN some local servers which would be very handy to use if the ...
1
vote
0answers
529 views

dd-wrt, restart ath0 without rebooting

I have Firmware: DD-WRT v3.0-r33006 std (08/03/17) running on Linksys WRT1900AC V2 Dual Band Smart Wi-Fi Wireless AC Router (2.4 + 5GHz) - (Certified Refurbished) I have ath0 (5ghz) operating as a ...
1
vote
0answers
72 views

National characters in Open Tomato router and QNAP NAS shell

I added my Country locale (pl_PL) to shell in Open Tomato based router Asus and QNAP NAS. Originally only en_US and en_EN locale where available. Now it is possible to use it for example in vim-full ...
1
vote
1answer
990 views

OpenWRT StrongSwan IPsec client connection (XAuth authentication of 'user' (myself) failed)

I am trying to configure my OpenWRT router to connect to a remote VPN server. The credentials that I have are correct, but for some reason the connection is failing to authenticate on the router. Here ...
0
votes
1answer
444 views

tcpdump cannot capture none-broadcast/multicast packets from bridge interface in OpenWRT

(Originally, I posted it on StackOverflow. I move it to networkengineering and then here.) I have TP-LINK WR841N v9 router and install OpenWRT firmware CHAOS CALMER (15.05.1, r48532). I have /etc/...
0
votes
0answers
310 views

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

How to route all traffic through another server at the same subnet?

I want to forward all traffic that comes from clients (192.168.1.0/24) out of openwrt gateway (0.0.0.0/0) to the Server openvpn tunnel. Server has an openvpn tunnel. It has also set options: ...
0
votes
1answer
184 views

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

OpenVPN on LEDE (openwrt) stoppes working after one hour

I have a Linksys WRT1900ACS running LEDE Reboot 17.01.1 and I followed this guide to setup openvpn against my vpn provider vpntunnel.com. I also used the up/down scripts from this guide to handle DNS....
0
votes
1answer
79 views

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

Distributed DHCP probabilities

I'm building a mesh network. All nodes have an "AP-level" router/AP [as we call it to distinguish it from the "MESH-level" router/AP] that takes care of handling client connections via a traditional ...
7
votes
3answers
4k views

Is SSLsplit the right tool to intercept and re-encrypt HTTPS traffic on a wifi router?

I'm looking to do a vulnerability research on products running on a variety of devices by intercepting their HTTPS traffic, but I don't want to modify the devices aside from installing a custom cert. ...
1
vote
0answers
410 views

SSH connection to OpenWRT and RSYNC to connected device

I have possibility to use 2,5 GB Internet link in geographically distant location for backup needs. So I want to use TP-Link Gigabit router WR-1043WD with OpenWRT installed on it. There is Seagate ...
2
votes
0answers
279 views

OpenVPN server on second router in LAN [closed]

I have two routers with OpenWRT and I have OpenVPN server on second one. The way from the internet is: router from ISP -> Linksys with OpenWRT -> TP-Link with OpenWRT and OpenVPN server. All routers ...
0
votes
0answers
167 views

Multicast at high speed over Wifi/AP? higher speed?

I have a small dedicated wifi network setup specifically to carry a multicast multimedia package.. no other use (no web or other data on this network, due to the arrangement). The issue I've found is ...
0
votes
1answer
271 views

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

OpenWRT: don't forward private networks IPs

How to block any private networks destination IPs (10.0.0.0/8. 172.16.0.0/12, 192.168.0.0/16) to be forward to WAN? When I forget to connect VPN to work I wouldn't like to forward this packages to ...
3
votes
1answer
394 views

iptables not dropping by IP and port?

I have about 4 IP addresses that keep hitting a port on my network randomly I'd like to block. So I added the rules like this to my OpenWRT router: iptables -I INPUT -s FIRST_PUBLIC_IP -p tcp --dport ...