iptable firewall rules to block access to VoIP web gui.

Post new topic   Reply to topic    DD-WRT Forum Index -> Advanced Networking
Author Message
AKA_SK
DD-WRT User


Joined: 11 Jan 2018
Posts: 122

PostPosted: Mon Sep 24, 2018 3:03    Post subject: iptable firewall rules to block access to VoIP web gui. Reply with quote
My VoIP ATA is connect to the router by the switch port.

I can accessed the VoIP ATA's web gui by entering its DHCP address on the web browser.

Is there a way to block access to the web gui and allow along specific devices via MAC?
Sponsor
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12917
Location: Netherlands

PostPosted: Tue Sep 25, 2018 9:35    Post subject: Reply with quote
It will work but only if source and destination are on different subnets.
From within the same subnet you can maybe use ebtables?

_________________
Routers:Netgear R7000, R6400v1, R6400v2, EA6900 (XvortexCFE), E2000, E1200v1, WRT54GS v1.
Install guide R6400v2, R6700v3,XR300:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=316399
Install guide R7800/XR500: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=320614
Forum Guide Lines (important read):https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087
AKA_SK
DD-WRT User


Joined: 11 Jan 2018
Posts: 122

PostPosted: Tue Sep 25, 2018 17:15    Post subject: Reply with quote
egc wrote:
It will work but only if source and destination are on different subnets.
From within the same subnet you can maybe use ebtables?


The source and destination ports are in the same subnet. How would you go about it with etables?
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12917
Location: Netherlands

PostPosted: Wed Sep 26, 2018 8:02    Post subject: Reply with quote
I am sorry I have little experience with ebtables, it works in more or less the same way as iptables but then at Network layer 2 (MAC level)
_________________
Routers:Netgear R7000, R6400v1, R6400v2, EA6900 (XvortexCFE), E2000, E1200v1, WRT54GS v1.
Install guide R6400v2, R6700v3,XR300:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=316399
Install guide R7800/XR500: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=320614
Forum Guide Lines (important read):https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Advanced Networking All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum