5747 questions

6968 answers

11236 comments

7061 members

0 votes
69 views 1 comments
by
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

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
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).