Use iBGP for home router after switching to OPNSense
This commit is contained in:
parent
0388d33c99
commit
c446d43c6a
|
@ -20,12 +20,9 @@ bgp_peers:
|
||||||
neighbor_ip: "2a01:4262:1ab:20::75"
|
neighbor_ip: "2a01:4262:1ab:20::75"
|
||||||
|
|
||||||
- name: "hessnet_home"
|
- name: "hessnet_home"
|
||||||
template: "peer_hessnet"
|
template: "ibgp_hessnet"
|
||||||
peer_asn: "64512"
|
peer_asn: "209616"
|
||||||
neighbor_ip: "2001:678:15c:c00::"
|
neighbor_ip: "2001:678:15c:c00::"
|
||||||
filters:
|
|
||||||
import: "{ accept; }"
|
|
||||||
export: "{ if is_own_route() then reject; accept; }"
|
|
||||||
|
|
||||||
- name: "ibgp_fra1"
|
- name: "ibgp_fra1"
|
||||||
template: "ibgp_hessnet"
|
template: "ibgp_hessnet"
|
||||||
|
@ -35,10 +32,6 @@ bgp_peers:
|
||||||
announce_from_here: true
|
announce_from_here: true
|
||||||
configure_static_multihop_routes: false
|
configure_static_multihop_routes: false
|
||||||
|
|
||||||
extra_static_routes:
|
|
||||||
- route: "2001:678:15c:c00::/128"
|
|
||||||
destination: "v6tunnel-home"
|
|
||||||
|
|
||||||
wireguard:
|
wireguard:
|
||||||
privatekey: !vault |
|
privatekey: !vault |
|
||||||
$ANSIBLE_VAULT;1.1;AES256
|
$ANSIBLE_VAULT;1.1;AES256
|
||||||
|
|
|
@ -31,10 +31,7 @@ bgp_peers:
|
||||||
- name: "home_router"
|
- name: "home_router"
|
||||||
template: "peer_hessnet"
|
template: "peer_hessnet"
|
||||||
peer_asn: "209616"
|
peer_asn: "209616"
|
||||||
neighbor_ip: "172.16.12.19"
|
neighbor_ip: "2001:678:15c:c00::"
|
||||||
filters:
|
|
||||||
export: "{ peer_export_default_only(); }"
|
|
||||||
import: "myroutes_import_export"
|
|
||||||
|
|
||||||
announce_from_here: false
|
announce_from_here: false
|
||||||
configure_static_multihop_routes: true
|
configure_static_multihop_routes: true
|
||||||
|
|
Loading…
Reference in a new issue