0
votes
0answers
31 views

OpenWRT firewall redirect punch through

I am using an OpenWRT based firmware on a Netgear router as part of a research project that links the router to an existing broadband router to allow members of the public to access the internet via a ...
1
vote
1answer
53 views

Macvlan-interface and PPP-session

I need to pick up two PPP-sessions on the same interface with different MAC-addresses (on some device with openWrt). I decided to check macvlans. I created an interface with another MAC-address. ...
0
votes
1answer
434 views

how to use iptables to block the IP of device connected to openwrt router

I have two routers(A,B).the A connect to internet with IP:192.168.1.1 The openwrt router B connect the lan of A by bridge with static IP:192.168.1.111. I am learning to use iptables to control the ...
1
vote
3answers
416 views

Linux routing - Access external IP from LAN

I'm using OpenWRT (linux based) on my router. The router has a local IP and a public IP. I have a dyndns name assigned to the public IP. The router is forwarding several ports (e.g. ssh and https) to ...
0
votes
1answer
696 views

PRIO qdisc example not working

I have a TP-Link WR1043-ND with OpenWrt 12.09 (r36088, Linux 3.3.8). There is a bridge called br-lan joining eth0.1 (tagged VLAN for the 4 LAN ports) and wlan0 (Wi-Fi). There is also the WAN port at ...
2
votes
1answer
1k views

Stop squid caching 302 and 307 with deny_info

TLDR: 302, 307 and Error pages are being cached. Need to force a refresh of the content. Long version: I've setup a very minimal squid instance running on a gateway which shouldn't not cache ANYTHING ...
2
votes
0answers
178 views

how to measure IP bandwidth in pass through mode in linux?

I want to measure the IP bandwidth in pass through mode. Please find the attached picture for configuration and my question also. If there is no solution with OpenWRT, I need any alternative ...
1
vote
2answers
788 views

Openwrt two nic on the same vlan instead of alias?

I have a TP-Link WR1043ND with 1 wan and 1 lan cables attached. The lan cable currently have 2 ips of two different network, using an alias. The two networks share the same switch. I'd like the ...
1
vote
1answer
449 views

Rewrite URL based off of IP on OpenWRT

We are running OpenWRT on a WRT54GL. I have been looking for an answer to this, but I can't seem to figure out what to search for, if its possible, or what combination of programs to use. I want to ...
1
vote
2answers
412 views

Output only the last 2 minute's log

I have a log file: http://pastebin.com/raw.php?i=cdUpTqNV the first column, before the "ASDF" is the same time, as in the given row, but in unix time [i think it's easier to do this with unix time]. ...
0
votes
1answer
105 views

How can I manipulate dates on each line in a file using only minimal *nix tools?

http://pastebin.com/raw.php?i=rCLH4r4M I have a text file: "hogyaza.txt". I want to convert the "normal dates" in it [only at the line starting] to unix time. i know how to "convert" one line: $ ...
2
votes
2answers
2k views

how to get a list of the connected wifi clients in OpenWrt 10.03?

how to get a list of the connected wifi clients in OpenWrt 10.03?
1
vote
3answers
753 views

OpenWrt logging: how to find out “wifi deauthentication”

If someone starts to use the wifi, i can see that with logread: Jan 23 21:04:47 router daemon.info hostapd: wlan0: STA XX:XX:XX:XX:XX:XX IEEE 802.11: authenticated But how can i see, that he/she's ...
2
votes
4answers
8k views

How to send mail from an OpenWrt router

I am using OpenWrt 10.03 and need to send "reports" from my router by email. I have installed sendmail: # opkg install mini-sendmail Then I used my ISP's smtp server: # echo -e "From: ...
0
votes
3answers
695 views

sniff when using ssh tunneling

From my PC, i use: ssh -fND localhost:6000 USERNAME@IPADDRESS -p PORTNUMBER and i set this true in Firefox: network.proxy.socks_remote_dns and i set the socks proxy to 127.0.0.1:6000 in Firefox, ...
1
vote
2answers
3k views

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 ...