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

learn more… | top users | synonyms

0
votes
1answer
96 views

Iptables source mac match not always matching?

I have added some rules to my PREROUTING chain in NAT. Usually at the beginning of a new machine joining the network, these matches don't always match correctly? Im using iptables v1.4.21 on OpenWRT ...
0
votes
2answers
57 views

OpenVPN on OpenWRT: Routing a specific subnet through a VPN tunnel

I have setup a router with OpenWRT 15.05 installed (Chaos Calmer), and configured two wi-fi networks each with there own network interface: wi-fi-1: interface br-lan ip address 10.0.2.1; address ...
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
28 views

Finding ip address from mac addess

I have router in bridge mode which is installed Openwrt and I want to find IP address of devices which are connected to the router. Since router is in bridge mode, I can not find IP from DHCP leases, ...
0
votes
1answer
12 views

Except some IPs from rule to not allow internet through openwrt + openvpn when vpn is disconnected

I have the following working setup on my network: A. ISP-Router (connected to inet, internal ip 192.168.0.1 ) <----> B. eth0 - OpenWrt Router (OpenVPN client running) br-lan (bridge eth1 + wlan0, ...
3
votes
3answers
8k 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?
2
votes
1answer
3k 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 ...
0
votes
1answer
4k 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 ...
1
vote
3answers
3k views

Gateway gets stripped from DHCP Reply through OpenVPN tunnel

I have a bridged OpenVPN setup. This is my server config: port 1194 proto udp dev tap0 ca /etc/openvpn/easy-rsa/keys/ca.crt cert /etc/openvpn/easy-rsa/keys/server.crt key ...
0
votes
1answer
92 views

OpenWRT reroute all router traffic through a Client

I have an OpenWRT router (192.168.1.1) with various wired and wireless clients (192.168.1.x). One of the clients is a Suricata Sensor (192.168.1.100) with only one, 1000MBbit NIC. I want to ...
1
vote
1answer
19 views

openvpn exclude some web pages

I have OpenWrt with openvpn on it. Some computers are excluded from openvpn traffic by --set-mark rules. But now I need some more elastic solution. I am using VPN for web browsing, but some web pages ...
-1
votes
1answer
33 views

How are IP packets routed from LAN to WAN? [closed]

I have OpenWRT set up on a router, with a wireless client connected on the LAN, and connected to another network on the WAN. wlan1 is bridged on the br-lan interface, and typically forwards to the LAN ...
1
vote
0answers
32 views

Captive portal with chillispot without DNS

I'm trying to set up a captive portal in openWRT using chillispot. My goal is to have an open network and display a static html with information without internet connection at all and without any ...
0
votes
0answers
24 views

Download speed inside openWRT

I have some Lynksys E900 with openWRT running speed tests. I use iperf to run the tests. When I run the iperf inside the Lynksys I can't get the full speed (40Mbits), but when I'm using the same test ...
2
votes
1answer
57 views

OpenWRT Dynamic VLAN

I'm setting up an wireless AP with OpenWRT to support dynamic vlan's, provided by a RADIUS server. I found a guide on OpenWRT.org which I followed, and with some extra research I'm almost there. The ...
0
votes
0answers
132 views

Openwrt Dansguardian - Performance and speed suggestions

I have a setup at home as follow: DHCP clients -----> (wifi)(nat) Openwrt -----> (eth)Main Router DHCP clients get ip from 192.168.42.0/24 subnet. The device I'm using is TPlink MR3020 with ...
0
votes
0answers
67 views

IPv6 is not working between two OpenWRT devices

I have 2 problems lately regarding IPv6: My ISP doesn't provide an IPv6 prefix (even with modem in bridge, and yes the ISP supports) so, I'm using SIXXS tunnel , it doesn't attribute IPv6 to another ...
3
votes
1answer
9k 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
137 views

Correct OpenWRT configuration for iptables PREROUTING rule

I've recently switch my router firmware from Tomato to OpenWRT. I had the iptable commands below which would intercept http requests to an internal ip (192.168.1.254) on port 80 and redirect to a ...
1
vote
2answers
7k 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 ...
2
votes
0answers
167 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
1answer
167 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
0answers
258 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 ...
0
votes
1answer
168 views

Why does the CUPS OpenWRT admin page prompt for login and will not take user/password when adding printer?

I am using OpenWRT 14.07, with CUPS 1.5.4. When I try to add a printer, the UI leads me through the entire workflow, until I get to the end. At the end of the workflow, after I have found the ...
2
votes
0answers
129 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 ...
0
votes
0answers
291 views

Configure Openvpn and tinyproxy both at the same time In openwrt

I'm building VPN router using Raspberry_pi and openwrt chaos calmer on top of it. I have successfully configured the pi and achieve the Openvpn functionalities without any issues. Pi connect Openvpn ...
0
votes
0answers
35 views

Route WAN traffic to router which is placed behind switch first

Would be possible to do the following as it is at image? I would like to send all traffic coming from internet to Router with FW first and then to the LAN. I thought this could be achieved by using ...
0
votes
1answer
366 views

HowTo: OpenWRT routing/tunneling all traffic through an inline Snort sensor

I want all traffic that hits the OpenWRT router redirecting/ tunnelin through a dedicated Snort/Suricata machine, before it leaves the local network. The Snort/Suricata machine should act as an inline ...
1
vote
1answer
602 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
votes
1answer
45 views

Remote OpenWRT version control?

I'm in a slightly inconvenient scenario, where I will potentially have hundreds of remote OpenWRT devices located around the world. I will not have access to the networks in which OpenWRT connects to ...
-3
votes
1answer
265 views

Seamless wireless AP network through wired routers [closed]

We have 3 open-space floors of 80 square meters each that we want to cover by the same wireless network in a big concrete building. We also have ethernet cables set up throughout all the floors. The ...
0
votes
1answer
209 views

OpenWRT OpenVPN setup is slow, howto set CA on a remote system?

I want to run an OpenVPN-Server on a box but creating dh on it is really slow. I was searching the net, how to import a ca for the OpenVPN-Server on OpenWRT so I can run build-dh on a nother computer ...
2
votes
2answers
301 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
92 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 ...
1
vote
2answers
175 views

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

forward vpn traffic from tun1 to tun0

I've been banging my head on this for a while and gave up trying to figure it out. My knowledge about routing and iptables is just too limited to understand this it seems. I have configured a split ...
0
votes
1answer
873 views

OpenVPN server and client configuration for openwrt

I have an OpenWRT router with WAN(eth1) and LAN(eth0) interface. I wanted to install an openVPN server on this router, so I could access from the WAN side into the LAN side. My LAN(eth0) has a DHCP ...
8
votes
3answers
16k 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
187 views

Dynamic timezone change for OpenWrt (Chaos Calmer), NTP

I have this idea for my routers running OpenWrt, since for them there is no way of knowing in what time zone they are by default. What if there was a list of lets say three time servers each per one ...
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. ...
0
votes
3answers
234 views

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

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

Network behind OpenVPN client

Good day, i have a problem with OpenVPN networking. Main idea is as illustrated, remote OpenVPN server, 2 clients, MyPC and OpenWRT client with its own network with Client_1 and Client_2. I need to be ...
1
vote
0answers
373 views

How to set network configuration for openflow on openwrt?

I made a custom build Openwrt (barrier breaker) with Openflow 1.3 and I could connect it to ryo simple_switch_13 controller in outofband mode. Ehternet port number 3 and 4 are set as openflow ports ...
3
votes
2answers
5k 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 ...
0
votes
0answers
598 views

Openwrt: vsftpd file upload

I am using vsftpd daemon for ftp server and configured the server for local users listed in /etc/vsftpd.users. Using filezilla for ftp client and I am getting "553: could not write file" error when I ...
0
votes
1answer
1k views

Using SoftEther VPN on OpenWRT router with HTTP Proxy

I've successfully installed OpenWRT router to my TP-LINK MR-3020 (ar11xxx). I've made a extroot for this using my flashdrive, having swap 2GB, 2GB root, and 4GB shared samba. I also tried OpenVPN ...
0
votes
2answers
128 views

VPN Client Routing

I'm having trouble getting my VPN client on open-wrt to work. The actual VPN connection works fine and I was able to access the remote network from the router but when my VPN is active it shuts down ...
2
votes
2answers
1k 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 ...
0
votes
1answer
180 views

unable to setup point to point network between two openwrt boards

I am trying to setup point to point networks between two Avila boards (Processor : XScale-IXP42x Family) running Openwrt( KAMIKAZE 8.09.1) and Linux kernel 2.6.26.8. I am trying to setup two ...
-1
votes
1answer
287 views

Problems simulating bridge with OpenWRT virtualbox

I have setup a BarrierBreaker OpenWRT instance in virtualbox. WAN is NAT adapter LAN is internal network I have attempted to bridge these interfaces as I wish to start learning ebtables. However ...