Denying Admin Access for different subnet

Post new topic   Reply to topic    DD-WRT Forum Index -> Advanced Networking
Author Message
ddacct3
DD-WRT Novice


Joined: 29 Mar 2008
Posts: 18

PostPosted: Thu Oct 04, 2018 1:09    Post subject: Denying Admin Access for different subnet Reply with quote
I would like to deny admin access to computers connected to the router's ethernet port from a different subnet.

I was using this command for a R6400 router, and it didn't work.

ebtables -t filter -I INPUT 1 -i eth0 -p ip4 --ip-proto tcp --ip-src 192.168.5.0/24 --ip-dst 192.168.1.1/32 --ip-dport 80 -j DROP

I was using a similar command to block admin access for wireless clients, so I thought that it would be easy to change a few variables to deny admin access to all computers from a different subnet, but it didn't work.
Sponsor
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