OpenWrt Forum Archive

Topic: Need help with upside-down-ternet

The content of this topic has been archived on 29 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hi guys,

you might heared about ex-parrot

http://www.ex-parrot.com/pete/upside-down-ternet.html

I tried to to that on my wl-500 g with kamikaze (last), but i couldn't follow the steps, because i suppose that the guy is using a different firmware.

I would be very glad, if you could help me...or if you did this with openwrt, what i should adhere?

Thank you very much !

For the DHCP part, see the documentation for dnsmasq (or install ISC dhcpd, but getting dnsmasq to do what you want is probably better.)

http://www.thekelleys.org.uk/dnsmasq/do … q-man.html
http://www.thekelleys.org.uk/dnsmasq/docs/FAQ

The iptables stuff should work without a problem.

For the redirection script you would need Squid abd ImageMagick.  I doubt he's running it on a router.  He's probably got Squid running on a separate machine and he just uses iptables on the router to redirect to that.

Thanks wodin,

i understood now the part with dhcpd...but iptables..i couldn't find this on my kamikaze? or do i have to create it?

For the redirection script, probably he is using squid...then i could use my pc, installing squid + imagemagick....

thank you for your help!

You should be able to put the iptables rule in firewall.user.  Just change the IP addresses as necessary.

Use one or the other.  If you want to redirect to kittenwar, use the first script.  Then Squid and the redirect script will not be necessary.  If you want to invert the images, use the second rule and squid etc.

The discussion might have continued from here.