8298 questions

9759 answers

15542 comments

13863 members

+1 vote
2,991 views 3 comments
by

how to block (disable) Firewall on RUT950 ? 

1 Answer

+2 votes
by

Hi,

You can temporarily disable the firewall via command line by executing this command:

To stop: /etc/init.d/firewall stop
To start:
/etc/init.d/firewall start

However, this is purely temporary and the firewall will start back up again after you change any network related settings or reboot the router. For a more permanent solution you can add the following line into the Custom Rules section (reached from the router's WebUI, Network → Firewall → Custom Rules page):

iptables --flush

This command will 'flush' all firewall rules and it will do so each time the firewall is restarted (after network setting changes, router reboot, etc.) effectively making this a permanent solution.

Important note: before disabling the firewall, make sure that you know what you're doing and why. The firewall is there for a reason, disabling it will leave the router and its network vulnerable.

Best answer
by
Is there a way to permanently stop firewall. In my environment where rut950 only provides connection to wan, flushing iptables wont help when trying to connect via vpn. But when using firewall stop, vpn works like a charm.

How can this be possible?
by
Can the firewall be disabled permanently?

There is a use case to use these routers behind mpls where all traffic is controlled via a dedicated firewall.
by

Hi,

Use the command provided above to stop the firewall initially:

/etc/init.d/firewall stop

Then to disable the firewall from starting:

/etc/init.d/firewall disable

This command prevent the firewall from auto-start. It means that when you reboot the device or some service, the firewall will remain down. To undo this, use command:

/etc/init.d/firewall enable

DM