FOR TIPS, gUIDES & TUTORIALS

subscribe to our Youtube

GO TO YOUTUBE

14455 questions

17168 answers

28195 comments

0 members

We are migrating to our new platform at https://community.teltonika.lt. Moving forward, you can continue discussions on this new platform. This current platform will be temporarily maintained for reference purposes.
+1 vote
4,225 views 3 comments
by

how to block (disable) Firewall on RUT950 ? 

1 Answer

+2 votes
by anonymous

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 anonymous

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