Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add rabbit_house to hosts #1

Merged
merged 2 commits into from
Jan 6, 2024
Merged

Conversation

sizumita
Copy link
Contributor

No description provided.

@sh1ma
Copy link

sh1ma commented Dec 25, 2023

LGTM

Copy link

@tamanobi tamanobi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@sizumita

tinc.conf の Heredoc にも修正が必要そうです。具体的には次のリンク先の行のすぐ下だと思います。

https://github.com/geek-space-hq/setup_gsngw/pull/1/files#diff-29fe5c943b486059107e4634df9905c1579b347b717959a284f8fbb298b3ab93R133

@sizumita
Copy link
Contributor Author

忘れてました!ありがとうございます

@miminashi
Copy link
Collaborator

もしかして動作確認してない?

@sizumita
Copy link
Contributor Author

動いたけどどこに繋がってるのか確認してなかった(

@miminashi
Copy link
Collaborator

@sizumita 動作確認してからプルリクお願いします (>_<)

@sizumita
Copy link
Contributor Author

sizumita commented Jan 5, 2024

# aoyama

-----BEGIN RSA PUBLIC KEY-----
MIIBCgKCAQEAwUSBBKaOyxCAgBVb98zO8mtEOL3CuzLJ1+Wlumh5SxA+m/9G1X/T
iQJ0sHxNMh1W19/OvyHwVE3UrR3tEbjo9Jci7adiz0zTdrkbrkoskOovvbV10V1I
hkSPB7qfiTDyQD/3DIb5I5uV22i9lccNLV1LS5qR0Umy8RJ8wbW/ruH2CDW58pO9
lInUvkk0BczaxyNpfPHTE7JTLoiCVbtuobZ/JY3+PePvKyj/xRFsi328DE1KgapS
FvJsE+NvWVq+1qsp6B6sRQItmS0oyL8vyj4NDLMMT31d1/iwCJxgjK5ClYOaA2h2
sXL8FztfwFFWAloM0TvpHWryRl5M5dPflwIDAQAB
-----END RSA PUBLIC KEY-----

10.22.255.10から動作確認しました 動きました

@miminashi
Copy link
Collaborator

miminashi commented Jan 6, 2024

こちらでも動作確認して、既存の機能が壊れてないことを確認します。

まず、セットアップスクリプトが失敗せずに実行できることを確認する。

limaでDebian12のVMを起動

limactl start --name=mmvm01 --vm-type=vz template://debian-12
limactl shell mmvm01

limaのVMでセットアップスクリプトを実行

url="https://raw.githubusercontent.com/geek-space-hq/setup_gsngw/5ac123d169fc1f6f366b0276fd79301865d43039/setup_gsngw.sh";(curl -L "${url}" || wget -O - "${url}") > /tmp/s; sudo sh /tmp/s mmvm01 10.1.255.1
# mmvm01

-----BEGIN RSA PUBLIC KEY-----
MIIBCgKCAQEArV7+WKambnFypvWeDrN0IqRX55+408EozIip/MIvECwwPjzdCXnk
x3JQQCKm/3H3k0gXhBVddQ+lF0HrLcl+sYJHoS35j85Ly1bEDd5l+tprXRn6UsEi
oBp+L2efFexh96wQUzRRrGU5lR8gUpkVoniPQSj6+XcNgbMoFYqI1oTRtdL853FH
KB0hzmsl93rz9sTbd0YfrVi7curzOZhR4FeT9P9NhYdQIDlPvwkVucexTmG33UxZ
jesQ6rRnFgwL/JBnBGiZj/70rT4cGS9+voGi764gnnlX5UixoSLQ21xp17kRWV4G
QjFIylf/o/xncLSws66oLmwNzkNSkBNvFwIDAQAB
-----END RSA PUBLIC KEY-----
スクリーンショット 2024-01-06 20 40 36

大丈夫そう。

次に、mmvm01を自分のところのルートノードに追加した

スクリーンショット 2024-01-06 20 44 13

pingもちゃんと疎通した

ubuntu@m:~$ ping 10.1.255.1
PING 10.1.255.1 (10.1.255.1) 56(84) bytes of data.
64 bytes from 10.1.255.1: icmp_seq=1 ttl=64 time=50.4 ms
64 bytes from 10.1.255.1: icmp_seq=2 ttl=64 time=26.0 ms
64 bytes from 10.1.255.1: icmp_seq=3 ttl=64 time=24.7 ms
64 bytes from 10.1.255.1: icmp_seq=4 ttl=64 time=24.7 ms
64 bytes from 10.1.255.1: icmp_seq=5 ttl=64 time=25.1 ms
^C
--- 10.1.255.1 ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4006ms
rtt min/avg/max/mdev = 24.658/30.166/50.383/10.120 ms

既存のルートノードへの接続もちゃんとできている。

@miminashi miminashi self-requested a review January 6, 2024 11:51
Copy link
Collaborator

@miminashi miminashi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

動作確認大丈夫そうでした

@miminashi miminashi merged commit b6d2a8b into geek-space-hq:master Jan 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants