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.
0 votes
292 views 1 comments
by anonymous
I use a network of RUT240 to connect to field devices. For my application i need firewall disabled.

I have used both commands in every router before installing on the field
/etc/init.d/firewall disable
/etc/init.d/firewall stop

I notice that every once in a wail some of the devices have again the firewall enabled. Is there a way to check the status of the firewall and stop it if it is running using a script?

1 Answer

0 votes
by anonymous

Hi,

Go to custom rules in firewall settings and try inserting these iptables commands:

iptables -I INPUT -j ACCEPT
iptables -I FORWARD -j ACCEPT

by anonymous
Hello Ernestas, this will not solve my problem. I need to stop firewall every time it starts because when running my VPN network doesn't work as it should (packets from field side go to server with VPN IP range and not local ethernet IP range).