DD-WRT blocks connections to existing clients on reboot

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


Joined: 20 Oct 2017
Posts: 4

PostPosted: Fri Oct 20, 2017 3:38    Post subject: DD-WRT blocks connections to existing clients on reboot Reply with quote
Hi,

When the router is restarted, internet does not work on connected devices (on browser it shows connecting for a while then times out while ping also hangs).

However if change some setting in the router web interface and click apply, the internet on clients start working again.

To investigate I ssh'ed into the router and there ping and internet seems to be working (while its not working on the clients).

Thinking it to be a firewall issue, I checked the rules (iptables -L) and saw this:

Code:

Chain grp_1 (1 references)
target     prot opt source               destination         
DROP       0    --  slackware/30         anywhere           
DROP       0    --  192.168.1.104/29     anywhere           
DROP       0    --  android-513bb66007de0050/28  anywhere           
DROP       0    --  192.168.1.128/26     anywhere           
DROP       0    --  192.168.1.192/29     anywhere                     


So on restart it adds rules to block existing DHCP hosts?

If I drop this chain maunally internet starts working on the clients.

This is happening on default settings for DHCP and Firewall (detailed below):

Code:

[Setup][Basic Setup]
WAN connection type: Automatic - DHCP

Shortcut Forwarding Engine: Enabled

DHCP Server: Enabled
Use DNSMasq for DHCP: Enabled
DHCP-Authoritative: Enabled

[Security][Firewall]
SPI Firewall: Enabled


Router is TP Link WR841N v11 running DD-WRT v3.0-r33375

Need help to figure out what the issue is and fix it. Thanks.

Edit
As mentioned before internet starts working again if I hit "Apply Settings" on the router; in this case the iptables rules on the router remain the same but references to it get dropped:

Code:

Chain grp_1 (0 references)
...
Sponsor
aaditya
DD-WRT Novice


Joined: 20 Oct 2017
Posts: 4

PostPosted: Sun Oct 22, 2017 11:50    Post subject: Reply with quote
Updated to v3.0-r33555 std (10/20/17), issue is still there.

I am surprised on not finding this bug reported in other threads as it seems to be present in a very basic functionality.
aaditya
DD-WRT Novice


Joined: 20 Oct 2017
Posts: 4

PostPosted: Mon Oct 23, 2017 12:48    Post subject: Reply with quote
By chance was able to narrow it down: the issue seems to be present in "Access Restrictions".

In Access Restrictions I had made a rule to deny internet access to all IPs for a certain period of time (01:55 to 05:55); however when the router is restarted this rule seems to get activated even though the time is different from the specified time.

If this rule is disabled and the router is restarted it seems to work as expected.
aaditya
DD-WRT Novice


Joined: 20 Oct 2017
Posts: 4

PostPosted: Mon Oct 23, 2017 16:26    Post subject: Reply with quote
Bug reported: http://svn.dd-wrt.com/ticket/6021
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