Routes are ignored

Discussion in 'ZIDOO X9S' started by nemeth, Oct 17, 2016.

  1. nemeth

    nemeth New Member

    Hi all, not sure if this is the right place to write, but here is what I have:
    root@kylin32:/ # ip route
    default via 10.65.1.1 dev eth0 metric 202
    10.65.1.0/24 dev eth0 proto kernel scope link src 10.65.1.168
    10.65.1.0/24 dev eth0 proto kernel scope link src 10.65.1.168 metric 202
    10.65.2.0/24 dev tun0 proto kernel scope link src 10.65.2.1
    192.168.0.0/24 via 10.65.1.200 dev eth0 metric 202

    I expect 10.65.2.0/24 to be routed via 10.65.2.1 but it is not and i get:
    root@kylin32:/ # ip route flush cache
    root@kylin32:/ # ip route get 10.65.2.2
    10.65.2.2 via 10.65.1.1 dev eth0 src 10.65.1.168
    cache

    Expected result:
    root@OpenWrt:/home/test/openvpn# ip route get 10.65.2.2
    10.65.2.2 dev tun0 src 10.65.2.1
    cache
     
  2. nemeth

    nemeth New Member

    Back in my days we didn't have so many tables :)
    ip route add 10.65.2.0/24 via 10.65.2.1 dev tun0 table 1002
    Now openvpn server works.
     
  3. Alberto

    Alberto New Member

    Hi, I configured my box to start an openvpn server, but when the server starts , the LUCI web interface stops responding.
    Do you have this problem?
    Thank you
     

Share This Page