Questions tagged [openwrt]

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

OpenWrt provides a fully writable filesystem with package management.

Some of the features:

  • Routing
  • QoS
  • Firewall
  • Traffic shaping
  • Load balancing
  • Network monitoring

Official site

227 questions
3
votes
1 answer

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 redirect all traffic incoming to the eth1 interface,…
Dani Camps
  • 301
  • 6
  • 11
3
votes
4 answers

OpenWRT + OpenVPN client forwarding from lan to vpn not working

I've OpenWRT router with Backfire 10.03.1-rc3 (arch:brcm 2.6 kernel) I've set up an OpenVPN client connecting my router with workplace lan, and it works nicely, I can connect from router to networks (several) in workplace. My OpenVPN client…
canni
  • 133
  • 1
  • 1
  • 4
3
votes
5 answers

Recommendation for easy to use router and setup to handle multiple VLANs, to avoid multiple DHCP servers conflicting

I'm trying to setup a network in which each computer must not be able to see the others on the network, only the router. The people involved don't necessarily know each other and don't necessarily know much about configuring a network. The problem…
user23815
  • 93
  • 1
  • 7
3
votes
2 answers

openwrt uses a single interface bridge?

My understanding of bridging is that it ties together two interfaces at layer 2. I am looking at a Ubiquiti Nanostation2 running OpenWRT that has an ethernet port 'eth0' and a wifi port 'ath0'. The ethernet port (the 'wan' port) is not part of the…
timbo
  • 229
  • 2
  • 4
  • 12
3
votes
2 answers

How to route host traffic over lxc?

Some info updated: Last login: Wed Aug 31 18:10:24 2022 root@pve:~# ip route default via 192.168.132.1 dev vmbr0 proto kernel onlink 192.168.132.0/24 dev vmbr0 proto kernel scope link src 192.168.132.4 root@pve:~# root@pve:~# ping 10.0.0.26 PING…
Ken Kin
  • 31
  • 5
3
votes
2 answers

OpenWRT - How to redirect all subdomains of a hostname, to the same host, so that it can be reverse proxied?

I have an OpenWRT router setup, 192.168.1.1, with search domain, local (as opposed to the default lan). I have a server setup, 192.168.1.200, with hostname, server.local. I have a workstation, 192.168.1.10, with hostname,…
2
votes
1 answer

Strange routing behavior, Synology combined with OpenVPN

Essentially the setup I've got is WAN <-> OpenVPN running on OpenWRT running on WRT3200ACM <-> LAN -> Gigabit Switch -> RPI and synology The openVPN tun is working fine and dandy. I get an IP address, I can ping the GW on both IP ranges (192.168.1.1…
ThomasRB
  • 31
  • 3
2
votes
1 answer

Why does Firefox show SSL_ERROR_BAD_CERT_DOMAIN with a self-signed wildcard certificate, but other browsers do not?

I assigned a self signed wildcard certificate to an OpenWRT (LEDE) router LUCI (uHTTPd) system. The CA which signed this certificate got added to all browsers as trusted certificate authoritiy. It works fine on Internet Explorer, Edge and Chrome,…
Michael Uray
  • 225
  • 1
  • 9
2
votes
1 answer

Allow traffic to/from specific IP with iptables in openwrt

I have a tp-link router with openwrt. I have 2 iptables rules to block P2P connections. The blockings working fine, but now I need a rule to allow traffic to/from a specific IP. my blocking rules: iptables -I FORWARD -m string --string "BitTorrent…
2
votes
0 answers

OpenVPN server on second router in LAN

I have two routers with OpenWRT and I have OpenVPN server on second one. The way from the internet is: router from ISP -> Linksys with OpenWRT -> TP-Link with OpenWRT and OpenVPN server. All routers are in one LAN (192.168.0.1 ISP -> 192.168.0.3…
jarul777
  • 21
  • 2
2
votes
1 answer

iptables not dropping by IP and port?

I have about 4 IP addresses that keep hitting a port on my network randomly I'd like to block. So I added the rules like this to my OpenWRT router: iptables -I INPUT -s FIRST_PUBLIC_IP -p tcp --dport 32400 -j DROP iptables -I INPUT -s…
Nathan
  • 124
  • 1
  • 7
2
votes
1 answer

Returning HTTP status 204 for GET /generate_204 using uhttpd?

To deal with the Android captive portal detection for my specific setup, I need to return an HTTP status code 204 whenever I get a GET request for /generate_204. I currently use uhttpd as my webserver, so I'm wondering whether this is possible to do…
Markus A.
  • 419
  • 7
  • 18
2
votes
0 answers

Routed AP openwrt

I am trying to use an Alice Gate2 as routed client to serve Internet connection to a smartTV via Ethernet. The network topology should be as follows: Internet -->(wired)-->[R1]---> (wireless)----> [R2(openwrt)]--(wired)---> smartTV R1 is on…
ale_tri
  • 121
  • 1
2
votes
3 answers

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, but I can find mac address of connected…
Enes Aldemir
  • 21
  • 1
  • 4
2
votes
1 answer

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 range 10.0.2.0/24 wi-fi-2: interface br-vpn ip…
Michael
  • 121
  • 1
  • 1
  • 3
1 2
3
15 16