#18027: Lan does not forward to Wan on Barrier Breaker with Buffalo 
WZR-HP-G300NH
-------------------------+-----------------------------------
 Reporter:  jmdorfman@…  |      Owner:  developers
     Type:  defect       |     Status:  new
 Priority:  normal       |  Milestone:  Barrier Breaker 14.07
Component:  packages     |    Version:  Trunk
 Keywords:               |
-------------------------+-----------------------------------
 This means any device that connects to my router cannot access the
 internet.  I can ping the internet and computers on my lan from the
 router. Thanks for any help!

 Network and firewall config file below.

 Network config file:
 config interface 'loopback'
         option ifname 'lo'
         option proto 'static'
         option ipaddr '127.0.0.1'
         option netmask '255.0.0.0'

 config interface 'lan'
         option ifname 'eth0'
         option type 'bridge'
         option proto 'static'
         option ipaddr '192.168.2.1'
         option netmask '255.255.255.0'

 config interface 'wan'
         option proto 'dhcp'
         option ifname 'eth1'
         option dns '208.67.222.222 208.67.220.220'
         option peerdns '0'

 config switch
         option name 'rtl8366s'
         option reset '1'
         option enable_vlan '1'

 config switch_vlan
         option device 'rtl8366s'
         option vlan '1'
         option ports '0 1 2 3 5'


 Firewall config file:
 config defaults
         option syn_flood '1'
         option input 'ACCEPT'
         option output 'ACCEPT'
         option forward 'REJECT'
         option drop_invalid '1'

 config zone
         option name 'lan'
         option input 'ACCEPT'
         option output 'ACCEPT'
         option forward 'REJECT'

 config zone
         option name 'wan'
         option input 'REJECT'
         option output 'ACCEPT'
         option forward 'REJECT'
         option masq '1'
         option mtu_fix '1'

 config forwarding
         option src 'lan'
         option dest 'wan'

 config rule
         option src 'wan'
         option proto 'udp'
         option dest_port '68'
         option target 'ACCEPT'

 config rule
         option src 'wan'
         option proto 'icmp'
         option icmp_type 'echo-request'
         option target 'ACCEPT'

 config include
         option path '/etc/firewall.user'

 config rule
         option src 'lan'
         option proto 'tcp'
         option dest_port '9100'
         option target 'ACCEPT'

 config rule
         option src 'lan'
         option proto 'tcp'
         option dest_port '5000'
         option target 'ACCEPT'

--
Ticket URL: <https://dev.openwrt.org/ticket/18027>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets

Reply via email to