mirror of
https://gitlab.com/hacklab01/pivilion.git
synced 2025-04-29 16:47:17 +00:00
Update pivilion manual setup
parent
cbfdb2f981
commit
bf74690048
@ -45,9 +45,8 @@ We will use nmap to scan our DHCP IP range for all hosts that are up. Replace 10
|
||||
Enter
|
||||
`nmap 10.0.0.1/24` into your terminal (replace 10.0.0.1 with your network's IP)
|
||||
|
||||
and
|
||||
|
||||
Login to your Pi using SSH with username: *pi* password (which will, for security reasons, not be visible as you type it in): *raspberry*.
|
||||
Login to your Pi using SSH with username: *pi*
|
||||
and password (which will, for security reasons, not be visible as you type it in): *raspberry*
|
||||
|
||||
`ssh pi@10.0.0.5 `
|
||||
|
||||
@ -59,7 +58,7 @@ It's really important to change the default password for obvious security reason
|
||||
|
||||
`passwd`
|
||||
|
||||
and input the new password
|
||||
and input the new password.
|
||||
|
||||
### Expand your filesystem
|
||||
|
||||
@ -208,17 +207,17 @@ Edit Tor's configuration file /etc/tor/torrc by issuing
|
||||
|
||||
Uncomment (remove the leading hash symbol, #)
|
||||
|
||||
RunAsDeamon 1
|
||||
*RunAsDeamon 1*
|
||||
|
||||
In the section intended for hidden services only, uncomment (by removing the # in front of) the two lines
|
||||
|
||||
HiddenServiceDir /var/lib/tor/hidden_service
|
||||
*HiddenServiceDir /var/lib/tor/hidden_service
|
||||
|
||||
HiddenServicePort 80 127.0.0.1:80
|
||||
HiddenServicePort 80 127.0.0.1:80*
|
||||
|
||||
In order to setup additional services, simply add their ports to this list, followed by your localhost IP (always 127.0.0.1). Eg. for SSH via Tor we would add
|
||||
In order to setup additional services, simply add their ports to this list, followed by your localhost IP (always 127.0.0.1). E.g. for SSH via Tor we would add
|
||||
|
||||
HiddenServicePort 22 127.0.0.1:22
|
||||
*HiddenServicePort 22 127.0.0.1:22*
|
||||
|
||||
Note that hidden service ports don't need to be the same as their local ports. It is recommended to run services on high ports (1024-65535) for (not much) added security. The port for the http service is left at the default port 80, because otherwise we need to input the port in the URL, i.e. 7j4kxhmso6yhz2df.onion:1337 to access the website on port 1337.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user