how to disable Firewall from ssh [INACTIVE]

BrazilFW 2.xhelp discussions in English.

how to disable Firewall from ssh

Mensagempor RobiGo » Seg Jul 20, 2009 11:42 am

I have a big problem, i activated the firewall with mac address filtering.... when i saved the config. its show an error> ipacc.conf not found. and i maked a reboot... after reboot i can't acces it from lan (web admin page) and from local menu/midnight commander file editor i don't know how i can deactivate the firewall filtering...

Please if u have any idea, tell me.

Thank's
RobiGo
 

Re: how to disable Firewall from ssh

Mensagempor gamba47 » Seg Jul 20, 2009 1:36 pm

Maybe you are having another problem, like your webadmin service is down.

Try with this (always in console mode):

Código: Selecionar todos
/etc/rc.d/pkgs/rc.webadmin

For restart webadmin service.

the file where you put your configs always are in

/etc/coyote/

I thinks firewall & mac settings are in
/etc/coyote/firewall

You can edit this file with this command
Código: Selecionar todos
edit /etc/coyote/firewall


For save it only you need to press "Ctrl + Q" and then press "y"


Regards.
gamba47
Avatar do usuário
gamba47
BFW Beneméritos
 
Mensagens: 7243
Registrado em: Ter Dez 27, 2005 1:51 pm
Localização: Buenos Aires, Argentina
BrazilFW Box: Pentium4 1256mb RAM HD 200gb
BrazilFW 3.0.237 without Squid
3 ADSLs & 1 Cablemodem
50 Users & more!

Re: how to disable Firewall from ssh

Mensagempor RobiGo » Qui Jul 23, 2009 2:30 am

ok, its worked after webadmin reload.. :)

But do u can tell me why is the error message? and how i can correct it?

When i start the system appear the following error:

Start Network Subsystem
iptables: unknow error -1
iptables: unknow error -1
iptables: unknow error -1
iptables: unknow error -1
iptables: unknow error -1
iptables: unknow error -1
iptables: unknow error -1
(aprox 8-10x)

When i do a backup appear the following error:

Backing up your BrazilFW Configuration...

Creating etc.tgz Please wait: Back-up of etc complete
Creating modules.tgz Please wait: Back-up of modules complete
Creating dhcpd.tgz Please wait: Back-up of dhcpd complete
Creating webadmin.tgz Please wait: Back-up of webadmin complete
Creating aai.tgz Please wait: Back-up of aai complete
Creating acpid.tgz Please wait: Back-up of acpid complete
Creating advroute.tgz Please wait: Back-up of advroute complete
Creating bfwupdater.tgz Please wait: Back-up of bfwupdater complete
Creating bridge.tgz Please wait: Back-up of bridge complete
Creating drivers.tgz Please wait: Back-up of drivers complete
Creating hdparm.tgz Please wait: Back-up of hdparm complete
Creating hdtools.tgz Please wait: Back-up of hdtools complete
Creating ifacc.tgz Please wait: Back-up of ifacc complete
Creating ipacc.tgz Please wait: cat: /var/lib/lrpkg/ipacc.list: No such file or directory
Back-up of ipacc complete
Creating iptraf.tgz Please wait: Back-up of iptraf complete
Creating ipupdate.tgz Please wait: Back-up of ipupdate complete
Creating iwtools.tgz Please wait: Back-up of iwtools complete
Creating l7filter.tgz Please wait: Back-up of l7filter complete
Creating language.tgz Please wait: Back-up of language complete
Creating mc.tgz Please wait: Back-up of mc complete
Creating rrdstats.tgz Please wait: Back-up of rrdstats complete
Creating rrdtool.tgz Please wait: Back-up of rrdtool complete
Creating sarg.tgz Please wait: Back-up of sarg complete
Creating simon.tgz Please wait: Back-up of simon complete
Creating squid.tgz Please wait: Back-up of squid complete
Creating ssh_keys.tgz Please wait: Back-up of ssh_keys complete
Creating toptools.tgz Please wait: Back-up of toptools complete
Creating upnp.tgz Please wait: Back-up of upnp complete
Saving configuration files
done.

And when i reload the firewall:

Configuring firewall rules...
iptables: Unknown error -1
iptables: Unknown error -1
iptables: Unknown error -1
iptables: Unknown error -1
iptables: Unknown error -1
iptables: Unknown error -1
iptables: Unknown error -1
iptables: Unknown error -1
iptables: Unknown error -1
iptables: Unknown error -1

and still waiting...
and the webadmin interface is not responding, i maked a restart, and still blocked, after i typed the webadmin reload command it is work again...
RobiGo
 

Re: how to disable Firewall from ssh

Mensagempor gamba47 » Qui Jul 23, 2009 10:28 am

RobiGo escreveu:ok, its worked after webadmin reload.. :)

Ok, it´s good to read about this news!

RobiGo escreveu:But do u can tell me why is the error message? and how i can correct it?

When i start the system appear the following error:

Start Network Subsystem
iptables: unknow error -1
iptables: unknow error -1
iptables: unknow error -1
iptables: unknow error -1
iptables: unknow error -1
iptables: unknow error -1
iptables: unknow error -1
(aprox 8-10x)

Please post those files

/etc/coyote/firewall
/etc/coyote/firewall.local
/etc/coyote/portforwards
/etc/coyote/subnet.cfg


RobiGo escreveu:When i do a backup appear the following error:

Creating ipacc.tgz Please wait: cat: /var/lib/lrpkg/ipacc.list: No such file or directory

Downlaod de package again some file is corrupted ( i think is the file /var/lib/lrpkg/ipacc.list does not exist )

RobiGo escreveu:and the webadmin interface is not responding, i maked a restart, and still blocked, after i typed the webadmin reload command it is work again...

This type of error happend when the machine is working with a lot of prosses at high loaded.
What is your hardware ? what are the nunber of clients ?


Regards. gamba47
Avatar do usuário
gamba47
BFW Beneméritos
 
Mensagens: 7243
Registrado em: Ter Dez 27, 2005 1:51 pm
Localização: Buenos Aires, Argentina
BrazilFW Box: Pentium4 1256mb RAM HD 200gb
BrazilFW 3.0.237 without Squid
3 ADSLs & 1 Cablemodem
50 Users & more!

Re: how to disable Firewall from ssh

Mensagempor RobiGo » Sáb Jul 25, 2009 2:33 am

:) U maked me very happy. when i see now the webadmin interface :)
Thank's for help :)

Ok, i have two questions...

how i can copy the 4 config files from the router? i have memory stick, but i don't know how i can mount...

the second question is, what is the name of corrupted package? and where i found it?

I have 15 clients... the pc is a 1200Mhz Duron, 256RAM...

and the webadmin crash is appear immediately after firewall reload after mac filter turn on.... when the filter is turned off i can make reload without crash. maybe the problem is caused from corrupted package.. i think...



I have another problem... i have 2 internet acces... 1 pppoe... 2 DHCP (i putted static IP on 2.wan settings)
I have ping in first gateway, and in second gateway (in the router) the link is work. I have the loadbalance turned on. i changed the loadbalance IP addres to 192.58.128.30 (i see this ip in the forum, on load balance porblem post) but when the pppoe acces is down, the router don't forward to the second link... i don't have internet (ping to the router i have, the router is connected... i can acces it from ddns) and i don't see the download speed difference(caused by the second link) when work the pppoe. Any idea?
RobiGo
 

Re: how to disable Firewall from ssh

Mensagempor gamba47 » Sáb Jul 25, 2009 1:25 pm

RobiGo escreveu:how i can copy the 4 config files from the router? i have memory stick, but i don't know how i can mount...


The best and easiest way is using WinSCP or the SCP client from BrazilFW. You only need to copy those files to another machine (without a pendrive or something else).

RobiGo escreveu:the second question is, what is the name of corrupted package? and where i found it?

Is this ipacc.tgz
You can find it on:
/mnt/ipacc.tgz

Código: Selecionar todos
# mt
# cd mnt
# rm ipacc.tgz
# reboot


RobiGo escreveu:I have 15 clients... the pc is a 1200Mhz Duron, 256RAM...

Its enougth for you.

RobiGo escreveu:and the webadmin crash is appear immediately after firewall reload after mac filter turn on.... when the filter is turned off i can make reload without crash. maybe the problem is caused from corrupted package.. i think...

Put line by line on mac filter, this maybe help us to see the problem.


RobiGo escreveu:I have another problem... i have 2 internet acces... 1 pppoe... 2 DHCP (i putted static IP on 2.wan settings)
I have ping in first gateway, and in second gateway (in the router) the link is work. I have the loadbalance turned on. i changed the loadbalance IP addres to 192.58.128.30 (i see this ip in the forum, on load balance porblem post) but when the pppoe acces is down, the router don't forward to the second link... i don't have internet (ping to the router i have, the router is connected... i can acces it from ddns) and i don't see the download speed difference(caused by the second link) when work the pppoe. Any idea?

I´m not using Loadbalance now. I really don´t know what is happend on this. A lot of users are having problems.


Best Regards. gamba47
Avatar do usuário
gamba47
BFW Beneméritos
 
Mensagens: 7243
Registrado em: Ter Dez 27, 2005 1:51 pm
Localização: Buenos Aires, Argentina
BrazilFW Box: Pentium4 1256mb RAM HD 200gb
BrazilFW 3.0.237 without Squid
3 ADSLs & 1 Cablemodem
50 Users & more!


Voltar para BrazilFW 2.x - English Forum

Quem está online

Usuários navegando neste fórum: Nenhum usuário registrado e 2 visitantes