after I setup my openwrt, both my device in LAN and openwrt itself can ping a website address, like openwrt.org
but cannot not access openwrt.org in broswer (failed in both chrom and edge).
opkg update also failed with "*** Failed to download the package list from http://downloads.openwrt.org/releases/19.07.3/packages/x86_64/luci/Packages.gz"
I manage to use a proxy in internet to access website for now.
what configuration should I set to access internet with my broswers directly, not through proxy
- my devies connected like below:
internet<-> modem <-> switch <->openwrt( in a vm running in windows)
->my PC
- my network settings
config interface 'loopback'
option ifname 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'
config globals 'globals'
option ula_prefix 'fddf:aef7:323b::/48'
config interface 'lan'
option type 'bridge'
option proto 'static'
option ipaddr '192.168.61.1'
option netmask '255.255.255.0'
option ip6assign '60'
option ifname 'eth0 eth1.525'
config interface 'wan'
option ifname 'eth1.524'
option ipv6 'auto'
option proto 'pppoe'
config interface 'wan6'
option ifname 'eth1'
option proto 'dhcpv6'
- my firewall settings, just default settings
config defaults
option syn_flood '1'
option input 'ACCEPT'
option output 'ACCEPT'
option flow_offloading '1'
option forward 'REJECT'
config zone
option name 'lan'
option input 'ACCEPT'
option output 'ACCEPT'
option forward 'ACCEPT'
option network 'lan'
list device 'br-lan'
config zone
option name 'wan'
option output 'ACCEPT'
option masq '1'
option mtu_fix '1'
option network 'wan wan6'
option input 'REJECT'
option forward 'REJECT'
config forwarding
option src 'lan'
option dest 'wan'
balabala, default settings