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
111 views 0 comments
by anonymous
Hi everyone!

We have configured our rutxr1 to switch to mobile data whenever our wan connection is down.

As mobile data is expensive and limited, and we have a lot of devices potentially accessing the internet we would like to restrict the internet access to certain devices whenever the mobile connection is active.

I have not found a way to do this yet (the firewall doesn't let me distinguish between traffic from the wan / mobile connection).

Is this possible and if so could somebody point me in the right direction?

Thanks!

1 Answer

0 votes
by anonymous

Hi,

You can easily use iptables rules, but for it to execute everytime router boots you need to put this rule in System > Custom scripts.

This iptables rule will disallow specific IP addresses from entering through a mobile interface connection.

iptables -I FORWARD -s 192.168.X.X -o qmimux0 -j DROP
Best answer