Skip to content
Snippets Groups Projects
Commit f8acaf5c authored by Tom Teichler's avatar Tom Teichler :beers:
Browse files

Merge branch 'fw-bgp' into 'master'

Install and configure bird

See merge request !35
parents 6b2c67a5 bb6e5c4d
No related branches found
No related tags found
1 merge request!35Install and configure bird
PARAM - - tcp 179
...@@ -47,6 +47,8 @@ SNMP/ACCEPT intern:$MONITORING all!wan ...@@ -47,6 +47,8 @@ SNMP/ACCEPT intern:$MONITORING all!wan
ACCEPT intern:$MONITORING all!wan ACCEPT intern:$MONITORING all!wan
Icinga/ACCEPT all!wan intern:$MONITORING Icinga/ACCEPT all!wan intern:$MONITORING
Icinga/ACCEPT intern:$MONITORING all!wan Icinga/ACCEPT intern:$MONITORING all!wan
ACCEPT mgmt:$MONITORING all!wan
Icinga/ACCEPT all!wan mgmt:$MONITORING
Icinga/ACCEPT all:$EXTERNAL_HOSTS intern:$MONITORING Icinga/ACCEPT all:$EXTERNAL_HOSTS intern:$MONITORING
Icinga/ACCEPT intern:$MONITORING all:$EXTERNAL_HOSTS Icinga/ACCEPT intern:$MONITORING all:$EXTERNAL_HOSTS
Qnetd/ACCEPT all!wan intern:$MONITORING Qnetd/ACCEPT all!wan intern:$MONITORING
...@@ -160,6 +162,9 @@ ACCEPT all kube:$METALLB_RADIUS ...@@ -160,6 +162,9 @@ ACCEPT all kube:$METALLB_RADIUS
# API # API
Web/ACCEPT public:$GITLAB01 fw:$KUBE_API_PUBLIC Web/ACCEPT public:$GITLAB01 fw:$KUBE_API_PUBLIC
# BGP
BGP/ACCEPT kube fw
##### Kubernetes end ##### Kubernetes end
# HAProxy # HAProxy
......
...@@ -17,6 +17,7 @@ ...@@ -17,6 +17,7 @@
- haproxy - haproxy
- shorewall - shorewall
- shorewall6 - shorewall6
- bird2
state: present state: present
- name: Copy static config files - name: Copy static config files
ansible.builtin.copy: ansible.builtin.copy:
......
log syslog all;
protocol device {
}
protocol direct {
ipv4; # Connect to default IPv4 table
ipv6; # ... and to default IPv6 table
}
protocol kernel {
ipv4 { # Connect protocol to IPv4 table by channel
export all; # Export to protocol. default is export none
};
}
protocol bgp k8s {
router id {{ bird_router_id }};
local as 64567;
ipv4 {
import all;
export none;
};
neighbor range 10.98.1.0/24 as 64512;
};
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment