Network Config: Difference between revisions
Jump to navigation
Jump to search
| Line 1: | Line 1: | ||
== Strongswan (IPSec VPN) == | == Strongswan (IPSec VPN) == | ||
<source lang=" | <source lang="ini"> | ||
connections { | |||
net-net { | |||
remote_addrs = 220.133.126.63 | |||
local { | |||
auth = pubkey | |||
certs = moonCert.pem | |||
} | |||
remote { | |||
auth = pubkey | |||
id = "C=CH, O=strongSwan, CN=sun.strongswan.org" | |||
} | |||
children { | |||
net-net { | |||
local_ts = 192.168.25.0/24 | |||
remote_ts = 192.168.21.0/24 | |||
start_action = trap | |||
} | |||
} | |||
} | |||
} | |||
</source> | </source> | ||
Revision as of 18:00, 28 July 2022
Strongswan (IPSec VPN)
connections {
net-net {
remote_addrs = 220.133.126.63
local {
auth = pubkey
certs = moonCert.pem
}
remote {
auth = pubkey
id = "C=CH, O=strongSwan, CN=sun.strongswan.org"
}
children {
net-net {
local_ts = 192.168.25.0/24
remote_ts = 192.168.21.0/24
start_action = trap
}
}
}
}
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/