X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/b1ced9fbdbe88a53f3b96236ea82cb85f85262cc..e145abb8cead6b2048a3cf6eff6e135c52c3d5cd:/roles/ucl.rb diff --git a/roles/ucl.rb b/roles/ucl.rb index eb3dfd1cd..a0f5331f4 100644 --- a/roles/ucl.rb +++ b/roles/ucl.rb @@ -8,7 +8,10 @@ default_attributes( :internal => { :inet => { :prefix => "20", - :gateway => "10.0.0.3" + :gateway => "10.0.0.3", + :routes => { + "10.0.0.0/8" => { :via => "10.0.0.3" } + } } }, :external => { @@ -18,22 +21,16 @@ default_attributes( :gateway => "193.60.236.254" } } - } - }, - :sysctl => { - :blackhole => { - :comment => "Force TCP level MTU probing because of known ICMP blackhole at UCL", - :parameters => { - "net.ipv4.tcp_mtu_probing" => "2", - "net.ipv4.tcp_base_mss" => "1024" - } + }, + :wireguard => { + :keepalive => 180 } } ) override_attributes( :networking => { - :nameservers => ["10.0.0.3", "8.8.8.8", "8.8.4.4"], + :nameservers => ["10.0.0.3", "1.1.1.1", "1.0.0.1"], :search => ["ucl.openstreetmap.org", "openstreetmap.org"] }, :ntp => {