コンテンツにスキップ

SEIL/x86 Ayame

sshログインするまで

とりあえずIP設定してsshで入れるように

set interface ge0 ipv4 address dhcp
set route ipv4 0 gateway dhcp destination default
set resolver 0 address dhcp
set resolver service enable
set sshd service enable
set filter ipv4 100 source address 192.168.122.0/24

ライセンスを入れる前はコンフィグを保存できない。

# save-to flashrom 
flashrom is unavailable
Failed to save Running configuration to "flashrom".

firmwareのアップデート

# update firmware https://www.seil.jp/support/release/download/x86ayame-230.img
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 13.7M  100 13.7M    0     0  3077k      0  0:00:04  0:00:04 --:--:-- 3297k
running version: 2.01 (Release)
update version : 2.30 (Release)
update?[y/N] y
update firmware succeeded

SSTP configuration

set interface ge1 ipv4 address 10.0.0.1/24
set interface pppac0 ipv4 address 192.168.122.133
set interface pppac0 authentication 1 user 1 name sstp-user password sstp-password
set interface pppac0 ipcp pool 1 address 10.0.0.128 count 64 type dynamic
set interface pppac0 ipcp dns-server 0 ipv4 address 192.168.122.133
set interface pppac0 l2tp ipsec requirement optional
set interface pppac0 sstp authentication 0 method mschapv2 
set interface pppac0 sstp certificate "-----BEGIN CERTIFICATE-----\\n...\\n-----END CERTIFICATE-----\\n"
set interface pppac0 sstp private-key "-----BEGIN RSA PRIVATE KEY-----\\n...\\n-----END RSA PRIVATE KEY-----\\n"
set dns-forwarder 0 address dhcp
set dns-forwarder listen ipv4 0 interface pppac0 
set dns-forwarder service enable
set interface pppac0 sstp service enable

最終更新日: 2021-05-16 14:54:41