PacketiXクライアントを Ubuntu で使う手順

ショコラ
ショコラ

PacketiXクライアントを Ubuntu で使う手順

久しぶりに手動で、PacketiXクライアントをコマンドから動かすことがありましたのでメモしておきます。

もっさん先輩
もっさん先輩

PacketiXクライアントを Ubuntu にセットアップする方法

  1. vpnclient を開始します。
sudo ./vpnclient start
$ sudo ./vpnclient start
The PacketiX VPN Client service has been started.
  1. 仮想LANカード を作成するために vpncmdコマンド を実行します。
./vpncmd
# ./vpncmd
vpncmd command - PacketiX VPN Command Line Management Utility
PacketiX VPN Command Line Management Utility (vpncmd command)
Version 4.43 Build 9799   (English)
Compiled 2023/08/31 10:30:00 by buildsan at crosswin with OpenSSL 3.0.9
Copyright (c) 2004-2023 SoftEther Corporation. All Rights Reserved.

By using vpncmd program, the following can be achieved.

1. Management of VPN Server or VPN Bridge
2. Management of VPN Client
3. Use of VPN Tools (certificate creation and Network Traffic Speed Test Tool)

Select 1, 2 or 3: 2(2を入力してエンターキーを押す)

Specify the host name or IP address of the computer that the destination VPN Client is operating on.
If nothing is input and Enter is pressed, connection will be made to localhost (this computer).
Hostname of IP Address of Destination:(エンターキーを押す)

Connected to VPN Client "localhost".

↑「2. Management of VPN Client」を選択して、エンターキーを押します。「Hostname of IP Address of Destination:」もエンターキーを押すだけです。

  1. 以前に作成した ConoHa に接続します。
AccountConnect ConoHa
VPN Client>AccountConnect ConoHa
AccountConnect command - Start Connection to VPN Server using VPN Connection Setting
The command completed successfully.

VPN Client>NicList
NicList command - Get List of Virtual Network Adapters
Item                        |Value
----------------------------+-----------------------------------
Virtual Network Adapter Name|VPN
Status                      |Enabled
MAC Address                 |5E1FFC39B1E9
Version                     |Version 4.43 Build 9799   (English)
The command completed successfully.

VPN Client>exit

↑「NicList」コマンドでLANカードの状態を表示できます。

  1. DHCP で IP を設定します。
sudo dhclient vpn_vpn

ネットワークを適用します。

sudo cat <<EOF > /etc/netplan/12-vpnnetwork.yaml
network:
    ethernets:
        vpn_vpn:
            addresses: [192.168.40.92/24]
            dhcp4: false
    version: 2
EOF
netplan apply

固定IPの場合は事前に定義しておけば、IPが設定されます。

以上

Scroll to Top