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

learn more… | top users | synonyms

9
votes
6answers
8k views

dnsmasq: mapping 2 MAC addresses to the same IP address

Is it possible to map 2 different MAC addresses to the same IP address? For my backup, I need to connect back from the server to the portable, and I would like to have the same IP both for the ...
8
votes
4answers
9k views

Can't communicate between lan ports on openwrt router

I've got a WBMR-HP-G300H Buffalo Airstation router on which I've installed the lates OpenWRT software. All is working well (ADSL, WIFI etc) except for one niggle. I can't communicate between lan ...
8
votes
3answers
14k views

OpenWrt Configuring Tagged and Untagged VLAN on the Same Port

I have installed OpenWrt on a MikroTik Routerboard RB750UP (AR7240 CPU with AR9330 built in switch). I have included additional details below, but my question is: How do I configure an untagged and ...
5
votes
4answers
5k views

openwrt: Use rdate with NTP servers?

I've noticed that some embedded devices (such as OpenWRT, which runs on Busybox) use rdate to set the system time, instead of NTP. Rdate is an older time protocol, and I'm having trouble finding any ...
5
votes
4answers
978 views

Does anyone use DD-WRT/OpenWRT etc. at their office? [closed]

Does anyone use any of the third party router/AP firmwares (DD-WRT, OpenWRT, Tomato, etc.) in an office environment? How many users does it handle well? How long have you been using it? I understand ...
5
votes
3answers
1k views

What firmware to choose for ASUS WL-500GP v1

I've found several firmwares out there: OpenWRT, DD-WRT, Tomato and Oleg's. I'm wondering what is the best choice? Router is working in the home network (desktop through wires, laptop uses WiFi). ...
3
votes
2answers
8k views

What protocols/ports to open for WinSCP

Which ports (and/or protocols) should be given priority for WinSCP to connect to a *nix machine? Details: I have a Windows client running WinSCP, which connects through a WRT54 router (running ...
3
votes
1answer
532 views

Force to use specific DNS provider at network

OpenDNS offers a quite simple way for internet filtering by categories. Of course who could get the correct IP address can easily bypass the filter but it would be enough for my expectations. The ...
3
votes
2answers
7k views

how to get a list of the connected wifi clients in OpenWrt 10.03?

how to get a list of the connected wifi clients in OpenWrt 10.03?
3
votes
4answers
13k views

How to send mail from an OpenWrt router

I am using OpenWrt 10.03 and need to send "reports" from my router by email. I have installed sendmail: # opkg install mini-sendmail Then I used my ISP's smtp server: # echo -e "From: ...
3
votes
5answers
2k views

Recommendation for easy to use router and setup to handle multiple VLANs, to avoid multiple DHCP servers conflicting

I'm trying to setup a network in which each computer must not be able to see the others on the network, only the router. The people involved don't necessarily know each other and don't necessarily ...
3
votes
1answer
533 views

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 ...
3
votes
1answer
8k views

Wireless Multicast Forwarding on OpenWRT

Good day! We need to connect an STB device over wi-fi to the router. STB uses multicast only. Using udpxy is not possible. Original firmware forwards multicast over wi-fi using mac changing ...
3
votes
1answer
732 views

qemu with tun virtual networking issues

I'm trying to setup a virtual networking environment using open-wrt qemu and vde2 The script to boot two qemu instances and conenct them together is the following ...
3
votes
2answers
4k views

OpenWRT USB attached disk spin-down

I use a couple of ASUS WL-500GP running OpenWrt Kamikaze 8.09.1 (2.4 kernel) as small office gateways and firewall. Now I would like to attach USB disks to cache local backup-data during office-hours ...
2
votes
2answers
2k views

How to configure totally open DMZ with OpenWRT?

I have OpenWRT router. I have NAS in my LAN, which i need to access from WAN and from all computers in the LAN. So, it should be accessible from any computer and it needs to access some of them, too. ...
2
votes
1answer
74 views

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 ...
2
votes
1answer
189 views

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

OpenWRT Barrier Breaker - Router does not route

I've upgraded my TP-Link 1043 router to OpenWrt 14.07. Everything is perfect, Wifi and LAN are bridged, LAN machines can access each other by name, I can SSH into the router, and the router can access ...
2
votes
2answers
6k views

Route an IP from WAN to a host on LAN on OpenWRT

EDIT: I know how to use NAT, I specifically want the server to be reachable on two IP's, one private, one public, with the firewall of the OpenWRT in between, if feasible. At the office we have ...
2
votes
1answer
779 views

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

openwrt uses a single interface bridge?

My understanding of bridging is that it ties together two interfaces at layer 2. I am looking at a Ubiquiti Nanostation2 running OpenWRT that has an ethernet port 'eth0' and a wifi port 'ath0'. The ...
2
votes
5answers
4k views

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 ...
2
votes
1answer
870 views

How do I set up an IPv6 DMZ with iptables without a static allocation?

I have several networks which are on Comcast's residential network. I need to access those networks from a variety of environments, via an SSH proxy on one of the hosts. (As it happens I'm using ...
2
votes
0answers
71 views

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

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 ...
2
votes
1answer
3k views

strongswan VPN on OpenWrt

Hi I'm running Barrier Breaker version of OpenWRT and I have setup a VPN according to: http://wiki.openwrt.org/inbox/strongswan.howto I can connect to the VPN with my iPhone or Mac (to 10.10.1.0/24 ...
2
votes
1answer
2k views

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

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 ...
2
votes
1answer
729 views

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 ...
2
votes
1answer
2k views

Ingress filtering in Linux traffic control: Redirect traffic to IFB device

I have an openwrt router and I want to shape incoming traffic in order to classify all the traffic addressed to a certain IP address in my home network as low priority. For that purpose I want to ...
1
vote
2answers
4k views

How to serve custom dns to dhcp clients in openWrt? [closed]

I would like to serve custom DNS server to dhcp clients. How I can achieve that in openWrt?
1
vote
2answers
6k views

Redirect DNS requests with OpenWrt

I've brought a wireless router to my office, because there's no free network socket near my place. Every normal computer that is connected via Ethernet cable normally gets an IP and DNS server ...
1
vote
3answers
1k views

Linux routing - Access external IP from LAN

I'm using OpenWRT (linux based) on my router. The router has a local IP and a public IP. I have a dyndns name assigned to the public IP. The router is forwarding several ports (e.g. ssh and https) to ...
1
vote
1answer
92 views

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

`ssh -NfR` equivalent with dropbear

I want to open a reverse tunnel in background. When using OpenSSH ssh -NfR 9022:127.0.0.1:22 <target> always worked. When I did that with dropbear on my router, it failed like this: # ssh -NfR ...
1
vote
3answers
2k views

Configure a Linux router for fair bandwidth allocation without unnecessary limiting it

I run a Linux router (more precisely OpenWRT) on an internet connection with very limited bandwidth, around 1 MBit/s downstream and some dozen kBit/s upstream. There are several machines on the net ...
1
vote
1answer
396 views

How to monitor network activity in openwrt

I'm having what feels like slow internet from time to time, with ping to google.com at 3000ms and up or even timeouts, and I'd like to check if the problem comes from the ISP or if it's from my ...
1
vote
2answers
685 views

OpenWrt configuration on the remote server

I have 11 openwrt-based accesspoints in the building. Sometimes I need to add a virtual network with custom password. I don't like to iterate through accesspoints to change parameters. This is ...
1
vote
1answer
811 views

Most DNS queries for TLDs do not pass through dnsmasq

Most DNS queries for top-level domains from my LAN behind a router with dnsmasq 2.55 on OpenWRT 10.03.1 return negative results, e.g.: $ dig com. ANY ; <<>> DiG 9.7.3 <<>> ...
1
vote
2answers
1k views

Openwrt two nic on the same vlan instead of alias?

I have a TP-Link WR1043ND with 1 wan and 1 lan cables attached. The lan cable currently have 2 ips of two different network, using an alias. The two networks share the same switch. I'd like the ...
1
vote
2answers
591 views

Output only the last 2 minute's log

I have a log file: http://pastebin.com/raw.php?i=cdUpTqNV the first column, before the "ASDF" is the same time, as in the given row, but in unix time [i think it's easier to do this with unix time]. ...
1
vote
1answer
733 views

OpenWRT router as a switch with DNS

We have a router (8 ports) that serves our church (it also is our modem with ADSL2 etc) and handles our DHCP services. I've needed to extend our network to accomodate another 2 ports, so an extra ...
1
vote
1answer
110 views

How to get an unprivileged public status page showing in OpenWrt 12.09 or newer?

For the use case where the WAN connection goes down, but employees can still access wifi, I'd like them to be able to check on some sort of a public router status page in their problem reports. This ...
1
vote
1answer
71 views

Enable external SSH traffic on selected workstations within my network

I have already enabled an external SSH connection (with public and private keys) to my router, however... I would also like to enable an ssh connection to one of my internal workstations (permanently ...
1
vote
1answer
742 views

Rewrite URL based off of IP on OpenWRT

We are running OpenWRT on a WRT54GL. I have been looking for an answer to this, but I can't seem to figure out what to search for, if its possible, or what combination of programs to use. I want to ...
1
vote
3answers
1k views

OpenWrt logging: how to find out “wifi deauthentication”

If someone starts to use the wifi, i can see that with logread: Jan 23 21:04:47 router daemon.info hostapd: wlan0: STA XX:XX:XX:XX:XX:XX IEEE 802.11: authenticated But how can i see, that he/she's ...
1
vote
2answers
2k views

configure pppoe on wrt54gl(openwrt)

I have home DSL connection from my ISP with a beetel modem at my end. I want to make my network wireless, so i bought a linksys wrt54gl and installed open-wrt on it. My ISP provides dynamic IP's with ...
1
vote
0answers
46 views

Tunnel only specific port over OpenVPN on OpenWRT-Merlin

My Asus RT-AC87U router is running OpenWRT-Merlin. OpenWRT-Merlin allows you to set up an OpenVPN client and disable NAT so that you have to manually configure the routes for this VPN. How do I do ...
1
vote
0answers
67 views

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 ...