Network Config
Jump to navigation
Jump to search
Throughput of Samba
| Interface | Samba |
|---|---|
| 10Gbps | 400 MB/s |
| 2.5Gbps | 120 MB/s |
| 1Gbps | 60 MB/s |
Strongswan (IPSec VPN)
connections {
gw-gw {
local_addrs = 220.134.192.129
remote_addrs = 220.133.126.63
local {
auth = psk
id = moon.strongswan.org
}
remote {
auth = psk
id = sun.strongswan.org
}
children {
net-net {
local_ts = 192.168.25.0/24
remote_ts = 192.168.21.0/24
updown = /usr/local/libexec/ipsec/_updown iptables
rekey_time = 5400
rekey_bytes = 500000000
rekey_packets = 1000000
esp_proposals = aes128gcm128-x25519
}
}
version = 2
mobike = no
reauth_time = 10800
proposals = aes128-sha256-x25519
}
}
secrets {
ike-1 {
id-1 = moon.strongswan.org
secret = 0x45a30759df97dc26a15b88ff
}
ike-2 {
id-2 = sun.strongswan.org
secret = "This is a strong password"
}
ike-3 {
id-3a = moon.strongswan.org
id-3b =sun.strongswan.org
secret = 0sv+NkxY9LLZvwj4qCC2o/gGrWDF2d21jL
}
ike-4 {
secret = 'My "home" is my "castle"!'
}
ike-5 {
id-5 = 220.134.192.129
secret = "********"
}
}
See: https://docs.strongswan.org/docs/5.9/config/IKEv2.html
Samba simple config
- https://blog.csdn.net/mvp_Dawn/article/details/105847485
- https://itslinuxfoss.com/how-to-install-and-use-samba-on-ubuntu-20-04/