I have installed OpenWRT + OpenVPN on two routers - Site A (Server) and Site B (Client).
Site A has static IPv4 and Site B is behind CGNAT.
I can access all devices in LAN Site A from Site B but can not do it in reverse way - from LAN Site A to LAN devices in Site B.
OpenVPN config
config openvpn 'SiteA'
option proto 'udp'
option cipher 'AES-256-GCM'
option client_to_client '1'
option comp_lzo 'no'
option dev 'tunrw'
option duplicate_cn '1'
option enabled '1'
option keepalive '10 120'
option mode 'server'
option mssfix '1450'
option persist_key '1'
option persist_tun '1'
option port '16005'
option remote_cert_tls 'client'
option reneg_sec '0'
option server '10.48.0.0 255.255.255.0'
option topology 'subnet'
option verb '3'
option ca '/etc/openvpn/ca.crt'
option cert '/etc/openvpn/Server.crt'
option dh '/etc/openvpn/dh.pem'
option key '/etc/openvpn/Server.key'
list push 'comp-lzo no'
list push 'route 192.168.48.0 255.255.255.0'
Network Site A config
config interface 'loopback'
option device 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'
config globals 'globals'
option ula_prefix 'fdd0:be6f:f9c2::/48'
config device
option name 'br-lan'
option type 'bridge'
list ports 'lan1'
list ports 'lan2'
list ports 'lan3'
config interface 'lan'
option device 'br-lan'
option proto 'static'
option ipaddr '192.168.48.1'
option netmask '255.255.255.0'
option ip6assign '60'
config interface 'wan'
option device 'wan'
option proto 'static'
option ipaddr '***.***.***.***'
option netmask '255.255.252.0'
option gateway '***.***.***.***'
list dns '***.***.***.***'
list dns '***.***.***.***'
config device
option name 'tunrw'
option rpfilter 'strict'
option acceptlocal '1'
I'm pretty new to th OpenWRT and networking so please let me know what else I should check