Skip to main content

All Questions

Tagged with
2 votes
1 answer
195 views

Preserve incoming interface for answers in openwrt router

I have a Openwrt router with three interfaces: interface br-lan: IP: 172.16.21.1 in a LAN network (172.16.21.0/24). interface eth1: IP: 172.16.22.2 a WAN network (172.16.22.0/30) with Internet access....
Maxfer's user avatar
  • 31
0 votes
1 answer
1k 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 ...
Francesco's user avatar
1 vote
0 answers
232 views

Redirect all http traffic to static address in OpenWrt on Raspberry

I have an ISP router with IP 192.168.1.254. I installed OpenWrt on my Raspberry PI 3 B. Raspberry is connected to the ISP router via ethernet On the Raspberry I configured 2 networks: wan wifi ...
firegloves's user avatar
1 vote
0 answers
222 views

OpenWRT: Redirect traffic for single clients to different gateway

I am currently reversing a wifi toy. To analyse the devices protocol I would like to redirect its traffic to a linux machine (kali). Then I am using sslsplit to peek into the ssl traffic (CA.cert is ...
Schr0nk's user avatar
  • 11
0 votes
1 answer
105 views

Preventing connections to specific host on LAN

I have a NAS running a web app on port 8081, with IP 192.168.0.2, and a reverse proxy server (separate machine) with IP 192.168.0.3. In order to access the web app (which I wouldn't want to expose to ...
Manchineel's user avatar
  • 1,041
0 votes
1 answer
349 views

Captive portal (nodogsplash) stops working if iptables - hashlimit rules entered (OpenWRT)

I have setup a hotspot device with openwrt. It has nodogsplash installed for hotspot functions and iptables for limit bandwith. When i was testing speed limit script, hotspot was disabled for testing ...
Selim Akpınar's user avatar
1 vote
0 answers
341 views

OpenWRT, iptables and ipset rule for redirect destination host to another ip?

How to redirect destination host to another ip? This rule don't work: iptables -t nat -I PREROUTING -m set --match-set redirectsites src,dst -j DNAT --to-destination ipaddr Could you explain, what ...
Kvartu's user avatar
  • 11
0 votes
0 answers
120 views

iptables can't match https traffic

I got a WiFi router(xiaomi HD) with customized openwrt OS and I added some iptables rules trying to count https traffic, but it seems the rule can't match https traffic. Here are the rules(on router)...
jack.teng's user avatar
1 vote
1 answer
5k views

Properly block ports on openwrt

I want to block certain protocols to be used, and I do this by blocking their ports such as 53. I tried to edit /etc/config/firewall adding: config rule 'stopdns' option name 'stopdns' ...
pomur's user avatar
  • 23
5 votes
2 answers
3k views

TLS Handshake resets for some web sites when using OpenWRT router

Currently I'm facing a very strange issue with my router. I have TP-Link TL-WDR4300 rev. 1.7 running OpenWRT 18.06.1. The problem originally started 1-2 months ago, when I had OpenWRT 15.05, and the ...
Andrey Sapegin's user avatar
0 votes
2 answers
201 views

Linux IP tables on Open-WRT: forwarding vs stateful packet filtering

I followed the Unix and Linux System Administration Handbook, 5th edition's complete example for iptables. The stateful packet filtering has allowed me to print remotely on my MakerBot, but I could ...
quaternionist's user avatar
2 votes
1 answer
814 views

OpenWRT port redirection

I have an OpenWRT router. What I need to achieve is a port redirection within my LAN zone. What I mean is, every time I hit local address on port 40413 it should to be redirected to 192.168.1.111:...
Bastian KG's user avatar
0 votes
2 answers
159 views

Server substitution. Emulating internet server

I have two networks sequent networks both hidden under own NAT 192.168.31.0/24 -> 192.168.33.0/24 -> Internet I have a TCP server on 192.168.33.35 and a client on 192.168.31.32 A client does a TCP ...
Pheu Verg's user avatar
0 votes
0 answers
1k views

iptables PREROUTING and POSTROUTING doesn't seem to forward any packets (OpenWRT)

I am trying to mirror all packets sent or received by Device B and send them to Device A for logging. I have an OpenWRT acting as a wireless access point, and I have issued the following commands to ...
Ian Riley's user avatar
  • 101
0 votes
1 answer
234 views

Can I encapsulate or alter UDP length?

While packet capturing on a game server I noticed my connection is sending a constant stream of UDP packets all of which roughly 64 bytes in length. How can I merge these packets to send a stream of ...
MrTod's user avatar
  • 53

15 30 50 per page