Forum
  • Search
  • Member List
  • Calendar
Hello There, Guest! Login Register — Login with Facebook

Config->Services->xbian-firewall Any description needed
Thank you for your donation

Thread Closed 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode | Linear Mode
Config->Services->xbian-firewall Any description needed
7th Mar, 2015, 08:43 AM
Post: #1
abramq Offline
Registered
Posts: 6
Joined: Mar 2015
Reputation: 0
Config->Services->xbian-firewall Any description needed
Hello,
It is off by default. Could you please describe what kind of firewall rules it switching on?
How to configure it?
Will be thankfully for any advice!

Greetings,
JA
Find all posts by this user
8th Mar, 2015, 02:43 AM
Post: #2
IriDium Offline
Inquisitor
******
Posts: 2,025
Joined: Jan 2013
Reputation: 170
RE: Config->Services->xbian-firewall Any description needed
What are your system details as described in "Please read before you post" See my signature.

I'm not aware of a current xbian-firewall. Are you on a staging or development upgrade route?

Please read before you post
How to post a log file

If you liked my help, click on "Thanks" to show your appreciation.
Find all posts by this user
8th Mar, 2015, 03:04 AM
Post: #3
deHakkelaar Offline
Administrator
******
Posts: 360
Joined: Dec 2012
Reputation: 23
RE: Config->Services->xbian-firewall Any description needed
(7th Mar, 2015 08:43 AM)abramq Wrote:  Hello,
It is off by default. Could you please describe what kind of firewall rules it switching on?
How to configure it?
Will be thankfully for any advice!

Greetings,
JA

"iptables" is included:

Terminal
iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination

Chain FORWARD (policy ACCEPT)
target prot opt source destination

Chain OUTPUT (policy ACCEPT)
target prot opt source destination

If you dont like to wrestle iptables, idd suggest install fwbuilder to setup iptables but need X window for that:
http://www.fwbuilder.org/

Terminal
apt-cache search fwbuilder
fwbuilder - Firewall administration tool GUI

There are only 10 types of people in the world: those who understand binary, and those who don't
Find all posts by this user
8th Mar, 2015, 03:19 AM
Post: #4
IriDium Offline
Inquisitor
******
Posts: 2,025
Joined: Jan 2013
Reputation: 170
RE: Config->Services->xbian-firewall Any description needed
@deHakkelaar the user @abramq seems to think there is a service called xbian-firewall. I'm not aware of this, do you know something I don't?

Please read before you post
How to post a log file

If you liked my help, click on "Thanks" to show your appreciation.
Find all posts by this user
8th Mar, 2015, 03:25 AM
Post: #5
deHakkelaar Offline
Administrator
******
Posts: 360
Joined: Dec 2012
Reputation: 23
RE: Config->Services->xbian-firewall Any description needed
(8th Mar, 2015 03:19 AM)IriDium Wrote:  @deHakkelaar the user @abramq seems to think there is a service called xbian-firewall. I'm not aware of this, do you know something I don't?
Nope, dont know bout "xbian-firewall" either.

EDIT: it is in xbian-config though.

There are only 10 types of people in the world: those who understand binary, and those who don't
Find all posts by this user
8th Mar, 2015, 03:49 AM
Post: #6
IriDium Offline
Inquisitor
******
Posts: 2,025
Joined: Jan 2013
Reputation: 170
RE: Config->Services->xbian-firewall Any description needed
@deHakkelaar Damn - what release are you on. I have no idea about it. @devs?

Please read before you post
How to post a log file

If you liked my help, click on "Thanks" to show your appreciation.
Find all posts by this user
8th Mar, 2015, 04:08 AM
Post: #7
deHakkelaar Offline
Administrator
******
Posts: 360
Joined: Dec 2012
Reputation: 23
RE: Config->Services->xbian-firewall Any description needed
@IriDium :
Xbian 1.0 (knockout)
Kodi 14.1

Not sure if its working :

Terminal
$ grep 'RULEFILE=' /etc/init/xbian-firewall.conf
env RULEFILE=/run/network/fw.script

$ cat /run/network/fw.script
cat: /run/network/fw.script: No such file or directory

There are only 10 types of people in the world: those who understand binary, and those who don't
Find all posts by this user
8th Mar, 2015, 06:28 AM
Post: #8
CurlyMo Offline
Registered
Posts: 3,501
Joined: Dec 2012
Reputation: 202
RE: Config->Services->xbian-firewall Any description needed
https://github.com/xbianonpi/xbian-update/commit/644653d09101331ccbffe945ae529c875515c860

pilight - modular domotica solution
Visit this user's website Find all posts by this user
8th Mar, 2015, 08:30 AM
Post: #9
deHakkelaar Offline
Administrator
******
Posts: 360
Joined: Dec 2012
Reputation: 23
RE: Config->Services->xbian-firewall Any description needed
Hahaha
throw away your expensive router ... step in comes XBian with deb packaging and all

There are only 10 types of people in the world: those who understand binary, and those who don't
Find all posts by this user
8th Mar, 2015, 09:38 AM
Post: #10
abramq Offline
Registered
Posts: 6
Joined: Mar 2015
Reputation: 0
RE: Config->Services->xbian-firewall Any description needed
Please forgive me Smile I am using Pi 2, now I see that it is for CuBox. Please move topis if possible.
Sorry once more...

(8th Mar, 2015 03:04 AM)deHakkelaar Wrote:  If you dont like to wrestle iptables, idd suggest install fwbuilder to setup iptables but need X window for that:
http://www.fwbuilder.org/

Terminal
apt-cache search fwbuilder
fwbuilder - Firewall administration tool GUI
Nice project, thanks, but seems to be dead for 2 years? (link)
Find all posts by this user
8th Mar, 2015, 10:06 AM
Post: #11
CurlyMo Offline
Registered
Posts: 3,501
Joined: Dec 2012
Reputation: 202
RE: Config->Services->xbian-firewall Any description needed
xbian-config is 99% platform independent.

pilight - modular domotica solution
Visit this user's website Find all posts by this user
9th Mar, 2015, 04:18 AM (This post was last modified: 9th Mar, 2015 04:47 AM by deHakkelaar.)
Post: #12
deHakkelaar Offline
Administrator
******
Posts: 360
Joined: Dec 2012
Reputation: 23
RE: Config->Services->xbian-firewall Any description needed
(8th Mar, 2015 09:38 AM)abramq Wrote:  .
Nice project, thanks, but seems to be dead for 2 years? (link)

You just need a tool to create iptables rules if you dont want to use command line.
Doesnt matter how old the software is just as long as it does the job of creating those iptables rules.
You do understand that you only need fwbuilder once to setup those iptables rules (it doenst run as a daemon or anything).
Afterwards you can remove fwbuilder again if you like and iptables will still do its thing.

"xbian-firewall" is currently a simple firewall tool with not allot of options to populate those iptables rules.
But could grow with a bit of development and expand to do NAT as well and maybe even routing (which is not iptables by the way).



Ps. for Debian, many packages exist to populate iptables:
https://wiki.debian.org/Firewalls
But "fwbuilder" resembles a popular commercial FW product called "Checkpoint" so is used allot.

There are only 10 types of people in the world: those who understand binary, and those who don't
Find all posts by this user
9th Mar, 2015, 04:58 AM
Post: #13
f1vefour Offline
Administrator
******
Posts: 1,342
Joined: Mar 2013
Reputation: 58
RE: Config->Services->xbian-firewall Any description needed
Or you can do:

Terminal

apt-cache search firewall

Please read rules and do a search before you post! | FAQs | How to post log file? | Can't find an answer? Contact us.
Visit this user's website Find all posts by this user
9th Mar, 2015, 07:33 AM (This post was last modified: 9th Mar, 2015 07:35 AM by deHakkelaar.)
Post: #14
deHakkelaar Offline
Administrator
******
Posts: 360
Joined: Dec 2012
Reputation: 23
RE: Config->Services->xbian-firewall Any description needed
Or:

Terminal
iptables -P INPUT DROP

( NOT RECOMMENDED Wink )

There are only 10 types of people in the world: those who understand binary, and those who don't
Find all posts by this user
9th Mar, 2015, 05:19 PM
Post: #15
abramq Offline
Registered
Posts: 6
Joined: Mar 2015
Reputation: 0
RE: Config->Services->xbian-firewall Any description needed
(9th Mar, 2015 04:18 AM)deHakkelaar Wrote:  You just need a tool to create iptables rules if you dont want to use command line.
Doesnt matter how old the software is just as long as it does the job of creating those iptables rules.
You do understand that you only need fwbuilder once to setup those iptables rules (it doenst run as a daemon or anything).
Afterwards you can remove fwbuilder again if you like and iptables will still do its thing.
Very interesting post, thanks once more!
Find all posts by this user
« Next Oldest | Next Newest »
Thread Closed 


  • View a Printable Version
  • Send this Thread to a Friend
  • Subscribe to this thread
Forum Jump:

Current time: 9th May, 2025, 01:06 PM Powered By MyBB, © 2002-2025 MyBB Group.