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

learn more… | top users | synonyms

1
vote
1answer
125 views

Macvlan-interface and PPP-session

I need to pick up two PPP-sessions on the same interface with different MAC-addresses (on some device with openWrt). I decided to check macvlans. I created an interface with another MAC-address. ...
0
votes
1answer
1k views

How to forward traffic to VPN device

I have set-up OpenWRT in a virtual machine which acts as a router. It has two network interfaces: br-lan: connected to vm internal network eth1: connected to internet through host via NAT I have ...
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 ...
0
votes
1answer
376 views

Deny all access to router from LAN devices except for services

I have a OpenWRT installation which I'm currently hardening. I'd like to prevent all network access from LAN devices to the router, except for TCP 22, TCP 80, and TCP 443. I'm using LuCI, and here ...
0
votes
1answer
1k views

how to use iptables to block the IP of device connected to openwrt router

I have two routers(A,B).the A connect to internet with IP:192.168.1.1 The openwrt router B connect the lan of A by bridge with static IP:192.168.1.111. I am learning to use iptables to control the ...
0
votes
1answer
3k views

iptables forward rule not working in openwrt

I am trying to apply some iptables forwarding rules in openwrt. Here is my scenario - My server has two cards ath0 and br-lan. br-lan is connected to internet and ath0 to private network. The other ...
0
votes
1answer
398 views

Is it possible to restrict the connection duration per client on the router (say with OpenWRT)?

How to limit the connection duration per client per period (say, one MAC-address can connect only for 3 hours per week to the network). Where could be defined such a rule? In the firewall? So the ...
0
votes
1answer
305 views

Client Router Causing Wireless Bridge Connectivity Issues [closed]

I have an issue that I can't seem to figure out on my own. Whenever I power on a client router, it causes connectivity issues with another router, which functions as a wireless bridge. The ...
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 ...
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 ...
0
votes
1answer
2k views

PRIO qdisc example not working

I have a TP-Link WR1043-ND with OpenWrt 12.09 (r36088, Linux 3.3.8). There is a bridge called br-lan joining eth0.1 (tagged VLAN for the 4 LAN ports) and wlan0 (Wi-Fi). There is also the WAN port at ...
1
vote
0answers
3k views

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

Getting DNS replies for non-existing hostnames (DNSMasq)

I noticed some 'weird' DNSMasq behavior when I set up my LAN for dual stack IPv4 & IPv6 networking. It seems that my DNS server (DNSMasq) which acts as a forwarder and also has all the host names ...
1
vote
0answers
391 views

Multiple network routing

I am after some advice on how to achieve multiple independent LANs, that can restrictively talk to each other (at minimal cost). I have 3 LANS LAN A - Admin Lan - Multiple servers and workstations, ...
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
1answer
812 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 <<>> ...
0
votes
1answer
2k views

OpenWRT Allow connections between 2 machines on LAN mapped to 2 IPs on WAN

I have an OpenWRT router with 1 WAN port and many LAN ports. I have assigned a second IP to the WAN port by adding a command to the startup scripts like that: ip addr add X.Y.Z.G/24 dev eth0.2 ...
-1
votes
1answer
591 views

wireless network for about 100 clients using home-grade equipment [duplicate]

Possible Duplicate: Can you help me with my capacity planning? Let me say that I have already read a similar question here - High client density, low cost wifi network? However, I do not ...
2
votes
2answers
3k 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
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 ...
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
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 ...
3
votes
1answer
737 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 ...
1
vote
0answers
831 views

why ping6 fails if tcpdump shows ICMP6 request/reply traffic?

I'm having a very strange problem with IPv6 pings on OpenWRT (fon-ng firmware with IPv6 enabled) and hoping someone can help with investigation. In short - wpan0 interface with address aaaa::1/64 is ...
2
votes
1answer
732 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 ...
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 ...
3
votes
1answer
533 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 ...
-2
votes
1answer
1k views

Lost connection to OpenWRT router [closed]

I have a Netgear WNDR3700v2 with OpenWRT. The problem is that I created a custom boot script as explained here (http://wiki.openwrt.org/doc/techref/initscripts) and after rebooting I was not able to ...
0
votes
1answer
346 views

OpenVPN not with Windows 7 PCs on client Lan

I have a setup with a router running OpenWRT with an openvpn client. Windows 7 pc's cannot access the vpn. They time out trying to access servers on the VPN. The mystery to me is that the setup works ...
0
votes
1answer
2k views

using a gre tunnel as default route

I have two private networks (A, B) that connects via another company's private network (C). Network A has internet access. I want to make a tunnel between B and A that goes through C. Then network B ...
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
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 ...
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 ...
-1
votes
1answer
130 views

Are Network, or Port Assignments the physical router port as opposed to the logical (software configuration) router port?

I've been looking at the port assignments on my router in the linked Open-WRT Wiki, and I'm not sure if the column that reads Network is the actual physical port, or if the Port Assignment is the ...
1
vote
0answers
954 views

OpenWRT with VLANs: NAT not working with single Firewall Rule

I have a configuration on my OpenWrt Backfire 10.03 with different VLANs, k2 belonging to fwz2 is one of them. In this testing environment the WAN is DHCP with IP:192.168.1.1: config 'interface' ...
0
votes
1answer
703 views

Could my wireless router randomly reboot if it has a too big antenna?

Because If we (several wireless clients) download too much (that means "full speed" for several hours) the router (WRT160NL - OpenWrt 10.04 with two default 8 dBi omni antenna) just reboots randomly. ...
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 ...
2
votes
1answer
780 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 ...
0
votes
1answer
879 views

Port forwarding not working, tcpdump shows “reset connection”

I have an home web server that I use to serve a few pages for personal purposes. The server runs Ubuntu and is behind an ADSL connection, and it's working nicely. Recently I subscribed to a Hiperlan ...
0
votes
1answer
8k views

OpenWRT + OpenVPN client forwarding from lan to vpn not working

I've OpenWRT router with Backfire 10.03.1-rc3 (arch:brcm 2.6 kernel) I've set up an OpenVPN client connecting my router with workplace lan, and it works nicely, I can connect from router to networks ...
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]. ...
0
votes
1answer
108 views

How can I manipulate dates on each line in a file using only minimal *nix tools?

http://pastebin.com/raw.php?i=rCLH4r4M I have a text file: "hogyaza.txt". I want to convert the "normal dates" in it [only at the line starting] to unix time. i know how to "convert" one line: $ ...
0
votes
1answer
1k views

openwrt dmz nat loopback not working

I would like to have my "dmz"-connected visitors to be able to access services by their global DNS IP (wan) that are redirected to another zone, let's say "lan". openwrt wan - 12.23.34.45 client is ...
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?
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 ...
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: ...
0
votes
3answers
1k views

sniff when using ssh tunneling

From my PC, i use: ssh -fND localhost:6000 USERNAME@IPADDRESS -p PORTNUMBER and i set this true in Firefox: network.proxy.socks_remote_dns and i set the socks proxy to 127.0.0.1:6000 in Firefox, ...
0
votes
1answer
411 views

Openwrt on Airlive AirMax5

We are tyring to install openwrt firmware on Airlive Airmax5 which is running DD-WRT by default. Can anyone please help me, how to install openwrt on wireless router. Waiting for reply. ...