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

learn more… | top users | synonyms

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

External ip address being treated as local (ARP asking for external IP's address)

I am using a virtual machine with OpenWRT for routing, on a Linux machine (Slackware). I am trying to configure a host only interface (eth0) as the wan interface. eth1 is Ethernet attached as a bridge ...
2
votes
1answer
51 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 ...
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
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
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
90 views
+100

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
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, ...
0
votes
1answer
133 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 ...
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 ...
0
votes
1answer
867 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 ...
0
votes
1answer
183 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 ...
0
votes
1answer
179 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 ...
0
votes
1answer
364 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 ...
0
votes
1answer
598 views

BIRD iBGP - Route not reachable

i have two machines participating in the DN42 network, a darknet driven by the Chaos Computer Club and others to play around with advanced routing techniques like BGP and stuff. The machines are ...
0
votes
1answer
755 views

How can I create routes between two separate LANs on the internet over an OpenVPN tunnel?

Diagram I have separate router/OpenVPN appliances at two different sites. The appliances are actually TP Link routers running OpenWRT 12.09, r36088. I would like clients behind these two routers 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 ...
0
votes
1answer
424 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. ...
0
votes
1answer
375 views

updating maradns with nsupdate

I have configured Maradns as dns server on openwrt platform. Can i use nsupdate as ddns client to update the DNS Server. Is it possible of updating Maradns zones with nsupdate.
-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 ...
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 ...
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 ...
2
votes
0answers
219 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
0answers
31 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 ...
1
vote
0answers
250 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 ...
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 ...
1
vote
0answers
372 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 ...
1
vote
0answers
408 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
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 ...
1
vote
0answers
423 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
0answers
876 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 ...
1
vote
0answers
975 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
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 ...
0
votes
0answers
125 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 ...
0
votes
0answers
287 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
0answers
592 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 ...