FOR TIPS, gUIDES & TUTORIALS

subscribe to our Youtube

GO TO YOUTUBE

14109 questions

16769 answers

27528 comments

53882 members

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

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