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

learn more… | top users | synonyms

2
votes
1answer
35 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
28 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
34 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
94 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
39 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
0answers
43 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 ...
0
votes
3answers
50 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
72 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 ...
2
votes
2answers
45 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 ...
1
vote
0answers
101 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 ...
0
votes
0answers
96 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
288 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
59 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 ...
0
votes
0answers
66 views

Static IP Forwarding on OpenWRT

I have a /28 block of static IP's that my ISP provides. Lets say x.x.x.x/28. The new building we are in has a OpenWRT router that I want to configure to forward those IP's to specific servers on the ...
1
vote
2answers
176 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
72 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
99 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 ...
0
votes
0answers
140 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
0answers
115 views

Make lan ip's available to external devices over openvpn [closed]

My goal is to make my home media library available to external devices. External device ====== OpenVPN Server ====== unknown Modem ----- OpenWRT --- lan machines External devices are OpenVPN ...
0
votes
1answer
322 views

OpenWRT: Redirect traffic from LAN port #4 to specific IP address

I am working with a TP-WR1043ND OpenWRT router which allows port mirroring, as described in the dedicated wikipage. I'm mirroring the WAN port (#0) to LAN port #4. There is no cable in the LAN port ...
1
vote
1answer
177 views

(net)SNMP can GET but not SET

I am running OpenWRT (tried all 3 latest versions) in a TP-LINK WDR3600, with snmpd and snmp utils installed. I can get (although MIBs seem missing) but not set OIDs. SNMPGET root@OpenWrt:/# snmpget ...
1
vote
2answers
2k 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?
0
votes
0answers
147 views

Setup openwrt router for 2 simulteneous openvpn clients on different wifi networks

I would like to setup openwrt router to be able to serve 2 different wifi networks which route their traffic thru 2 different openvpn tunnels. So far I have created 2 different wifi networks with ...
2
votes
1answer
153 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 ...
1
vote
1answer
490 views

FreeRadius Accounting not working, bad passwords not cheked

I'm trying to configure a captive portal using a router with OpenWRT+ChilliSpot and an external server with Freeradius and a Web Server. ChilliSpot 1.3.0 My issue right now is that the freeradius ...
3
votes
1answer
380 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 ...
2
votes
2answers
3k 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 ...
1
vote
1answer
564 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 ...
0
votes
0answers
95 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 ...
0
votes
2answers
337 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 ...
0
votes
1answer
367 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 ...
1
vote
1answer
4k 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 IP and DNS addess servers by ...
1
vote
1answer
85 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 ...
0
votes
1answer
488 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
736 views

set route on OpenWRT for PPPoE and LAN

I have a HUAWEI wireless router running OpenWRT. The router accesses the Internet with PPPoE. Meanwhile it has an Ethernet address with the following configuration in a LAN (Local Area Network): ...
0
votes
3answers
1k 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
1answer
647 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
0answers
308 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
6k 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 ...
1
vote
1answer
106 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
882 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
66 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
259 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
324 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
284 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
942 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
11k 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
1k 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 ...