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

Getting hotplugged device name on OpenWRT in hotplug script for a specific interface invocation of a hopplug script

I am trying to change the permission on my printer device in OpenWRT (Barrier Breaker 14.07) when the device is mounted. I am having trouble getting the path of the mounted device on the invocation of the hotplug script. This version of openWRT…
Edward
  • 171
  • 6
2
votes
1 answer

How to enable transparent HTTP/S redirection through proxy using iptables?

My current setup consists of the following elements: A router flashed with OpenWRT with two interfaces: eth0 is the access to the gateway and eth1 manages the local network (192.128.2.0/24) A box (that cannot be used in bridge mode), set up to…
Rerito
  • 121
  • 1
  • 1
  • 4
2
votes
0 answers

Limit odhcpd SLAAC / RA to specific MAC addresses

I am trying to set up my OpenWRT powered router to give me IPv6 connectivity via tunnelbroker.net (he.net). I am using OpenWrt Chaos Calmer 15.05-rc2. Creating the tunnel works fine, but I'd like to limit the IPv6 prefix advertisement to a list of…
2
votes
1 answer

Is it possible (how?) to Route incoming UDP packets with one target IP to a destination IP that is resolved through a DNS query for a static URL?

I have a set of mobile devices that are configured to send UDP messages to an IP-address that is set in their SRAM. They don't have the capability to either store a URL, or resolve a URL to an IP address. The traffic going to the destination IP that…
2
votes
2 answers

connect to server in seperated lan (using openwrt)

I am using openwrt with the following setup: --------------- | |--- LAN1 192.168.1.1/24 WAN 194.X.X.X ---| openwrt-box | ------------ | …
cyoborg
  • 101
  • 1
  • 9
2
votes
3 answers

How to make a cron script for cleaning up a log file?

I don't usually do this kind of stuff, so I just have to ask. How do I make a script which checks a log file, lets say it's named log.txt, grabs everything but the first 100 000 lines from it to a new log.txt file and deletes the old log.txt? It…
Guy395
  • 21
  • 1
  • 3
2
votes
2 answers

Release dhcp lease after forcing client to disconnect

I configured a wifi access point based on OpenWRT to limit the number of clients to 4 at the same time. For that purpose I gave a limited number (4) IP addresses leaseable by DHCP. After a period of time (say one hour), I want to force clients to be…
AtoM_84
  • 21
  • 4
2
votes
1 answer

How do I configure routing in this mesh scenario?

I've setup the following scenario All the routers are openwrt routers, and they are connected either via cable (Rout1 <> Rout2), or via wireless (Rout2 <> Rout4) I would like to be able to connect to each router from each router via SSH. Now if I'm…
Mascarpone
  • 872
  • 3
  • 9
  • 28
2
votes
1 answer

OpenWRT - Manage Virtual LAN

I have an Ubiquiti AirRouter with OpenWRT on it and I've been trying to separate the manage of the ports. I've formated the router using CoovaChilli app, anyways the app just help to install OpenWRT on the router and gives an easy UI-WEB…
AlvaroAV
  • 151
  • 2
  • 11
2
votes
0 answers

OpenWrt on TL-WR1043ND - VLAN to VLAN communication

I have this network configuration at home: 3G Wifi router - for access to internet, 192.168.1.0 subnet Router TP-Link TL-WR1043ND - OpenWRT (12.09), 192.168.2.0 subnet, connected wirelessly via "bridged client" to the 3G WiFi router, to get internet…
stibi
  • 131
  • 1
  • 4
2
votes
5 answers

QoS for very basic LAN/WiFi network: Do I need SmoothWall or OpenWRT or just good advice?

Here is the basic situation/topology of the network I manage: Residential, but we are a co-op, so we have a business-class contract with ISP. The residents are college students, so there is quite a bit of everything, including P2P (torrenting),…
Anthony
  • 315
  • 4
  • 15
2
votes
1 answer

Stop squid caching 302 and 307 with deny_info

TLDR: 302, 307 and Error pages are being cached. Need to force a refresh of the content. Long version: I've setup a very minimal squid instance running on a gateway which shouldn't not cache ANYTHING but needs to be solely used as a domain based web…
0xception
  • 121
  • 1
  • 4
2
votes
0 answers

how to measure IP bandwidth in pass through mode in linux?

I want to measure the IP bandwidth in pass through mode. Please find the attached picture for configuration and my question also. If there is no solution with OpenWRT, I need any alternative solution considering this as simple linux box. I would be…
2
votes
1 answer

OpenVPN configuration works standalone but not as daemon

The whole setup works standalone, ex: openvpn --config /etc/openvpn/openvpn.conf, remote can ping server, and server can ping the remote When I start the server with --daemon, the remote client can ping the server and the network behind the server,…
Sirber
  • 328
  • 5
  • 18
2
votes
1 answer

Buffer limit for nginx?

I'm using nginx on an embedded platform (OpenWRT) as a reverse proxy in front of an IP camera, and I'm having an issue where the camera is pushing data to nginx more quickly than nginx is able to off-load it to the next stage. With the reverse proxy…
mikepurvis
  • 1,067
  • 2
  • 9
  • 18