OpenWrt Forum Archive

Topic: Routing Problem WL500GP

The content of this topic has been archived on 16 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hello guys,

today I wasn't able to acces or ping the internet from my pc, after kamikaze 7.09 was running since around half a year without flaws.
My setup is a ASUS WL500GP connected to a DLink Modem in bridged mode and kamikaze 7.09.

When I ping google from my pc, the name resolution is working, but no connection is established. This also happens during normal web access.
The router itself is able to access the internet, the pc throught a proxy running on the router also.

My configs are:
/etc/config/dhcp

config dnsmasq
    option domainneeded    1
    option boguspriv    1
    option filterwin2k    '0'  #enable for dial on demand
    option localise_queries    1
    option local        '/lan/'
    option domain        'lan'
    option expandhosts    1
    option nonegcache    0
    option authoritative    1
    option readethers    1
    option leasefile    '/tmp/dhcp.leases'
    option resolvfile    '/tmp/resolv.conf.auto'

config dhcp
    option interface    lan
    option start        100
    option limit        150
    option leasetime    12h

config dhcp
    option interface    wan
    option ignore        1

/etc/config/network

#### VLAN configuration 
config switch    "eth0"
    option vlan0    "1 2 3 4 5*"
    option vlan1    "0 5"

#### Loopback configuration
config interface    "loopback"
    option ifname    "lo"
    option proto    "static"
    option ipaddr    "127.0.0.1"
    option netmask    "255.0.0.0"

#### LAN configuration
config interface    "lan"
    option type    "bridge"
    option ifname    "eth0.0"
    option proto    "static"
    option ipaddr    "192.168.0.1"
    option netmask    "255.255.255.0"

#### WAN configuration
config interface    "wan"
    option ifname        "eth0.1"
    option proto        "pppoe"
    option username        "username"
    option password        "password"
    option keepalive    "10"
    option defaultroute    "1"
    option ppp_redial    "persist"

iptables -L gives

Chain INPUT (policy DROP)
target     prot opt source               destination         
DROP       all  --  anywhere             anywhere            state INVALID 
ACCEPT     all  --  anywhere             anywhere            state RELATED,ESTABLISHED 
DROP       tcp  --  anywhere             anywhere            tcp option=!2 flags:SYN/SYN 
input_rule  all  --  anywhere             anywhere            
input_wan  all  --  anywhere             anywhere            
LAN_ACCEPT  all  --  anywhere             anywhere            
ACCEPT     icmp --  anywhere             anywhere            
ACCEPT     gre  --  anywhere             anywhere            
REJECT     tcp  --  anywhere             anywhere            reject-with tcp-reset 
REJECT     all  --  anywhere             anywhere            reject-with icmp-port-unreachable 

Chain FORWARD (policy DROP)
target     prot opt source               destination         
DROP       all  --  anywhere             anywhere            state INVALID 
TCPMSS     tcp  --  anywhere             anywhere            tcp flags:SYN,RST/SYN TCPMSS clamp to PMTU 
ACCEPT     all  --  anywhere             anywhere            state RELATED,ESTABLISHED 
forwarding_rule  all  --  anywhere             anywhere            
forwarding_wan  all  --  anywhere             anywhere            
ACCEPT     all  --  anywhere             anywhere            
ACCEPT     all  --  anywhere             anywhere            
MINIUPNPD  all  --  anywhere             anywhere            

Chain OUTPUT (policy DROP)
target     prot opt source               destination         
DROP       all  --  anywhere             anywhere            state INVALID 
ACCEPT     all  --  anywhere             anywhere            state RELATED,ESTABLISHED 
output_rule  all  --  anywhere             anywhere            
ACCEPT     all  --  anywhere             anywhere            
REJECT     tcp  --  anywhere             anywhere            reject-with tcp-reset 
REJECT     all  --  anywhere             anywhere            reject-with icmp-port-unreachable 

Chain LAN_ACCEPT (1 references)
target     prot opt source               destination         
RETURN     all  --  anywhere             anywhere            
RETURN     all  --  anywhere             anywhere            
ACCEPT     all  --  anywhere             anywhere            

Chain MINIUPNPD (1 references)
target     prot opt source               destination         

Chain forwarding_rule (1 references)
target     prot opt source               destination         

Chain forwarding_wan (1 references)
target     prot opt source               destination         

Chain input_rule (1 references)
target     prot opt source               destination         

Chain input_wan (1 references)
target     prot opt source               destination         
ACCEPT     tcp  --  anywhere             anywhere            multiport dports 21 
ACCEPT     udp  --  anywhere             anywhere            multiport dports 21 

Chain output_rule (1 references)
target     prot opt source               destination

Hopefully, somebody can help me with this issue.

Reinstall solved the problems.

The discussion might have continued from here.