Project

General

Profile

Revision 2aea7733

ID2aea77337906a531c7acc3f73d8c8fc782261536
Parent 0b7228c1
Child c81ff1f3

Added by Marc Dequènes 9 months ago

fix routing of Duckcorp IPs

Contacting public DC IPs resulted in the reply being sent through the
L2TP link even when it came from the private network.
This means now contacting DC servers will use the ISP link except if
the source IP is an Hivane IP assigned to DC.

View differences:

ansible/data/duckcorp/interfaces/Elwing/duckcorp
21 21
    bridge_fd 9
22 22
    bridge_stp off
23 23
    address 2001:067C:1740:A000::1/64
24
    up ip -6 rule add from 2001:67c:1740:a000::/64 table duckcorp
24
    up ip -6 rule add from 2001:67c:1740:a000::/64 to 2001:67c:1740:a000::/64 table duckcorp
25 25
    up ip route add prohibit 2001:67c:1740:a001::/64
26 26
    up ip route add prohibit 2001:67c:1740:a002::/64
27 27
    up ip route add prohibit 2001:67c:1740:a003::/64
28
    down ip -6 rule del from 2001:67c:1740:a000::/64 table duckcorp
28
    down ip -6 rule del from 2001:67c:1740:a000::/64 to 2001:67c:1740:a000::/64 table duckcorp
29 29
    down ip route del prohibit 2001:67c:1740:a001::/64
30 30
    down ip route del prohibit 2001:67c:1740:a002::/64
31 31
    down ip route del prohibit 2001:67c:1740:a003::/64

Also available in: Unified diff