Last call to make your voice heard! Our 2022 Developer Survey closes in less than a week. Take survey.

Questions tagged [dd-wrt]

DD-WRT is free Linux-based firmware for several wireless routers.

Filter by
Sorted by
Tagged with
0 votes
0 answers
124 views

VLAN tag single LAN port on DDWRT router

My issue: I want to VLAN tag a single LAN port for a IoT device, wired to a DDWRT router, which is acting as a switch/AP... Under networking in DDWRT, if I select the port, and tag VLAN 2 the device ...
user avatar
0 votes
2 answers
90 views

How to block TV from accessing WAN through DD-WRT router

Can anyone tell me how I can block a TV that's on my wifi from accessing anything outside the LAN? I do want the TV to be able to access local PCs however, so I can use its inbuilt apps to play videos ...
user avatar
  • 203
0 votes
1 answer
54 views

Getting network connectivity to two difficult rooms in my house with OpenWRT

I have a D-Link DIR-835 rev. A1 running OpenWRT as my wifi AP and also ethernet router. I have put the AP in a reasonably central location in my house given the limitations for it being near a cable ...
user avatar
0 votes
0 answers
105 views

Compatible custom firmware for TL-MR3220 V2 with upgraded 8/64MB memory

First bit of background: I have been using OpenWrt since 2015 on TL-MR3220 V2 with 4/32MB memory. It was running great. Recently, after buying a MI 4A gigabit router I stoped using the TP-Link router. ...
user avatar
0 votes
0 answers
24 views

Custom Routes no longer work DDWRT when using a virtual interface

router 1: 10.10.10.1 192.168.1.1 virtual interface, added by: ifconfig br0:1 192.168.1.1 netmask 255.255.255.0 router 2: 10.10.10.2 192.168.1.2 = router 2 virtual interface, added by: ifconfig br0:1 ...
user avatar
0 votes
1 answer
603 views

A ping script to check network availability

I want to create a script for ddwrt that pings on 4 hosts to check whether internet is available or not. If out of 4 tests, one of the ping results comes true then assume internet is working otherwise ...
user avatar
0 votes
1 answer
61 views

pull WAN ip on LAN dd-wrt on native vlan

TO save wiring I currently have DSL modem bridged to man LAN That DSL modem can be accessed by any computer on native vlan. Cable modem is on VLAN2 One wire goes to the Asus n66u on port 4. If i ...
user avatar
0 votes
1 answer
298 views

OpenWRT: Reconnect/Unbrick Archer A7 v5 (similar to C7)

I've configured the Archer A7 v5 to work with OpenWRT and it worked fine. I've used the TFTP method. Last week I tried to install a firewall on the run. After trying different methods. I found this ...
user avatar
  • 821
0 votes
0 answers
340 views

How to find out the IP of my DD-WRT router working as a bridge

I'm using my dd-wrt router as a bridge to be able to connect a computer that doesn't have a wifi card to be able to connect wireless by connecting that computer to the dd-wrt router with a cable and ...
user avatar
  • 2,861
0 votes
1 answer
27 views

How to correctly selectively redirect certain LAN devices, to use VPN or clearnet gateway, using iptables?

I am using dd-wrt and was able to get VPN working on it, the problem is I want to have the default to be routing traffic through the VPN but have the option of also routing through the clearnet ...
user avatar
  • 1
1 vote
1 answer
94 views

How to run cgi as root in dd-wrt from apache

I am wanting to run some scripts which include iptables rules from Apache (running on port 81 on dd-wrt). I can't seem to get these to work because I lack the permissions. I'm hoping someone can ...
user avatar
  • 185
0 votes
1 answer
4k views

forwarding ARP reply on bridge device

This is my network: [laptop A]~~~~[ddwrt1]~~~~[ddwrt2]----[desktop B] | +--[desktop C] The ddwrt2 is a wifi router running in client bridge mode connecting to another ...
user avatar
  • 111
0 votes
1 answer
1k views

Isolate subnet with DD-WRT router

I have my ISP gateway (which is a regular wifi router) which is 192.168.178.1. This is connected to a DD-WRT router (using it's WAN port). I've had this setup for a while now and pretty much the ...
user avatar
  • 1,614
1 vote
1 answer
172 views

How to block traffic from one subnet to another *except* for one location

I'm using DD-WRT on my home router and I'm using a Pi-Hole for the DNS server. The main network is 192.168.1.0/24. The default route is .1.1 and the Pi-Hole is sitting at .1.2 (static). I've ...
user avatar
1 vote
0 answers
97 views

Disable TCP offloading on DD-WRT

We're using DDWRT with Coova Chilli and we're experiencing very bad networking performances with high speed WANs. There's a bug in Coova which is handled by disabling GRO on the LAN interface. In ...
user avatar
  • 143
1 vote
1 answer
2k views

Block ping to interface in different subnet

I am currenttly refining the Firewall Rules on my DD-WRT Router. Specifically my question is about this Rule: iptables -I INPUT -i eth1.10 -d ! 192.168.10.0/28 -j DROP I was wondering if it was ...
user avatar
1 vote
0 answers
27 views

Create custom page for lock

I'm new to DD-WRT v3.0-r39469 std (04/10/19) so I have several questions! I want to make a custom LOCKING PAGE in the domain 127.0.0.2 in my network, is it possible? I ran the page to which I wanted ...
user avatar
1 vote
1 answer
4k views

set DNS entry for hostname for the DD-WRT DNS router itself

I'm trying to set a DD-WRT router to reply to DNS requests with it's own hostname (via the DD-WRT router's DNSMasq daemon). I can set other local hostnames (using Static Leases section) and these are ...
user avatar
2 votes
1 answer
886 views

dd-wrt: prevent VAP from accessing the internet

I am trying to configure a secondary network for my IOT stuff. I want to allow only a few device internet access and the rest should be "jailed" to that network. Also, all devices on the IOT network ...
user avatar
  • 23
2 votes
1 answer
2k views

DD-WRT DNSMasq logging help

I recently installed DD-WRT on my Netgear R7000 router and want to log DNS queries. So far without much luck. I'm running DD-WRT v24-sp2 kongac, build 23900M. syslogd is running and currently writing ...
user avatar
  • 31
10 votes
3 answers
8k views

How do I verify I am using 9.9.9.9 for DNS?

I have several machines on my LAN. Most of them Ubuntu based. Router has DD-WRT (v3.0-r33675M kongac Release: 11/03/17) firmware. I have set DHCP to serve network settings for all my computers. ...
user avatar
0 votes
0 answers
88 views

Local server not routable over ethernet

I'm unable to reach a local Raspberry Pi server (192.168.0.155) on my home network over Ethernet, though I can ssh to it perfectly fine over wifi. I have internet connectivity just fine through both ...
user avatar
2 votes
2 answers
9k views

How do I confirm 1000 Mbps link speed in DD-WRT?

Command dmesg | grep -i duplex returns nothing. Version is DD-WRT v3.0-r31100M kongac (01/08/17).
user avatar
1 vote
0 answers
354 views

RSYNC over SSH in Tomato/dd-wrt

I have installed Advanced Tomato ver 3.3-128 on my Asus RT-AC68R/U (ARMv7, 2 core). Additionally I have Entware installed too. This router is equipped with USBv3 port with 4 TB HDD connected. So I use ...
user avatar
1 vote
0 answers
106 views

OpenVPN: Routing by Destination Name OR Port, Not IP

On a DD-WRT router, OpenVPN uses policy based routing for 192.168.1.128/25. If the VPN goes down, the firewall denies access to clients in the range. I would like to add exceptions to the VPN routing....
user avatar
  • 272
1 vote
0 answers
194 views

Customize DD-WRT network and iptables via Android APP, is it possible?

How would you customize a DD-WRT configuration throught a ANDROID device paired to it? What I need is to modify a IPTABLES onstart script which forwards all traffic from one ip to another, and those ...
user avatar
  • 11
0 votes
1 answer
2k views

Nginx open() "/etc/nginx/nginx.conf" failed [closed]

I'm trying to run nginx on a very stripped down linux, and when I try to run it I get [emerg] 4905#0: open() "/etc/nginx/nginx.conf" failed (2: No such file or directory) and [alert] could not ...
user avatar
  • 115
1 vote
1 answer
508 views

Bash script fails in DD-wrt

I have the following bash script running at startup on my WRT1900ac linksys: USER="admin" PASS="passhere" PROTOCOL="http" ROUTER_IP="192.168.1.1" # Port to connect to which will provide the JSON ...
user avatar
  • 121
4 votes
4 answers
42k views

mount: mounting /dev/sda2 on /mnt/sda2 failed: Invalid argument

I'm following this tutorial. But I got stuck at step 9, somehow I'm not able to mount my USB. Every time I try to mount my USB I get the following error: root@OpenWrt:~# mount /dev/sda2 /mnt/sda2 ...
user avatar
0 votes
1 answer
1k views

OpenVPN on DD-WRT Internet connection problem

I have a DD-WRT router configured with OpenVPN server. I can remote into the network from an external client, but when i do I cannot access anything on the internet. i.e. only LAN connections. When I ...
user avatar
  • 621
1 vote
0 answers
102 views

Shape traffic flowing through dd-wrt router

I am working on an experiment in which several devices connect to each other via a wireless network. I want to be able to shape the traffic between the devices, i.e., control the bandwidth, latency, ...
user avatar
  • 11
1 vote
1 answer
964 views

Iptables drop access to specific ip address except from my ip

I've got a dd-wrt router running and I want to block access to a wireless printer from all ip addresses except from the ip addresses that are allowed. let's say my printer's ip is 192.168.1.101 and my ...
user avatar
1 vote
0 answers
68 views

DD WRT restrict access but exclude subdomain

I know it's possible to restrict access to some websites in Access restrictions section. I'd like to know if it possible to exclude from restriction subdomain of a site. For example: http://...
user avatar
  • 151
3 votes
0 answers
86 views

DD-wrt serial messages [closed]

Since I recently bricked my WDR3600 by accidentally flashing wrong firmware with mdt I had to do some soldering to make serial work. Since the window to entering bootloader cmd was really short I ...
user avatar
2 votes
0 answers
55 views

Restrict DD-WRT to VPN access

I have got a few computers which I don't want to get online without VPN. They're on their own 192.168.1.0/24 subnet. How can I limit the internet access to only be able to connect to my VPN host? The ...
user avatar
  • 131
1 vote
1 answer
419 views

Needed shell script modification to show IP and host DD-WRT

I am running DD-WRT v.3.0 on my Linksys EA6500 router and I have the following script running in order to give me access to the WiFi MAC address that are currently connected to the router: echo "#!/...
user avatar
  • 121
3 votes
1 answer
11k views

Using iptables to redirect all traffic to local webserver

I'm trying to redirect all traffic on my wifi router to a local webserver using iptables. I'm not sure I have got the command right and also I want to exclude the router IP (172.16.0.1) from the rule ...
user avatar
1 vote
1 answer
2k views

Change LAN MAC on DD-WRT router for swap

DD-WRT's interface shows options to change the WAN and WLAN MAC but not the LAN MAC. I have two identical DD-WRT routers with identical configurations on them but since the LAN MAC is not the same, ...
user avatar
  • 111
1 vote
0 answers
220 views

iptables Forward port range on dd-wrt for proxmox vnc

I am running proxmox on my LAN and DD-WRT for my router... I want to use cloudflare with proxmox, but cloud flare only allows these ports(https): 2087, 2096, 8443. But proxmox VNC ports are 5900-5999.....
user avatar
2 votes
1 answer
754 views

How to properly port forwarding between different machines using UFW / iptables and DD-Wrt?

This is my network I want to see my ip_camera (192.168.3.4:80) from outside my house. It is on dd-wrt router (192.168.3.1) without internet. The router 192.168.1.1 has internet. However, i have a ...
user avatar
  • 55
1 vote
0 answers
81 views

Router setting to access computer via its external IP

I use DD-WRT on my router. A few years ago I happened across a setting that allowed me to access my own computer (e.g. using the browser while a web server was running) using the computer's external ...
user avatar
1 vote
1 answer
1k views

Setting up DD-WRT behind a DSL router/modem from ISP

Okay so I bought a Buffalo WBMR-HP-G300H the first router/modem that supports DD-WRT, after having managed to get dd-wrt to run on the router without problems the next step was to plug my dsl cable ...
user avatar
0 votes
1 answer
469 views

How to Connect a Router to a WiFi Source in DD-WRT

Portable travel routers like the D-Link DIR-510L have the ability to connect to other routers wirelessly as their source and provide a separate wireless network. This is advantageous when traveling ...
user avatar
3 votes
1 answer
1k views

DD-WRT and mount command

I want to mount my usb drives using UUID or Labels. The busybox provided mount does not support these functions. I installed mount-utils from entware. However the busybox mount overrides the mount ...
user avatar
  • 348
0 votes
1 answer
172 views

dd wrt firmwire file prompt password while extracting

Last day i download a dd wrt firmware dd-wrt.v24-21676_NEWD-2_K2.6_mini-e900.bin for Linksys E 900 router. I need to extract this image for development. i try to extract this file using 7zip but ...
user avatar
  • 117
1 vote
0 answers
698 views

Valid iptables Firewall on DD-WRT to access Internet on a Virtual Access Point

Device: Linksys WRT54G v5.1 Firmware: DD-WRT v24-sp2 (07/22/09) micro - build 12548M NEWD Eko I use this router as an AP with 2 SSIDs (Private wl0 + Guest wl0.1) and I connect it to a switch (...
user avatar
  • 111
1 vote
0 answers
403 views

Switch gateways on failure (WRT)

I have two WRT routers each connected to their own wireless gateway (cell phone and hotspot across the street). The routers lans are bridged with WDS and on the same subnet, so clients can connect to ...
user avatar
  • 21
4 votes
0 answers
4k views

Can't login via telnet in ddwrt

I have a Gateworks laguna 2388 router with dd-wrt firmware installed in it. It was working fine till i change "http_passwd" nvram attribute. I wanted to change the web GUI password via telnet. So I ...
user avatar
1 vote
0 answers
1k views

/opt partition not mounting in DD-WRT v24-sp2

I'm facing problems trying to install optware packages on a TP-Link TL-WR841n v8 running DD-WRT v24-sp2 (4MB flash, 32MB RAM). I did the following through telnet: nvram set jffs_mounted=1 nvram set ...
user avatar
1 vote
1 answer
2k views

iptables allow INPUT from a specific url

I'm using DD-WRT, and can telnet into it to add iptable rules. I'm looking for a rule that will allow IN from a specific address (say, mydomain.com) on port 80 that will point to an internal IP (say, ...
user avatar