Hello, I'm sorry to bother but I have a similar problem as many users with an Openwrt router.
I Installed Wireguard according the manual of Chris Buchan (https://chrisbuchan.co.uk/computing/wireguard-setup-openwrt/)
I can make a connection to the router from my phone but I can’t access the servers on the lan.
I already tried some solutions which are mentioned on this forum but with no luck.
Can someone help me to figure out what I am doing wrong?
Thank you very much.
/etc/network
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 'fdac:59cf:6adc::/48'
config interface 'lan'
option type 'bridge'
option ifname 'eth1.1'
option proto 'static'
option netmask '255.255.255.0'
option ip6assign '60'
option ipaddr '192.168.8.1'
list dns '1.1.1.1'
config interface 'wan'
option ifname 'eth0.2'
option proto 'static'
option gateway '192.168.1.1'
option ipaddr '192.168.1.2'
list dns '1.1.1.1'
option netmask '255.255.255.0'
config interface 'wan6'
option ifname 'eth0.2'
option proto 'dhcpv6'
config switch
option name 'switch0'
option reset '1'
option enable_vlan '1'
config switch_vlan
option device 'switch0'
option vlan '1'
option ports '1 2 3 4 6t'
config switch_vlan
option device 'switch0'
option vlan '2'
option ports '5 0t'
config interface 'guest'
option proto 'static'
option ipaddr '192.168.3.1'
option netmask '255.255.255.0'
config interface 'wwan'
option proto 'dhcp'
config interface 'wg0'
option proto 'wireguard'
option private_key 'private key'
option listen_port '51820'
list addresses '10.200.200.1/24'
config wireguard_wg0
option description 'AndroidPhone'
list allowed_ips '10.200.200.2/32'
option route_allowed_ips '1'
option persistent_keepalive '25'
option public_key 'public key'
/etc/firewall
config defaults
option syn_flood '1'
option input 'ACCEPT'
option output 'ACCEPT'
option forward 'REJECT'
config zone
option name 'lan'
option input 'ACCEPT'
option output 'ACCEPT'
option forward 'ACCEPT'
option network 'lan wg0'
config zone
option name 'wan'
option input 'REJECT'
option output 'ACCEPT'
option forward 'REJECT'
option masq '1'
option mtu_fix '1'
option network 'wan wan6 wwan'
config forwarding
option src 'lan'
option dest 'wan'
config rule
option name 'Allow-DHCP-Renew'
option src 'wan'
option proto 'udp'
option dest_port '68'
option target 'ACCEPT'
option family 'ipv4'
config rule
option name 'Allow-Ping'
option src 'wan'
option proto 'icmp'
option icmp_type 'echo-request'
option family 'ipv4'
option target 'ACCEPT'
config rule
option name 'Allow-IGMP'
option src 'wan'
option proto 'igmp'
option family 'ipv4'
option target 'ACCEPT'
config rule
option name 'Allow-DHCPv6'
option src 'wan'
option proto 'udp'
option src_ip 'fc00::/6'
option dest_ip 'fc00::/6'
option dest_port '546'
option family 'ipv6'
option target 'ACCEPT'
config rule
option name 'Allow-MLD'
option src 'wan'
option proto 'icmp'
option src_ip 'fe80::/10'
list icmp_type '130/0'
list icmp_type '131/0'
list icmp_type '132/0'
list icmp_type '143/0'
option family 'ipv6'
option target 'ACCEPT'
config rule
option name 'Allow-ICMPv6-Input'
option src 'wan'
option proto 'icmp'
list icmp_type 'echo-request'
list icmp_type 'echo-reply'
list icmp_type 'destination-unreachable'
list icmp_type 'packet-too-big'
list icmp_type 'time-exceeded'
list icmp_type 'bad-header'
list icmp_type 'unknown-header-type'
list icmp_type 'router-solicitation'
list icmp_type 'neighbour-solicitation'
list icmp_type 'router-advertisement'
list icmp_type 'neighbour-advertisement'
option limit '1000/sec'
option family 'ipv6'
option target 'ACCEPT'
config rule
option name 'Allow-ICMPv6-Forward'
option src 'wan'
option dest '*'
option proto 'icmp'
list icmp_type 'echo-request'
list icmp_type 'echo-reply'
list icmp_type 'destination-unreachable'
list icmp_type 'packet-too-big'
list icmp_type 'time-exceeded'
list icmp_type 'bad-header'
list icmp_type 'unknown-header-type'
option limit '1000/sec'
option family 'ipv6'
option target 'ACCEPT'
config rule
option name 'Allow-IPSec-ESP'
option src 'wan'
option dest 'lan'
option proto 'esp'
option target 'ACCEPT'
config rule
option name 'Allow-ISAKMP'
option src 'wan'
option dest 'lan'
option dest_port '500'
option proto 'udp'
option target 'ACCEPT'
config include
option path '/etc/firewall.user'
config redirect
option src 'wan'
option name 'L2TP (VPN)'
option target 'DNAT'
option dest_ip '192.168.8.252'
option dest 'lan'
list proto 'udp'
option dest_port '1701'
option src_dport '1701'
config redirect
option src 'wan'
option name 'PPTP (VPN) '
option src_dport '1723'
option target 'DNAT'
option dest_ip '192.168.8.252'
option dest 'lan'
list proto 'tcp'
option dest_port '1723'
config redirect
option src 'wan'
option name 'L2TP (VPN)'
option target 'DNAT'
option dest_ip '192.168.8.252'
option dest 'lan'
list proto 'udp'
option dest_port '1701'
option src_dport '1701'
config redirect
option src 'wan'
option name 'PPTP (VPN) '
option src_dport '1723'
option target 'DNAT'
option dest_ip '192.168.8.252'
option dest 'lan'
list proto 'tcp'
option dest_port '1723'
config redirect
option src 'wan'
option name 'OPENVPN (VPN)'
option dest 'lan'
option dest_ip '192.168.8.252'
option target 'DNAT'
option dest_port '1194'
list proto 'tcp'
list proto 'udp'
option src_dport '1194'
config redirect
option dest_port '13131'
option src 'wan'
option name 'telnet'
option src_dport '13131'
option target 'DNAT'
option dest_ip '192.168.8.252'
option dest 'lan'
list proto 'tcp'
config redirect
option dest_port '8081'
option src 'wan'
option name 'webserver'
option src_dport '8081'
option target 'DNAT'
option dest_ip '192.168.8.252'
option dest 'lan'
list proto 'tcp'
config redirect
option dest_port '500'
option src 'wan'
option src_dport '500'
option target 'DNAT'
option dest_ip '192.168.8.252'
option dest 'lan'
list proto 'udp'
option name 'ISAKMP (VPN)'
config redirect
option dest_port '4500'
option src 'wan'
option name 'IPSec NAT (VPN)'
option src_dport '4500'
option target 'DNAT'
option dest_ip '192.168.8.252'
option dest 'lan'
list proto 'udp'
config redirect
option dest_port '20'
option src 'wan'
option name 'FTP (DATA)'
option src_dport '20'
option target 'DNAT'
option dest_ip '192.168.8.252'
option dest 'lan'
list proto 'tcp'
config redirect
option dest_port '21'
option src 'wan'
option name 'FTP (CONTROL)'
option src_dport '21'
option target 'DNAT'
option dest_ip '192.168.8.252'
option dest 'lan'
list proto 'tcp'
config zone 'guest'
option name 'guest'
option network 'guest'
option input 'REJECT'
option output 'ACCEPT'
option forward 'REJECT'
config forwarding 'guest_wan'
option src 'guest'
option dest 'wan'
config rule 'guest_dns'
option name 'Allow-DNS-Guest'
option src 'guest'
option dest_port '53'
option proto 'tcpudp'
option target 'ACCEPT'
config rule 'guest_dhcp'
option name 'Allow-DHCP-Guest'
option src 'guest'
option dest_port '67'
option family 'ipv4'
option proto 'udp'
option target 'ACCEPT'
config rule
option src '*'
option target 'ACCEPT'
option proto 'udp'
option dest_port '51820'
option name 'Allow-Wireguard-Inbound'
Android client
Public key public_key
Addresses 10.200.200.2/32
DNS server 192.168.8.1
Peer
public key public_key
Endpoint ddns:51820
Allowed IP's 0.0.0.0/0