Tom H a écrit :
>
> Please bottom-post.
Please don't. It's annoying to have to scroll down all the (needlessly)
quoted text to read your reply. Top-posting is bad, but bottom-posting
without trimming a long quoted text is worse.
Consider interleaved/inline posting with proper trimming instead.
<
On Sat, Aug 9, 2014 at 3:40 PM, Martin T wrote:
> On Sat, Aug 9, 2014 at 6:33 AM, Tom H wrote:
>> On Fri, Aug 8, 2014 at 11:47 AM, Martin T wrote:
>>>
>>> I moved the script from /etc/init.d to /etc/network directory and
>>> changed the shebang line from /bin/bash to /bin/sh. /bin/sh on my
>>> s
Yes, I erroneously used "lo0" instead of "lo" in iptables rules. I use
FreeBSD on daily basis :) However, once I allowed traffic to loopback
interface and started NFS("/etc/init.d/nfs-common start"), I saw some
traffic on loopback interface:
48 560 ACCEPT all -- lo * 0.0.
On Fri, Aug 8, 2014 at 11:47 AM, Martin T wrote:
>
> I moved the script from /etc/init.d to /etc/network directory and
> changed the shebang line from /bin/bash to /bin/sh. /bin/sh on my
> system points to /bin/dash. Thanks for those tips!
>
> Content of firewall rule-files can be seen here:
>
> #
- Original Message -
> From: "Martin T"
>
> Hi,
>
> I made a very simple bash script which loads the iptables
> configuration from /etc/firewall.conf and /etc/firewall6.conf files:
>
> # cat /etc/init.d/firewall
> #!/bin/bash
>
> iptables-restore < /etc/firewall.conf
> ip6tables-restor
Reco,
I moved the script from /etc/init.d to /etc/network directory and
changed the shebang line from /bin/bash to /bin/sh. /bin/sh on my
system points to /bin/dash. Thanks for those tips!
Content of firewall rule-files can be seen here:
# cat /etc/firewall.conf /etc/firewall6.conf
# Generated b
On Mon, Aug 4, 2014 at 10:52 AM, Martin T wrote:
>
> I made a very simple bash script which loads the iptables
> configuration from /etc/firewall.conf and /etc/firewall6.conf files:
>
> # cat /etc/init.d/firewall
> #!/bin/bash
>
> iptables-restore < /etc/firewall.conf
> ip6tables-restore < /etc/fi
Hi.
On Mon, Aug 04, 2014 at 05:52:43PM +0300, Martin T wrote:
> Hi,
>
> I made a very simple bash script which loads the iptables
> configuration from /etc/firewall.conf and /etc/firewall6.conf files:
>
> # cat /etc/init.d/firewall
> #!/bin/bash
>
> iptables-restore < /etc/firewall.conf
> ip6t
Hi,
I made a very simple bash script which loads the iptables
configuration from /etc/firewall.conf and /etc/firewall6.conf files:
# cat /etc/init.d/firewall
#!/bin/bash
iptables-restore < /etc/firewall.conf
ip6tables-restore < /etc/firewall6.conf
#
Script is stored in /etc/init.d/ directory, b
9 matches
Mail list logo