On Sat, Aug 9, 2014 at 3:40 PM, Martin T m4rtn...@gmail.com wrote:
On Sat, Aug 9, 2014 at 6:33 AM, Tom H tomh0...@gmail.com wrote:
On Fri, Aug 8, 2014 at 11:47 AM, Martin T m4rtn...@gmail.com wrote:
I moved the script from /etc/init.d to /etc/network directory and
changed the shebang line
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.
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.0.0/0
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
- Original Message -
From: Martin T m4rtn...@gmail.com
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
On Fri, Aug 8, 2014 at 11:47 AM, Martin T m4rtn...@gmail.com 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
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,
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
On Mon, Aug 4, 2014 at 10:52 AM, Martin T m4rtn...@gmail.com 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
9 matches
Mail list logo