Skip to main content

All Questions

Tagged with
14 questions with no upvoted or accepted answers
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
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
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
1 vote
0 answers
432 views

assign IP to tinyproxy on OpenWrt

I have installed tinyproxy on OpenWrt and now I want to make rules for iptables that match traffic from tinyproxy. I want to mark this traffic with set-mark and route it to different routing table. My ...
userbb's user avatar
  • 131
1 vote
1 answer
2k views

Openwrt in bridge mode - ebtables kernel error

I have a setup at home as follow: DHCP clients -----> (wifi)(bridge) Openwrt -----> (eth)Main Router The device I'm using is TPlink MR3020 with Barrier Breaker and I tried to set up ...
Enes Aldemir's user avatar
1 vote
0 answers
636 views

Advanced QoS on prioritized first packages set by ISP

I have the following problem my ISP (Fibertel from Argentina) accelerates, 'enhances' the first 6.8 megabytes of downstream transfer and it's seems the first 1.8 megabytes of upstream transfer. This ...
OmniWired's user avatar
  • 133
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
0 votes
1 answer
350 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
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
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
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
0 answers
600 views

IPTables scenario explanation (How does my log rules are being hit?)

I have the iptables rules bellow from my OpenWRT router, I can not understand the scenario, in which my two logging rules are being hit (inside zone_wan_dest_REJECT and zone_wan_src_REJECT), because -...
Mohammed Noureldin's user avatar
0 votes
1 answer
920 views

ddwrt to openwrt; blocking a host name or domain based on mac address

I'm a recent convert from ddwrt to openwrt. On ddwrt, I could use the lines below to block the amz address for my firetv. I tried doing this on openwrt, but I can still access the address. insmod ...
snapplex's user avatar
  • 109