全文検索:
- 02 Linux IPsec Client
- leftprotoport=17/1701 right=[IPsec ServerIP] rightprotoport=17/1701 </code> ===== IPse... pd/xl2tpd.conf> [lac vpn-connection] lns = [ServerIP] ppp debug = yes pppoptfile = /etc/ppp/options.l2... ode> ==== もし固定IPにしたい場合 ==== 下記のように変更する。 <local_IP_address>:<remote_IP_address> <code> #ipcp-accept-local #ipcp-accept-remote ↓ 192.168.1.129:192.168
- 06 WireGuard
- 0.conf [Interface] Address = 10.0.1.1/24 #wg0に付けるIP ListenPort = 51820 PrivateKey = XXXXXXXXXXXXXXXXX... ared の値 AllowedIPs = 10.0.1.2/32 #client01に割り当てるIP [Peer] # client02 PublicKey = BBBBBBBBBBBBBBBBBB... ared の値 AllowedIPs = 10.0.1.3/32 #client02に割り当てるIP __EOM__ </code> ===== 4.起動 ===== これでwg0が作成されます... <code> # wg-quick up /etc/wireguard/wg0.conf # ip -4 a 3: wg0: <POINTOPOINT,NOARP,UP,LOWER_UP> mtu
- 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
- s rightid=%any right=%any rightsourceip=192.168.100.0/24 rightauth=eap-mschapv2 e... /code> ==== 5.forward ==== sysctl -w net.ipv4.ip_forward=1 ===== Windows側 ===== ==== VPN接続作成 =