My openvpn/pbr setup works, when connecting to the vpnlan network i get routed through the vpn.
But when starting vpn-policy-based-routing it generates an error on the openvpn tun interface.
I am unable to find any logging or other pointers on what is happening here.
Anyone any ideas on this?
Creating table 'lan/br-lan/192.168.0.250' [✓]
Creating table 'wan/eth0.2/0.0.0.0' [✓]
Creating table 'vpnclient/tun0/10.8.1.2' [✗]
Creating table 'vpnlan/br-vpnlan/172.16.12.1' [✓]
Routing 'vpnpolicy' via vpnclient [✓]
vpn-policy-routing 0.3.2-16 started with gateways:
lan/br-lan/192.168.0.250 [✓]
wan/eth0.2/0.0.0.0
vpnlan/br-vpnlan/172.16.12.1
ERROR: Failed to set up 'vpnclient/tun0/10.8.1.2'
vpn-policy-routing 0.3.2-16 monitoring interfaces: lan wan vpnclient vpnlan [✓]
Establish the VPN connection and post the output to pastebin.com redacting the private parts:
uci show network; uci show firewall; uci show vpn-policy-routing; \
/etc/init.d/vpn-policy-routing support; \
ip address show; ip route show table all; ip rule show; iptables-save
A while back I moved from blindly creating VPR chains for FORWARDING, INPUT, PREROUTING and OUTPUT to only creating chains used in policies. If there's no policy with OUTPUT chain, then the VPR_OUTPUT chain is not created on start, hence an attempt to create ICMP-related policy for the interface fails. That was fixed.
@polleke69 I'd appreciate some testing if you restore your icmp_interface option.