<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="http://dev1galaxy.org/extern.php?action=feed&amp;tid=2503&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / Devuan + iptables]]></title>
		<link>http://dev1galaxy.org/viewtopic.php?id=2503</link>
		<description><![CDATA[The most recent posts in Devuan + iptables.]]></description>
		<lastBuildDate>Thu, 29 Nov 2018 16:59:27 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: Devuan + iptables]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=13018#p13018</link>
			<description><![CDATA[<p>Im happy was helpful.</p>]]></description>
			<author><![CDATA[dummy@example.com (arnaiz)]]></author>
			<pubDate>Thu, 29 Nov 2018 16:59:27 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=13018#p13018</guid>
		</item>
		<item>
			<title><![CDATA[Re: Devuan + iptables]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=13005#p13005</link>
			<description><![CDATA[<p>After a reinstallation of <a href="https://pkginfo.devuan.org/stage/ascii/ascii/iptables-persistent_1.0.4+nmu2.html" rel="nofollow">iptables-persistent</a>, this solution worked for me.<br />I think my script failed because of the -nat -mangle parameters.</p>]]></description>
			<author><![CDATA[dummy@example.com (Phoen7x)]]></author>
			<pubDate>Wed, 28 Nov 2018 23:08:21 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=13005#p13005</guid>
		</item>
		<item>
			<title><![CDATA[Re: Devuan + iptables]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=12945#p12945</link>
			<description><![CDATA[<div class="quotebox"><cite>arnaiz wrote:</cite><blockquote><div><p>To allow resolve DNS, you must add a line accepting UDP output conections, since DNS protocol uses querys throw UDP:</p></div></blockquote></div><p>Oh sorry, i&#039;ve forgotten to write. I&#039;m runnig an unbound resolver wich forward all traffic to another resolver via DNS-over-TLS (-dport 853), the rule is therefore obsulete.</p><div class="quotebox"><blockquote><div><p>about the script exec problem, also you can debug inserting a previous echo by each iptables command, so you can check on which its failing.</p></div></blockquote></div><p>This is an good idea!</p>]]></description>
			<author><![CDATA[dummy@example.com (Phoen7x)]]></author>
			<pubDate>Sat, 24 Nov 2018 16:31:02 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=12945#p12945</guid>
		</item>
		<item>
			<title><![CDATA[Re: Devuan + iptables]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=12944#p12944</link>
			<description><![CDATA[<p>To allow resolve DNS, you must add a line accepting UDP output conections, since DNS protocol uses querys throw UDP:</p><div class="codebox"><pre><code>iptables -A OUTPUT -p udp --dport domain -j ACCEPT</code></pre></div><p>about the script exec problem, also you can debug inserting a previous echo by each iptables command, so you can check on which its failing.</p>]]></description>
			<author><![CDATA[dummy@example.com (arnaiz)]]></author>
			<pubDate>Sat, 24 Nov 2018 16:12:22 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=12944#p12944</guid>
		</item>
		<item>
			<title><![CDATA[Re: Devuan + iptables]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=12941#p12941</link>
			<description><![CDATA[<p>I have executed this script and in my laptop exit successfully without errors. </p><p>But it seems that -m state its deprecated, maybe your iptables version or kernel build dont accept that parameter. </p><p>Try to remove or change by -m conntrack --ctstate. </p><p>Another way: you can execute line by line in the shell to debug in which exact lines its failing.</p>]]></description>
			<author><![CDATA[dummy@example.com (arnaiz)]]></author>
			<pubDate>Sat, 24 Nov 2018 13:49:32 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=12941#p12941</guid>
		</item>
		<item>
			<title><![CDATA[Re: Devuan + iptables]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=12928#p12928</link>
			<description><![CDATA[<p>could you post the script code?</p>]]></description>
			<author><![CDATA[dummy@example.com (arnaiz)]]></author>
			<pubDate>Fri, 23 Nov 2018 21:39:20 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=12928#p12928</guid>
		</item>
		<item>
			<title><![CDATA[Re: Devuan + iptables]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=12921#p12921</link>
			<description><![CDATA[<p>Thank you for your advice.</p><p>You mean I should move my script into the folder /etc/init.d? I have not quite understood the order and the dependencies?<br />In my script I&#039;m just releasing ports.</p>]]></description>
			<author><![CDATA[dummy@example.com (Phoen7x)]]></author>
			<pubDate>Fri, 23 Nov 2018 19:36:26 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=12921#p12921</guid>
		</item>
		<item>
			<title><![CDATA[Re: Devuan + iptables]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=12918#p12918</link>
			<description><![CDATA[<p>@Phoen7x: Looks like what you&#039;re doing should work, but bear in mind that scripts in /etc/network/if*.d are run in sort order. So one needs to assign script names so that any dependencies are met.</p><p>The way I use to make sure my iptables script is processed in the correct order is to put it in /etc/init.d per @arnauz, then make use of dependency based initialization via the <em>update-rc.d</em> command to sort things out viz /etc/rc?.d.</p><p>Hope this helps.</p>]]></description>
			<author><![CDATA[dummy@example.com (bbatten)]]></author>
			<pubDate>Fri, 23 Nov 2018 19:20:45 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=12918#p12918</guid>
		</item>
		<item>
			<title><![CDATA[Re: Devuan + iptables]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=12917#p12917</link>
			<description><![CDATA[<p>Thank you for answering.</p><p>Thats the errormessage:</p><p>iptables: No chain/target/match by that name.<br />iptables: No chain/target/match by that name.<br />Bad argument ` &#039;<br />Try `iptables -h&#039; or &#039;iptables --help&#039; for more information.<br />Bad argument ` &#039;<br />Try `iptables -h&#039; or &#039;iptables --help&#039; for more information.</p><p>but if i type in every rule, there is no error. ??</p><p>The same skript runs finde on my debian/raspbian</p>]]></description>
			<author><![CDATA[dummy@example.com (Phoen7x)]]></author>
			<pubDate>Fri, 23 Nov 2018 19:11:31 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=12917#p12917</guid>
		</item>
		<item>
			<title><![CDATA[Re: Devuan + iptables]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=12916#p12916</link>
			<description><![CDATA[<p>I dont know if theres are a better method, but I use to store my custom iptables script at /etc/init.d. Basically that script load iptables from /etc/iptables.rules:</p><div class="codebox"><pre><code>cat /etc/init.d/iptables 
#!/bin/bash
/sbin/iptables-restore &lt; /etc/iptables.rules</code></pre></div><p>Then you must link to /etc/rcX.d (by defaul 2)</p><div class="codebox"><pre><code>/etc/rc2.d/S20iptables -&gt; ../init.d/iptables</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (arnaiz)]]></author>
			<pubDate>Fri, 23 Nov 2018 18:02:35 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=12916#p12916</guid>
		</item>
		<item>
			<title><![CDATA[Devuan + iptables]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=12911#p12911</link>
			<description><![CDATA[<p>Hello everybody,<br />so far I had used Debian.<br />There I put my iptables rules in a script in the directory /etc/network/if-up.d/iptables_on, like on <a href="https://privacy-handbuch.de/handbuch_92.htm" rel="nofollow">this</a> page.<br />Unfortunately, this method does not work with Devuan, there I always get an error message.<br />How should I ideally apply my iptables rules?</p>]]></description>
			<author><![CDATA[dummy@example.com (Phoen7x)]]></author>
			<pubDate>Fri, 23 Nov 2018 15:25:16 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=12911#p12911</guid>
		</item>
	</channel>
</rss>
