注意:

The Funtoo Linux project has transitioned to "Hobby Mode" and this wiki is now read-only.

Difference between revisions of "Package:Logmein-hamachi"

From Funtoo
Jump to navigation Jump to search
(initial commit)
 
(example letting myself grab root access of another users root.)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Hamachi is an easy to use cross platform VPN.
Hamachi is an easy to use cross platform VPN.


== Install ==
== Hamachi ==
 
=== Emerge ===


{{console|body=
{{console|body=
###i## net-misc/logmein-hamachi
###i## emerge net-vpn/logmein-hamachi
}}
}}


== Configuration ==
== Config ==
 
=== Services ===
 
==== OpenRC ====


To immediately start the logmein-hamachi service:
To immediately start the logmein-hamachi service:
Line 21: Line 15:
}}
}}


To have the service start during the default runlevel (system boot), enter:
To enable the startup service:


{{console|body=
{{console|body=
Line 42: Line 36:


Set a strong password
Set a strong password
Be polite, and delete your network when you're done.
{{console|body=
###i## hamachi delete 12345678
}}


{{console|body=
{{console|body=
Line 69: Line 70:
Enter the server's strong password.
Enter the server's strong password.


== Usage ==
To display all available commands:


=== Invocation ===
{{console|body=
###i## hamachi ?
}}


To display all available commands:
==SSH KEYS==
~/.ssh/authorized_keys is where you insert your friends SSH keys to allow them access to that account.  this can be used to grab accounts that do not have passwords.  this is used to avoid creating a user account for a funtoo developer, when you can just drop their key into /root/.ssh/authorized_keys


*To allow paul to use root on your computer:
{{console|body=
{{console|body=
###i## hamachi ?
###i## mkdir /root/.ssh
###i## echo "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINW2jscMf0wx1DZpY6MTA4sJlfoTLMaV4Zk6FACu7NvF mkultra@spaceball-1" >> /root/.ssh/authorized_keys
}}
}}

Latest revision as of 23:25, December 8, 2020

Hamachi is an easy to use cross platform VPN.

Hamachi

root # emerge net-vpn/logmein-hamachi

Config

To immediately start the logmein-hamachi service:

root # rc-service logmein-hamachi start

To enable the startup service:

root # rc-update add logmein-hamachi default

Server

root # hamachi login
root # hamachi set-nick funtoo
root # hamachi create 12345678

Set a strong password

Be polite, and delete your network when you're done.

root # hamachi delete 12345678


root # hamachi set-ip-mode ipv4

To show the PID, IP, status, client, ID, and nickname:

root # hamachi

Client

root # hamachi login
root # hamachi set-nick funtooo
root # hamachi do-join 12345678

Enter the server's strong password.

To display all available commands:

root # hamachi ?

SSH KEYS

~/.ssh/authorized_keys is where you insert your friends SSH keys to allow them access to that account. this can be used to grab accounts that do not have passwords. this is used to avoid creating a user account for a funtoo developer, when you can just drop their key into /root/.ssh/authorized_keys

  • To allow paul to use root on your computer:
root # mkdir /root/.ssh
root # echo "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINW2jscMf0wx1DZpY6MTA4sJlfoTLMaV4Zk6FACu7NvF mkultra@spaceball-1" >> /root/.ssh/authorized_keys