Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
firewall not working too well
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
666threesixes666
Veteran
Veteran


Joined: 31 May 2011
Posts: 1223
Location: 42.68n 85.41w

PostPosted: Sat Jul 06, 2013 2:54 am    Post subject: firewall not working too well Reply with quote

i decided to check out firewalls. i merged firewalld + gui use flag for it. problem is block all traffic, block zone etc let me ssh localhost. i checked out some others too, i know firestarter rather well, but its not in the packages. i have iptables and have been looking into ufw & its gui.

i need some sort of blocking, forwarding, managing, etc. whens firestarter going main tree?
_________________
cat /etc/*-release
Funtoo Linux - baselayout 2.2.0
consider this warning no. 1
http://ecx.images-amazon.com/images/I/81Ku-vxIb3L._SL1500_.jpg
http://wiki.gentoo.org/wiki/Special:Contributions/666threesixes666
Back to top
View user's profile Send private message
PaulBredbury
Watchman
Watchman


Joined: 14 Jul 2005
Posts: 7310

PostPosted: Sat Jul 06, 2013 4:30 am    Post subject: Re: firewall not working too well Reply with quote

666threesixes666 wrote:
problem is block all traffic

Haha, you have to look at the iptables script it produces, and remember that the rules are processed in order. I would recommend to just learn the iptables script.

As a reasonable compromise, I use a BASH script to create the iptables rules - example to flush rules.
Back to top
View user's profile Send private message
666threesixes666
Veteran
Veteran


Joined: 31 May 2011
Posts: 1223
Location: 42.68n 85.41w

PostPosted: Sat Jul 06, 2013 4:40 am    Post subject: Reply with quote

id really like something openwrt xwrtish to generate the iptables for me. i guess ill start writing up scripts of iptables commands because its starting to look like thats the easiest solution for the time being. and i know iptables works....

Code:

mkultra@mksrv ~ $ sudo ./tables
mkultra@mksrv ~ $ ssh localhost
ssh: connect to host localhost port 22: Connection refused


(your arch post is the contents of tables)
_________________
cat /etc/*-release
Funtoo Linux - baselayout 2.2.0
consider this warning no. 1
http://ecx.images-amazon.com/images/I/81Ku-vxIb3L._SL1500_.jpg
http://wiki.gentoo.org/wiki/Special:Contributions/666threesixes666
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum