You are not logged in.

#1 2011-07-31 11:58:03

enihcam
Member
From: Internet
Registered: 2009-12-20
Posts: 223

[solved] i don't want sw firewall

I have a router firewall for my PC already, i don't want another sw firewall in my box. i need sshd to be working well as before i uninstall tcp_wrapper. i want all connections allowed including SSHD. any ideas?

Last edited by enihcam (2011-07-31 13:35:08)

Offline

#2 2011-07-31 12:00:34

litemotiv
Forum Fellow
Registered: 2008-08-01
Posts: 5,026

Re: [solved] i don't want sw firewall

This is a tricky one, but i would probably suggest to not install a firewall in that case..


ᶘ ᵒᴥᵒᶅ

Offline

#3 2011-07-31 12:05:07

enihcam
Member
From: Internet
Registered: 2009-12-20
Posts: 223

Re: [solved] i don't want sw firewall

this is a fresh installation, and does not have firewall installed i guess. or please let me know which packages are about firewall?

Offline

#4 2011-07-31 12:23:56

litemotiv
Forum Fellow
Registered: 2008-08-01
Posts: 5,026

Re: [solved] i don't want sw firewall

enihcam wrote:

this is a fresh installation, and does not have firewall installed i guess.

Yes, so it basically already does what you require, or did i misunderstand your original question..?


ᶘ ᵒᴥᵒᶅ

Offline

#5 2011-07-31 12:25:40

Ramses de Norre
Member
From: Leuven - Belgium
Registered: 2007-03-27
Posts: 1,289

Re: [solved] i don't want sw firewall

Install iptables and run

/etc/rc.d/iptables start
iptables -A INPUT -j ACCEPT
iptables -A OUTPUT -j ACCEPT
iptables -A FORWARD -j ACCEPT
/etc/rc.d/iptables save

Then add iptables to your daemons array. If you need this for ipv6 as well, do the same but s/iptables/ip6tables.

Does this solve the problem?

Offline

#6 2011-07-31 13:05:42

enihcam
Member
From: Internet
Registered: 2009-12-20
Posts: 223

Re: [solved] i don't want sw firewall

litemotiv wrote:
enihcam wrote:

this is a fresh installation, and does not have firewall installed i guess.

Yes, so it basically already does what you require, or did i misunderstand your original question..?

to be simple:

Having removed tcp_wrapper, i cannot connect via SSH from other boxes anymore. I searched the forum, and i was told to install iptable. I don't understand. Do we have a solution that is without iptable?

If iptable is required, that means some firewall/filter modules have been existing already inside the kernel, doesn't it?

So my concern is, instead of installing iptable, how to turn those modules off?

Offline

#7 2011-07-31 13:14:55

enihcam
Member
From: Internet
Registered: 2009-12-20
Posts: 223

Re: [solved] i don't want sw firewall

ignore this thread. i found the cause -- the damn dhcp renew the box ip. pls close it. sorry.

Offline

#8 2011-07-31 13:22:25

litemotiv
Forum Fellow
Registered: 2008-08-01
Posts: 5,026

Re: [solved] i don't want sw firewall

enihcam wrote:

ignore this thread. i found the cause -- the damn dhcp renew the box ip. pls close it. sorry.

That's okay, you can just mark your topic solved. smile


ᶘ ᵒᴥᵒᶅ

Offline

Board footer

Powered by FluxBB