Skip to content

Commit

Permalink
config: Add "accept" to sample configuration
Browse files Browse the repository at this point in the history
Since the sample configuration has "vrrp_strict" configured, packets
address to the VIPs will not be received unless "accept" is also
configured.

Adding "accept" allows communications with the VIPs, which may help
avoid some confusion for new users experimenting with configurations.

Signed-off-by: Quentin Armitage <quentin@armitage.org.uk>
  • Loading branch information
pqarmitage committed Sep 19, 2023
1 parent 14359ca commit a7c4085
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions keepalived/etc/keepalived/keepalived.conf.sample.in
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ vrrp_instance VI_1 {
192.168.200.17
192.168.200.18
}

# Allow packets addressed to the VIPs above to be received
accept
}

virtual_server 192.168.200.100 443 {
Expand Down

0 comments on commit a7c4085

Please sign in to comment.