Disable Firewall: Difference between revisions

From Teltonika Networks Wiki
(Created page with "This page provides instructions on how to open the device to all traffic (disable the firewall or make the device accept all connections). Disabling the firewall is not advise...")
 
No edit summary
 
Line 18: Line 18:
<span style="color: red;"><b><u>WARNING</b></u>: disabling the firewall or opening the device to all traffic makes your connection insecure. Consider doing this at short periods and only for testing purposes. Use at your own discretion.</span>
<span style="color: red;"><b><u>WARNING</b></u>: disabling the firewall or opening the device to all traffic makes your connection insecure. Consider doing this at short periods and only for testing purposes. Use at your own discretion.</span>


[[Category:FAQ]]
[[Category:Control & Configuration]]

Latest revision as of 10:04, 10 June 2020

Main Page > FAQ > Control & Configuration > Disable Firewall

This page provides instructions on how to open the device to all traffic (disable the firewall or make the device accept all connections). Disabling the firewall is not advised because it will disable NAT capabilities and possibly interfere with some other features.


Making the device accept all connection

Use PuTTy (or another SSH program) or CLI in router WebUI. log in to the router as root and enter:

iptables -I INPUT -j ACCEPT - to accept ALL connections, and then
iptables -I FORWARD -j ACCEPT - to forward all traffic.

Now your device will accept and forward any incoming connections, without rejecting or dropping them.


Disabling the firewall

/etc/init.d/firewall stop

This commands will disable the firewall until the next network or device restart, or the next time setting changes to the firewall are applied.


WARNING: disabling the firewall or opening the device to all traffic makes your connection insecure. Consider doing this at short periods and only for testing purposes. Use at your own discretion.