<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:Helvetica;
panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
{font-family:Consolas;
panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman","serif";
color:black;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
pre
{mso-style-priority:99;
mso-style-link:"HTML Preformatted Char";
margin:0in;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:"Courier New";
color:black;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
{mso-style-priority:99;
mso-style-link:"Balloon Text Char";
margin:0in;
margin-bottom:.0001pt;
font-size:8.0pt;
font-family:"Tahoma","sans-serif";
color:black;}
span.HTMLPreformattedChar
{mso-style-name:"HTML Preformatted Char";
mso-style-priority:99;
mso-style-link:"HTML Preformatted";
font-family:Consolas;
color:black;}
span.BalloonTextChar
{mso-style-name:"Balloon Text Char";
mso-style-priority:99;
mso-style-link:"Balloon Text";
font-family:"Tahoma","sans-serif";
color:black;}
span.EmailStyle21
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:#1F497D;}
span.EmailStyle22
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:#1F497D;}
span.EmailStyle23
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body bgcolor=white lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>OK,…<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>I went through the .config file and menuconfig settings and can not find anything specific to iptables and nat. What am I not seeing or am I missing something?<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>BTW, the kernel source I am using is 3.7.1<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext'> Voyage-linux [mailto:voyage-linux-bounces+jschultz0614=gmail.com@list.voyage.hk] <b>On Behalf Of </b>Markus Fischer<br><b>Sent:</b> Tuesday, December 18, 2012 3:51 AM<br><b>Cc:</b> 'Voyage-Linux'<br><b>Subject:</b> Re: [Voyage-linux] iptables and voyage 0.7.5<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal style='margin-bottom:12.0pt'><span style='font-size:10.0pt;font-family:"Helvetica","sans-serif"'>Hi John,<br><br>Well, from what I see, you simply have no kernel modules for iptables with "nat".<br>My output of "lsmod|grep ip_" is e.g.<br>ip_tables 7445 2 iptable_filter,iptable_nat<br>x_tables 8882 4 iptable_filter,ipt_MASQUERADE,iptable_nat,ip_tables<br><br>So an option would be to recompile the kernel with iptables and Masquerade and NAT options.<br><br>Maybe someone else can fill in here for me and help with other options or another point of view to be more helpful.<br><br>Greets,<br>Markus <br><br></span><o:p></o:p></p><div><p class=MsoNormal>Am 18.12.2012 11:25, schrieb John Schultz:<o:p></o:p></p></div><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Dmesg output is attached.</span><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> </span><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Lsmod:</span><o:p></o:p></p><p class=MsoNormal style='margin-left:.5in'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>ip_tables 8167 1 iptable_filter</span><o:p></o:p></p><p class=MsoNormal style='margin-left:.5in'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>x_tables 9087 4 xt_tcpudp,xt_conntrack,iptable_filter,ip_tables</span><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> </span><o:p></o:p></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Helvetica","sans-serif"'>modprobe:</span><o:p></o:p></p><p class=MsoNormal style='margin-left:.5in'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>WARNING: All config files need .conf: /etc/modprobe.d/hostap-utils, it will be ignored in a future release.</span><o:p></o:p></p><p class=MsoNormal style='margin-left:.5in'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>FATAL: Module iptable_nat not found.</span><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> </span><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> </span><o:p></o:p></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext'> Voyage-linux [<a href="mailto:voyage-linux-bounces+jschultz0614=gmail.com@list.voyage.hk">mailto:voyage-linux-bounces+jschultz0614=gmail.com@list.voyage.hk</a>] <b>On Behalf Of </b>Markus Fischer<br><b>Sent:</b> Tuesday, December 18, 2012 2:28 AM<br><b>Cc:</b> 'Voyage-Linux'<br><b>Subject:</b> Re: [Voyage-linux] iptables and voyage 0.7.5</span><o:p></o:p></p></div></div><p class=MsoNormal> <o:p></o:p></p><p class=MsoNormal style='margin-bottom:12.0pt'><span style='font-size:10.0pt;font-family:"Helvetica","sans-serif"'>Hi John,<br><br>yeah, ignore hostap-utils.<br>It looks like iptables is kind fo misconfigured or modules are not there.<br>I've never seen this trouble in my 0.7.5 installations. Right now, I just have a 0.8 installation to test on, but there everything is running, as I expect it to.<br>So let's see, how to figure out, what you're missing. ;)<br><br>Does "dmesg" state anything about iptables?<br>What is the output of "lsmod | grep ip_"?<br>And the output of "modprobe iptable_nat" looks like?<br><br>Greets, Markus<br><br><br></span><o:p></o:p></p><div><p class=MsoNormal>Am 18.12.2012 09:33, schrieb John Schultz:<o:p></o:p></p></div><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>The results your looking for are as follows:</span><o:p></o:p></p><p class=MsoNormal style='margin-left:.5in'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>WARNING: All config files need .conf: /etc/modprobe.d/hostap-utils, it will be ignored in a future release.</span><o:p></o:p></p><p class=MsoNormal style='margin-left:.5in'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>iptables v1.4.8: can't initialize iptables table `nat': Table does not exist (do you need to insmod?)</span><o:p></o:p></p><p class=MsoNormal style='margin-left:.5in'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Perhaps iptables or your kernel needs to be upgraded.</span><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> </span><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>At this point, im not worried about the /etc/modprobe.d/hostap-utils warning, that’s next after the iptables issue.</span><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> </span><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Thanks again,</span><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>John</span><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> </span><o:p></o:p></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext'> Markus Fischer [<a href="mailto:Markus.Fischer@brown-iposs.eu">mailto:Markus.Fischer@brown-iposs.eu</a>] <br><b>Sent:</b> Tuesday, December 18, 2012 1:23 AM<br><b>To:</b> John Schultz<br><b>Cc:</b> 'Voyage-Linux'<br><b>Subject:</b> Re: [Voyage-linux] iptables and voyage 0.7.5</span><o:p></o:p></p></div></div><p class=MsoNormal> <o:p></o:p></p><p class=MsoNormal style='margin-bottom:12.0pt'><span style='font-size:10.0pt;font-family:"Helvetica","sans-serif"'>Hi John, everybody,<br><br>I will give it a try. I guess the "1.0" value might represent some indicator of a metric. Nothing to worry about in my opinion.<br>About iptables.<br>Please try the " iptables -nvL -t nat" command and post the output.<br>The iptables man page gives you more info about the options, but in short:<br>-n : numeric output, just to make sure, we'll see IPs, no host names<br>-v : as always - give us as many hints as possible ;)<br>-L : List , you already used that one<br>-t : table, for specific exercises, iptables uses specific tables. One default one is "nat", clearly the one you intend to investigate/troubleshoot<br><br>Good luck, I hope this helps a little.<br><br>Best regards,<br>Markus<br><br><br><br></span><o:p></o:p></p><div><p class=MsoNormal>Am 18.12.2012 08:49, schrieb John Schultz:<o:p></o:p></p></div><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><pre>OK.....<o:p></o:p></pre><pre>10.1.0.1 is the gateway. The graphic was obtained by using OLSR. I believe<o:p></o:p></pre><pre>the arrows mean that the specific node has a route to the other node that it<o:p></o:p></pre><pre>is attached to, and the 1.0, I could not tell you. Ive never found<o:p></o:p></pre><pre>information on that part of the plugin for OLSR. And you are correct in that<o:p></o:p></pre><pre>I am using a /16 on this particular network.<o:p></o:p></pre><pre> <o:p></o:p></pre><pre>I have tried modprobe iptable_nat and modprobe ip_nat_ftp. All the sites Ive<o:p></o:p></pre><pre>read, this was the only suggestion found and that was one site of MANY. <o:p></o:p></pre><pre> <o:p></o:p></pre><pre>Scripting the firewall rules is not a problem.<o:p></o:p></pre><pre> <o:p></o:p></pre><pre>The goal is to allow traffic from the mesh network to pass through the<o:p></o:p></pre><pre>gateway and eventually, lock down the traffic. What I would like to do,<o:p></o:p></pre><pre>eventually, is attached in the diagram. We are planning on hundreads of<o:p></o:p></pre><pre>these nodes if not more. The three node environment is just a proof of<o:p></o:p></pre><pre>concept.<o:p></o:p></pre><pre> <o:p></o:p></pre><pre>Thanks again,<o:p></o:p></pre><pre>John<o:p></o:p></pre><p class=MsoNormal><br><br><br><br><br><o:p></o:p></p><pre>_______________________________________________<o:p></o:p></pre><pre>Voyage-linux mailing list<o:p></o:p></pre><pre><a href="mailto:Voyage-linux@list.voyage.hk">Voyage-linux@list.voyage.hk</a><o:p></o:p></pre><pre><a href="http://list.voyage.hk/mailman/listinfo/voyage-linux">http://list.voyage.hk/mailman/listinfo/voyage-linux</a><o:p></o:p></pre></blockquote><p class=MsoNormal><br><br><br><br><o:p></o:p></p><pre>-- <o:p></o:p></pre><pre>----------------------------------------------------------<o:p></o:p></pre><pre> <o:p></o:p></pre><pre>Markus Fischer<o:p></o:p></pre><pre>brown-iposs GmbH<o:p></o:p></pre><pre>Friedrich-Breuer-Straße 120, 53225 Bonn<o:p></o:p></pre><pre> <o:p></o:p></pre><pre>Tel: +49 (0) 228 299 799 80<o:p></o:p></pre><pre>Mobile: +49 (0) 170 310 035 5<o:p></o:p></pre><pre>Fax: +49 (0) 228 299 799 84<o:p></o:p></pre><pre> <o:p></o:p></pre><pre><a href="mailto:markus.fischer@brown-iposs.eu">mailto:markus.fischer@brown-iposs.eu</a><o:p></o:p></pre><pre>----------------------------------------------------------<o:p></o:p></pre><pre> <o:p></o:p></pre></blockquote><p class=MsoNormal><br><br><br><o:p></o:p></p><pre>-- <o:p></o:p></pre><pre>----------------------------------------------------------<o:p></o:p></pre><pre> <o:p></o:p></pre><pre>Markus Fischer<o:p></o:p></pre><pre>brown-iposs GmbH<o:p></o:p></pre><pre>Friedrich-Breuer-Straße 120, 53225 Bonn<o:p></o:p></pre><pre> <o:p></o:p></pre><pre>Tel: +49 (0) 228 299 799 80<o:p></o:p></pre><pre>Mobile: +49 (0) 170 310 035 5<o:p></o:p></pre><pre>Fax: +49 (0) 228 299 799 84<o:p></o:p></pre><pre> <o:p></o:p></pre><pre><a href="mailto:markus.fischer@brown-iposs.eu">mailto:markus.fischer@brown-iposs.eu</a><o:p></o:p></pre><pre>----------------------------------------------------------<o:p></o:p></pre><pre>PGP key available on request.<o:p></o:p></pre><pre>PGP Fingerprint: 96FD 4903 873B 86FF 6B03 B279 BC64 8EFE ABC4 6D88<o:p></o:p></pre><pre> <o:p></o:p></pre><pre>Geschäftsführer: Dr. Bernd Schröder<o:p></o:p></pre><pre>HRB: 14385, Amtsgericht Bonn<o:p></o:p></pre><pre>Ust.-IDNr.: DE814670174<o:p></o:p></pre><pre> <o:p></o:p></pre><pre> <o:p></o:p></pre><pre>Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist nicht gestattet.<o:p></o:p></pre><pre> <o:p></o:p></pre><pre>This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in<o:p></o:p></pre><pre>error) please notify the sender immediately and destroy this e-mail. Any unauthorised copying, disclosure or distribution of the material in this e-mail is strictly forbidden.<o:p></o:p></pre><p class=MsoNormal><br><br><br><o:p></o:p></p><pre>_______________________________________________<o:p></o:p></pre><pre>Voyage-linux mailing list<o:p></o:p></pre><pre><a href="mailto:Voyage-linux@list.voyage.hk">Voyage-linux@list.voyage.hk</a><o:p></o:p></pre><pre><a href="http://list.voyage.hk/mailman/listinfo/voyage-linux">http://list.voyage.hk/mailman/listinfo/voyage-linux</a><o:p></o:p></pre></blockquote><p class=MsoNormal><br><br><o:p></o:p></p><pre>-- <o:p></o:p></pre><pre>----------------------------------------------------------<o:p></o:p></pre><pre><o:p> </o:p></pre><pre>Markus Fischer<o:p></o:p></pre><pre>brown-iposs GmbH<o:p></o:p></pre><pre>Friedrich-Breuer-Straße 120, 53225 Bonn<o:p></o:p></pre><pre><o:p> </o:p></pre><pre>Tel: +49 (0) 228 299 799 80<o:p></o:p></pre><pre>Mobile: +49 (0) 170 310 035 5<o:p></o:p></pre><pre>Fax: +49 (0) 228 299 799 84<o:p></o:p></pre><pre><o:p> </o:p></pre><pre><a href="mailto:markus.fischer@brown-iposs.eu">mailto:markus.fischer@brown-iposs.eu</a><o:p></o:p></pre><pre>----------------------------------------------------------<o:p></o:p></pre><pre>PGP key available on request.<o:p></o:p></pre><pre>PGP Fingerprint: 96FD 4903 873B 86FF 6B03 B279 BC64 8EFE ABC4 6D88<o:p></o:p></pre><pre><o:p> </o:p></pre><pre>Geschäftsführer: Dr. Bernd Schröder<o:p></o:p></pre><pre>HRB: 14385, Amtsgericht Bonn<o:p></o:p></pre><pre>Ust.-IDNr.: DE814670174<o:p></o:p></pre><pre><o:p> </o:p></pre><pre><o:p> </o:p></pre><pre>Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist nicht gestattet.<o:p></o:p></pre><pre><o:p> </o:p></pre><pre>This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in<o:p></o:p></pre><pre>error) please notify the sender immediately and destroy this e-mail. Any unauthorised copying, disclosure or distribution of the material in this e-mail is strictly forbidden.<o:p></o:p></pre></div></body></html>