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

learn more… | top users | synonyms

-2
votes
0answers
16 views

How to send mail from router when the WAN connection is down ? openwrt is installed

What i need is to get daily or weekly report when WAN connection is down in syslog: Jul 13 01:14:56 OpenWrt daemon.notice netifd: Interface 'wan' is now down so what is that i need is to send ...
1
vote
4answers
8k 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
0answers
6 views

Virtual Host Redirects and Packet Flow [migrated]

If I set up a virtual host in nginx, will all packets flow through that PC? Here is what is going on. I have an openwrt NAT router with two devices behind it, a server and a raspberry pi. I want both ...
0
votes
0answers
5 views

D-Link DIR-300 with OpenWRT - How to access bootloader? [migrated]

I have D-Link DIR-300 (Rev.A1) flashed with OpenWRT "BARRIER BREAKER" (Bleeding Edge, r41531) firmware. Flashing was done according to guide at http://wiki.openwrt.org/toh/d-link/dir-300 Unfortunalty ...
0
votes
1answer
695 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
0answers
40 views

Configuring OpenWRT on Carambola 2 in wireless repeater (Bridged Client) mode

I want to configure OpenWRT in wireless repeater (Bridged Client) mode in order to bridge WAN (access point) and LAN (hosted) networks. PC Client <---> Carambola <---> Wireless Network On Sony ...
1
vote
1answer
789 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 ...
0
votes
1answer
1k 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
1k 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 ...
2
votes
1answer
148 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 ...
1
vote
3answers
716 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 ...
0
votes
0answers
50 views

udpxy and igmpproxy don't get restarted after a hard reset in OpenWrt

Although I have S99udpxy and S99igmpproxy (both executable) in /etc/rc.d and manually via SSH I can start the services, at the boot time they don't show up in ps. For instance, my /etc/init.d/udpxy is ...
1
vote
0answers
104 views

Exclude an IP address from an openwrt firewall rule

I am using a wrt54gl with openwrt to try and redirect all traffic on my LAN to a specific server, which will run scapy and other network analysis tools and act as a gateway/firewall to the Internet. ...
1
vote
1answer
48 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. ...
1
vote
0answers
490 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 ...
0
votes
0answers
116 views

OpenWRT and multple WANs: active/open connections doesn't update when alternate WAN

Here is my scenario: I have a OpenWRT Backfire 10.03 installed on a Mikrotik RB411U. I have two WANs: a 3G and a wifi. The eth0 interface is my lan. I configured the iptables to MASQUERED both WANs: ...
0
votes
1answer
186 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
34 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
109 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
370 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
0answers
230 views

How can I redirect/forward all the UDP/TCP traffic on one interface to another interface in OpenWrt

I am new to networking and I have a measurement device (D) that periodically sends all its readings over few UDP multicast sockets (with different multicast IP addresses and different port numbers). ...
0
votes
1answer
83 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
585 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 ...
0
votes
1answer
166 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
326 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 ...
3
votes
0answers
4k 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 ...
1
vote
0answers
976 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 ...
0
votes
1answer
178 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 ...
2
votes
2answers
2k 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
0answers
203 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, ...
2
votes
5answers
3k 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 ...
0
votes
1answer
531 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
414 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
741 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
272 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
1answer
930 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 ...
1
vote
0answers
447 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. ...
4
votes
4answers
4k 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 ...
2
votes
0answers
174 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
747 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 ...
2
votes
1answer
468 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 ...
1
vote
1answer
404 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 ...
2
votes
1answer
427 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
1answer
301 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
730 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
253 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
916 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 ...
1
vote
2answers
1k 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 ...
0
votes
2answers
2k 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
117 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 ...