<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://sarwiki.informatik.hu-berlin.de/index.php?action=history&amp;feed=atom&amp;title=BRN%3ASoftware%3AHTTP-Redirect</id>
	<title>BRN:Software:HTTP-Redirect - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://sarwiki.informatik.hu-berlin.de/index.php?action=history&amp;feed=atom&amp;title=BRN%3ASoftware%3AHTTP-Redirect"/>
	<link rel="alternate" type="text/html" href="https://sarwiki.informatik.hu-berlin.de/index.php?title=BRN:Software:HTTP-Redirect&amp;action=history"/>
	<updated>2026-04-07T13:30:57Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.6</generator>
	<entry>
		<id>https://sarwiki.informatik.hu-berlin.de/index.php?title=BRN:Software:HTTP-Redirect&amp;diff=6568&amp;oldid=prev</id>
		<title>Jeschke at 11:18, 11 January 2007</title>
		<link rel="alternate" type="text/html" href="https://sarwiki.informatik.hu-berlin.de/index.php?title=BRN:Software:HTTP-Redirect&amp;diff=6568&amp;oldid=prev"/>
		<updated>2007-01-11T11:18:47Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;# You need to route all &amp;#039;&amp;#039;&amp;#039;http&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;dns&amp;#039;&amp;#039;&amp;#039; packets in your click graph from wireless stations to the Linux kernel and it&amp;#039;s local/serv device. Modify the main click [https://sarforge.informatik.hu-berlin.de/berlinroofnet/BerlinRoofNet/trunk/click/configurations/main configuration]:&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
 #TODO&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
# Rewrite the destination the DNS queries to your DNS server and masquerade the source adddress (at the access point):&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
 $ iptables -t nat -A PREROUTING -p udp --dport 53 -j DNAT --to 192.168.3.1:53&lt;br /&gt;
 $ iptables -t nat -A POSTROUTING -d 192.168.3.1 -p udp --dport 53 -j MASQUERADE&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
# (optional) If you do not have access to a DNS server install a DNS local resolver (TODO)&lt;br /&gt;
# Now you can redirect the HTTP queries to your local httpd:&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
 $ iptables -t nat -A PREROUTING -p tcp --dport 80 -j DNAT --to 10.9.0.1:80&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Jeschke</name></author>
	</entry>
</feed>