Skip to content

Commit

Permalink
Add Debian11 + Debian 12 openssl file and update swanctl example files
Browse files Browse the repository at this point in the history
Add Debian11 and Debian12 openssl.mlnx file
Update swanctl BFL and BFR example files:
  Convert bf child to bf-in and bf-out children per this discussion:
strongswan#964
  Change hw_offload from "full" to "packet"

Signed-off-by: Feras Bisharat <fbisharat@nvidia.com>
  • Loading branch information
ferasbi committed Oct 9, 2023
1 parent cda76a7 commit 52c2ce1
Show file tree
Hide file tree
Showing 4 changed files with 766 additions and 8 deletions.
16 changes: 12 additions & 4 deletions mlnx-conf/BFL.swanctl.conf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# LEFT: strongswan BF-2 config file
# LEFT: strongswan BF config file
connections {
BFL-BFR {
local_addrs = 192.168.50.1
Expand All @@ -14,13 +14,21 @@ connections {
}

children {
bf {
local_ts = 192.168.50.1/24 [udp/4789]
bf-out {
local_ts = 192.168.50.1/24 [udp]
remote_ts = 192.168.50.2/24 [udp/4789]
esp_proposals = aes128gcm128-x25519-esn
mode = transport
policies_fwd_out = yes
hw_offload = full
hw_offload = packet
}
bf-in {
local_ts = 192.168.50.1/24 [udp/4789]
remote_ts = 192.168.50.2/24 [udp]
esp_proposals = aes128gcm128-x25519-esn
mode = transport
policies_fwd_out = yes
hw_offload = packet
}
}
version = 2
Expand Down
16 changes: 12 additions & 4 deletions mlnx-conf/BFR.swanctl.conf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# RIGHT: strongswan BF-2 config file
# RIGHT: strongswan BF config file
connections {
BFL-BFR {
local_addrs = 192.168.50.2
Expand All @@ -14,13 +14,21 @@ connections {
}

children {
bf {
local_ts = 192.168.50.2/24 [udp/4789]
bf-out {
local_ts = 192.168.50.2/24 [udp]
remote_ts = 192.168.50.1/24 [udp/4789]
esp_proposals = aes128gcm128-x25519-esn
mode = transport
policies_fwd_out = yes
hw_offload = full
hw_offload = packet
}
bf-in {
local_ts = 192.168.50.2/24 [udp/4789]
remote_ts = 192.168.50.1/24 [udp]
esp_proposals = aes128gcm128-x25519-esn
mode = transport
policies_fwd_out = yes
hw_offload = packet
}
}
version = 2
Expand Down
Loading

0 comments on commit 52c2ce1

Please sign in to comment.