Questions tagged [openwrt]
OpenWrt is a Linux distribution primarily targeted at routing on embedded devices.
213
questions
0
votes
0
answers
8
views
I want to test IGMP capability of a OpenWRT based router. How caan i test?
This is what I want to test out,
SEE IMAGE: Router connected to users and is accessible over the internet as well
PC1 and PC2 should be able to join some group(s).
Should be able to leave group as ...
-1
votes
0
answers
52
views
OpenWrt: Local Domain overridden by public DNS
I have made a weird observation regarding my local domain resolution using my OpenWrt router.
My goal was to avoid needing a public DNS lookup, when going to my server in my home network, meaning www....
0
votes
0
answers
17
views
IPSec established but cannot ping remote LAN
I have successfully established IPSec in my OpenWrt router but I am unable to ping the remote subnet.
Below are the related files
cat ipsec.conf
conn vpn3
keyexchange=ikev2
left=10.129.170.132
...
0
votes
0
answers
58
views
OpenWrt adds second default route
I have OpenWrt router (gw: 192.168.4.1, dev: wlan1), connected to another wifi network (gw: 192.168.0.1, dev: wlan0). I setup openVpn on that router (gw: 172.26.254.1, dev: tun0).
When I connect to ...
0
votes
0
answers
135
views
ssh through openVPN on openWRT hangs on SSH2_MSG_KEXINIT sent
I'm encountering a problem where ssh to a remote server hangs with the message SSH2_MSG_KEXINIT sent. I have already explored the MTU options with no luck.
Case 1 (fails)
This happens when I ssh from ...
0
votes
0
answers
131
views
Do I need some specific firewall configuration for an openvpn-client in a docker container to get a working port forward from openvpn-server?
I have set-up a port forwarding at my VPN provider like:
VPN_EXT_IP:60000 --> VPN_INT_CLIENT_IP:60000
I have a docker-compose which looks something like:
version: "3.5"
networks:
ext:
...
0
votes
0
answers
64
views
asuswrt simple port forward (router in DMZ) not working
On a relatively simple remote network I'm trying to forward to one service on an internal host, but it is strangely not working.
The setup is like this:
modem defines internal asuswrt merlin router ...
0
votes
0
answers
62
views
Transform Broadcast packet in Unicast packet with iptables and ebtables
I've been struggling with this problem for months, and my limited networking knowledge doesn't allow me to progress further, so here I am asking for an advice.
I have an OpenWRT Router with two ...
1
vote
1
answer
381
views
How can I MASQUERADE between vlan bridges
I have created two VLAN bridges in openwrt based system which has single physical interface.
*) eth0->lan->br-lan
*) br-lan->br-lan.2(VLAN INTF)->br-vlan2(BRIDGE INTF)
*) br-lan->br-lan....
0
votes
1
answer
63
views
How to add a routing rule that only match "dport"?
In my OpenWrt box, I want to route only a specific protocol(tcp:1888) to a tun interface only for one PC(192.168.28.2), so I do as following:
ip rule add from 192.168.28.2 dport 1888 lookup 123
ip ...
2
votes
1
answer
195
views
How to block devices connecting to a specific wireless interface from accessing the internet?
I have configured my OpenWRT WiFi router with two wireless interfaces: wlan0 and wlan0-1. My WAN ethernet interface is eth0.2.
How do I prevent devices that connect to wlan0-1 from accessing the ...
0
votes
1
answer
195
views
OpenVPN and IPTABLES - How to assign lan (vpn) gateway to clients
I am trying to set up my openvpn network but I have a problem.
My LAN configuration is as follows:
main router Zyxel 192.168.1.1 acting as gateway (vdsl connection) and
access point;
openwrt router ...
0
votes
0
answers
461
views
Communication between network interfaces in different subnets LEDE openWRT
i'm using TP-Link MR3220v2 with its Openwrt firmware. what I would like to do should be simple, but I am not succeeding. i have 3 devices in two different subnets and i would enable communication ...
0
votes
1
answer
46
views
Redirect TLS traffic by hostname
I have an IoT device that connects to a.iot.x.amazonaws.com at port 8883 (secure MQTT).
I would instead like it to connect to my own site at b.iot.x.amazonaws.com (same port and protocol). I would ...
0
votes
0
answers
108
views
IPv6 connection drops after renewing an address
I have a router running OpenWrt and a machine with embedded Linux built with Yocto. I need to detect lease renewing in my C application. On my router I decrease lease time to 30 seconds. When I log on ...
0
votes
0
answers
38
views
Error in changing traffic classification of CAKE in OpenWrt
I am currently using OpenWrt (version: 19.07.7) on Virtual Box (version: 6.1).
As also having a Linux machine that I use, in order, to ssh into OpenWrt and route synthetic traffic to it.
And trying ...
0
votes
1
answer
1k
views
Is it possible to force the DHCP server to assign a different IP address each time the address is renewed?
I need to detect IP address renewals in my C++ Linux application and check if the new address is different from the old one. I have access to a router running OpenWrt. I can change the lease time, but ...
0
votes
0
answers
603
views
OpenWRT overlay expansion via extroot
I am trying to get a router to expand it's overlay area so that I can install some tools on it. The router is running OpenWRT 19.07.7, and I tried following these instructions:
https://openwrt.org/...
0
votes
0
answers
340
views
Requests to WAN IP are served by LAN interface on OpenWrt
Here's the situation. I have OpenWrt installation with multiple zones:
WAN - let it be 1.1.1.1
LAN0 - 192.168.0.0/24
LAN1 - 192.168.1.0/24
After forwarding some port from WAN to LAN0 I can reach it ...
0
votes
1
answer
367
views
Unraid share fails to mount on OpenWRT using mount.cifs?
So I have an Unraid machine with some shares on it and I would like to be able to mount this share on my OpenWRT router for backing up/transfering files onto the router (avoids having to plug-in/...
0
votes
1
answer
453
views
How to get internet/networking on QEMU for OpenWrt under Windows?
I would like to run a Internet-capable OpenWrt-Box on a Windows10 Machine using QEMU.
I have tried this command:
"c:\Program Files\qemu\qemu-system-aarch64.exe" -m 1024 -smp 2 -cpu cortex-...
0
votes
0
answers
152
views
OpenVPN on OpenWRT fails to connect "connection timeout"
It seems very elegant to be able to connect to your homenetwork from any public accesspoint without being worried to disclose your traffic. So dispite my lack of computer network experience, and after ...
1
vote
1
answer
3k
views
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....
0
votes
1
answer
189
views
Capturing IEEE802.11.x auth and capabilities data with tcpdump?
I'm troubleshooting some issues with my wireless network (OpenWrt 19.x and mobile device) and I came across this:
https://dot11.exposed/2017/09/20/violation-of-802-11-standard-intel-wireless-cards-...
1
vote
1
answer
2k
views
OpenWrt allow IPv6 rule to access a server with global IPv6 on local area
First of all, I have a domain with dns configured to point to my device global address witch is set to static with my ISP gloabl prefix as xxxx:xxxx:xxxx:de01::3/64 in dhcpcd.conf.
I'm using Openwrt ...
2
votes
1
answer
913
views
Does Dropbear know what a ~/.ssh/config file is?
I want to ssh from one host (OpenWrt running Dropbear) to another host on the same LAN that is running open-ssh server and client.
I converted the private open-ssh key of the other host to dropbear ...
0
votes
1
answer
1k
views
setting up load balancing with mwan3 on openwrt
I want my traffic going through USB-tethering, while destination to 192.168.0.0/24 going to WAN port. I have SSH-ed into the GL-AR750S and opkg-install-ed luci-app-mwan3. Both interfaces are up and ...
0
votes
1
answer
2k
views
How do I block all traffic to all ports except 80/443 in OpenWRT?
I'm trying to do some testing and would like to setup my network to only allow traffic on 80/443, expect for specific IP addresses where I will specify a TCP port and UDP port.
Once completed, I want ...
0
votes
0
answers
2k
views
StrongSwan config issue: no matching peer config found
I am trying to establish a VPN between my router (running OpenWrt) and my smartphone using IPsec.
I followed the guide at https://openwrt.org/docs/guide-user/services/vpn/ipsec/strongswan/roadwarrior
...
0
votes
2
answers
104
views
StrongSwan: manually expire security association
I am working on automating some software tests involving IPSec and StrongSwan. These tests basically apply a swanctl.conf file to two gateway machines, then establish a tunnel between them. It then ...
0
votes
0
answers
1k
views
Use WireGuard for combining bandwidth (multiwan)
Is it possible to combine multiple uplinks for getting faster VPN access to a server with WireGuard?
I already played around with MultiWAN (mwan3, OpenWRT) in the past but for VPN access, its only ...
0
votes
1
answer
2k
views
How can I setup dnsmasq wildcard cnames for domains generated from dhcp leases?
I have an OpenWRT router with automatic dhcp domains enabled. This way, for host example-host, I automatically get an A record for example-host.lan to 192.168.1.2.
I am trying to setup a wildcard ...
0
votes
1
answer
857
views
How to set up Kubernetes (k8s) environment on an open-wrt based node connected in a cluster?
Openwrt OS support ".opk" file format extensions for the packages to be installed on the top of it. For that k8s, kubelet binaries are availbale but the procedure is to generate an installable ...
1
vote
1
answer
197
views
How to clone egress UDP packets & send them to the same destination in order
This is what I want,LAN---- (UDP packets flow)----->Router [Mirror UDP packets & send these packets to the same destination port/IP in order]--------> Internet.
Any idea?
Side note: I want to try ...
0
votes
1
answer
3k
views
TP-LINK TL-MR6400 IPSEC L2TP VPN tunnel with GCP server
I have a TP-LINK TL-MR6400 router, connected to internet by means of an LTE sim.
This is a very rough network diagram of my current situation.1
My IoT services sit behind the TL-MR6400.
Unfortunately ...
0
votes
1
answer
89
views
Check forwarding queue occupation on router
I have a router forwarding traffic from a network to another and I need to know when the packet queue (in the receiving side/interface - rx) occupation is close to its maximum capacity.
However, ...
1
vote
1
answer
76
views
gitolite on openwrt - ssh not using gitolite
I've set up a gitolite installation on OpenWrt-18.06.04 according to this guide:
https://openwrt.org/docs/guide-user/services/gitolite
Step 9 of the "actual install" suggests removing the RSA-key ...
2
votes
1
answer
272
views
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 ...
0
votes
1
answer
1k
views
OpenWRT + OpenVPN - connection to the VPN succeeds but can't ping LAN, can't ping outside
I'm setting up a VPN connection using OpenVPN client on OpenWrt. The client connects to the server, but I can't ping any network hosts using the tun0 interface
Ping Examples:
ping -I tun0 192.168.1....
0
votes
1
answer
114
views
Dynamic SQM Settings
I've just set up my new router (WRT1900ACS) and installed OpenWRT. I have ADSL which makes it pretty hard to adjust the sqm up/download speed correctly as it differs depending on what day it is. Is ...
1
vote
1
answer
1k
views
separating three vlans on openwrt
I wanted to make a network with 3 separated VLANs
10.140.1.0/24
10.140.2.0/24
10.140.3.0/24
So I hooked up two routers TL-WR740n with Openwrt installed, and started experiments.
First router(10....
1
vote
0
answers
1k
views
tinyproxy - abyssmal performance
I installed tinyproxy on a GL-AR750s router (running dd-wrt). Performance is abyssmal.
When I load MSN non-proxied, non-cached on my laptop, it takes about 3 seconds. When I load MSN on the same ...
0
votes
1
answer
46
views
Discovery and communication between routers
I am working in an environment consisting of 4 OpenWrt routers, each serving multiple clients via Wi-Fi and containing. Each one of them provides the clients with Internet access.
I have 3 questions ...
3
votes
3
answers
1k
views
Show delegated ipv6 prefix at command line in OpenWRT
In OpenWRT’s gui “LuCI“ the delegated IPv6 Prefix provided by the ISP is diplayed in the status page in overview. Normally it will be shown under “IPv6 WAN Status“ in the “Network“ section like
IPv6 ...
1
vote
1
answer
6k
views
How to give a server a static IP address with OpenWRT/LuCI?
I have an OpenWRT router and a small home network on 192.168.0.0/24. I have a server which has the static IP 192.168.0.10.
How can I set up an A record in OpenWRT/LuCI for it, to give it a DNS name? ...
29
votes
2
answers
6k
views
Why is the maximum length of OpenWrt’s root password 8 characters?
When I try to set root's password:
root@OpenWrt:~# passwd
Changing password for root
Enter the new password (minimum of 5, maximum of 8 characters)
Please use a combination of upper and lower case ...
0
votes
0
answers
675
views
How to push a local DNS resolving entry to client when an OpenVPN connection established?
I am using OpenVPN-2.4.6 clients and an OpenVPN-2.4.5 server that resides an OpenWRT(18.06.01) router.
The OVPN client connects to the server by a public DNS name of the server(i.e pubName.my.router),...
0
votes
0
answers
551
views
Push DNS server instead of Router's IP on OpenWRT
I have a router with OpenWRT installed.
In the section Network → Interfaces → WAN → Edit → Advanced Settings I have set up my custom DNS servers (Cloudflare and Google).
Now my routers continues to ...
-2
votes
2
answers
415
views
How to find a static IP and MAC address(or a device that reject any request like ping) on a network
I have a windows 10 PC and if I enable network discovery or set a static IP to the PC I'm not able to find it's IP address or MAC address from my OpenWRT router using arp table or dhcp.lease. Like I ...
0
votes
1
answer
885
views
How to get the number of devices connected to openwrt in realtime?
I tryed cat /tmp/dhcp.leases | wc -l but have a time delay.
Is there any way to get the number of devices in real time, including wired and wireless devices?