PDA

Bekijk de volledige versie : Firewall/iptables: Locked out myself



samoht
20-07-2005, 08:27
My Firewall is very restrictive. Myself canīt login anymore.

Unfortunately set the OUTPUT policy in post-firewall script to drop and forgot to add an additional rule. After reboot there is no access possible anymore. No Browser, no Telnet/SSH, nothing.

Is it possible to reset to router so that the post-firewall script is not executed?

Greetings,
Thomas

Oleg
20-07-2005, 09:04
Reset to defaults.

Oleg
20-07-2005, 09:04
P.S. or flash different version using firmware restoration tool.

samoht
20-07-2005, 09:17
Hi Oleg,

Thanks for your quick reply.

I pressed the reset button 20 sec directly after I pluged in the power adapter. But I still canīt connect to the router. Is there any trick for the reset?

Thomas

Antiloop
20-07-2005, 09:24
Hi Oleg,

Thanks for your quick reply.

I pressed the reset button 20 sec directly after I pluged in the power adapter. But I still canīt connect to the router. Is there any trick for the reset?

Thomas
either you start firmware restoration by pressing and holding the reset button and powering on, the powerled should go blinking

or you restore the unit to defaults (read eventual firmware release notes AND/OR manual for behaviour of reset button) by pressing and holding reset button after unit is up and running

sup
20-07-2005, 15:33
I thought that restoring to defaults does not prevent post-firewall and like scripts from executing, was I wrong? (I thought it was only possible by flashing firmware - and of cource by flashfs disable which is not the case now :rolleyes: )

Oleg
20-07-2005, 19:27
restoring to defaults clears nvram, so makes flashfs disabled (as state is stored in the nvram).

samoht
20-07-2005, 19:36
Thanks for your hints, but it is still not working. Before this malheur Olegīs Firmware 1.9.2.7-6b worked fine.

What did I try to make it work?

I downloaded Firmware v 1.9.4.0 BETA from http://files.wl500g.info/asus/wl500gx/firmware/WL500gx_1.9.4.0_EN.rar
I pushed the reset button and plugged the power in. LED was blinking.
I used the ASUS firmware restoration tool and loaded 1.9.4.0 BETA to the router. The upload seems to be successful.
The router was rebootet automatically.
I still canīt access to the router. When I try to connect to via Webinterface an time out error occurs.
I tried to reset to defaults by pressing the reset button until the Power LED was blinking.
After reboot still no access :-(


What else could I do to make it alive?

Thomas

samoht
20-07-2005, 20:44
Its up again. Thanks you all.

Last problem was, that i plugged the lan cable from the PC to the wan port of the router...

It is to dark under my desk ;-)