Sorry to make another openvpn related thread.
My problem is clear.
1. Normal boot (without vpn client) + start Openvpn client manually = tunnel doesn't work
2. Set Start with WAN, Redirect Internet traffic to No or ALL and reboot = also tunnel doesn't work
In the situation, ip rule is like this
0: from all lookup local
32765: from all fwmark 0x1/0x1 lookup wan0
32766: from all lookup main
32767: from all lookup default
and if I remove 2nd rule, now tunnel works.
ip rule del from all fwmark 0x1/0x1 lookup wan0
I'm not expert at routing. Is this expected ?
from all fwmark 0x1/0x1 lookup wan0
This rule seems interrupt to work my vpn tunnel.
sometimes, ip rule is like this and tunnel works properly
0: from all lookup local
10101: from 192.168.0.1/24 lookup ovpnc1
32766: from all lookup main
32767: from all lookup default
Edit : 10101: from 192.168.0.1/24 lookup ovpnc1 is up when I set the policy rules.
This is the only way to make my openvpn client working in GUI.
Set Redirect Internet traffic to Policy Rules then add 192.168.1.0/24 to VPN and reboot.
My problem is clear.
1. Normal boot (without vpn client) + start Openvpn client manually = tunnel doesn't work
2. Set Start with WAN, Redirect Internet traffic to No or ALL and reboot = also tunnel doesn't work
In the situation, ip rule is like this
0: from all lookup local
32765: from all fwmark 0x1/0x1 lookup wan0
32766: from all lookup main
32767: from all lookup default
and if I remove 2nd rule, now tunnel works.
ip rule del from all fwmark 0x1/0x1 lookup wan0
I'm not expert at routing. Is this expected ?
from all fwmark 0x1/0x1 lookup wan0
This rule seems interrupt to work my vpn tunnel.
sometimes, ip rule is like this and tunnel works properly
0: from all lookup local
10101: from 192.168.0.1/24 lookup ovpnc1
32766: from all lookup main
32767: from all lookup default
Edit : 10101: from 192.168.0.1/24 lookup ovpnc1 is up when I set the policy rules.

This is the only way to make my openvpn client working in GUI.
Set Redirect Internet traffic to Policy Rules then add 192.168.1.0/24 to VPN and reboot.
Last edited: