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
215 views 1 comments
by anonymous
Hello,

Please help me to configure RUTX11.

I need to block specific ports on MOB1S1A1 and MOB2S1A1 interfaces.

Thanks in advance.

1 Answer

0 votes
by anonymous

Hi,

To block specific ports on WAN interfaces such as MOB1S1A1, MOB1S2A1, WAN or WAN6: please use the Firewall feature of the RUTX11. To block ports 5228, 5229 and 5230 on the Teltonika router please navigate to Network -> Firewall -> Traffic Rules in the router's WebUI.

Then add a new traffic rule, specify ports that need to be blocked, and set the Action field to "drop".
More information regarding traffic rules could be found in the teltonika wiki:
https://wiki.teltonika-networks.com/view/RUTX11_Firewall#Traffic_Rules

Apart from that, you can also use iptables rules to block traffic on Mobile interfaces (wwan0). To check the mobile interfaces' name, go to CLI and issue the command "ifconfig". Afterwards, you can configure iptables using the custom rules page (Network->Firewall->Custom rules):
https://wiki.teltonika-networks.com/view/RUTX11_Firewall#Custom_Rules
The custom rules page allows the iptables rules remain activated even after the router restart. If the iptables rules are entered on CLI/SSH shell, these rules will be lost after a router reboot or firewall restart.


Regards
Raman
 

by anonymous
Hi,

Thank you for your support.

In case if I use Traffic Rules I cant select specific WAN, mob1s1a1 for example.

So I will block ports for all of WAN interfaces.

How I can block ports just on mob1s1a1?

Thanks in advance.