全文検索:
- 06 WireGuard
- <code> # wg-quick up /etc/wireguard/wg0.conf # ip -4 a 3: wg0: <POINTOPOINT,NOARP,UP,LOWER_UP> mtu ... LIENT_preshared=`cat ~/WireGuard/${CL}/preshared` IP=`cat ~/WireGuard/${CL}/${CL}.conf | awk '/Addres... #~/WireGuard/${CL}/preshared の値 AllowedIPs = ${IP} #${CL}に割り当てるIP __EOM__ </code> <color #ed1c2
- 02 Linux IPsec Client
- ode> ==== もし固定IPにしたい場合 ==== 下記のように変更する。 <local_IP_address>:<remote_IP_address> <code> #ipcp-accept-local #ipcp-accept-remote ↓ 192.168.1.129:192.168... ===== ppp0インターフェースができてローカルIPが振られている事確認 <code> # ip -4 a 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdis
- 01 Linux ipsec Server
- 記を追加 <code|/etc/xl2tpd/xl2tpd.conf> [lns default] ip range = 192.168.1.128-192.168.1.254 local ip = 192.168.1.99 require chap = yes refuse pap = yes requi... P # client server secret IP addresses "[username]" * "[password]" * </code>
- 03 Strongswan IKEv2 with PSK
- 10.0.0/16] <---> osaka[172.16.0.0/24] ^location^ IP ^ local ^ |tokyo| 100.100.0.100| 10.10.0.0/16| |o... de> ===== 3.forward ===== sysctl -w net.ipv4.ip_forward=1 ===== 4.ipsec.conf(tokyo) ===== <cod
- 04 Strongswan IKEv2 EAP
- /code> ==== 5.forward ==== sysctl -w net.ipv4.ip_forward=1 ===== Windows側 ===== ==== VPN接続作成 =