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

how to correctly import and export hidden services? #82

Closed
ghost opened this issue Aug 6, 2021 · 4 comments
Closed

how to correctly import and export hidden services? #82

ghost opened this issue Aug 6, 2021 · 4 comments
Labels
Help wanted Extra attention is needed Onion Services

Comments

@ghost
Copy link

ghost commented Aug 6, 2021

Hi, i saved my hidden services from previously version of torbox, /var/lib/tor and torrc file, but after copy folder with hidden services and add hidden service dir records to torrc, torbox don't want to share internet, in finally internet not working anymore, what i do wrong?

@radio24
Copy link
Owner

radio24 commented Aug 6, 2021

Until yet, TorBox doesn't support hidden services.

@radio24 radio24 added Help wanted Extra attention is needed Onion Services labels Aug 6, 2021
@ghost ghost closed this as completed Aug 6, 2021
@ghost ghost reopened this Aug 6, 2021
@ghost
Copy link
Author

ghost commented Aug 6, 2021

Until yet, TorBox doesn't support hidden services.

you mean that i will make records in torrc like:

HiddenServiceDir /var/lib/tor/hidden_service/ 
HiddenServicePort 80 127.0.0.1:80

hidden service will not work? because i do this, and hidden service worked, but, i want to import my hidden services, all devices connected to torbox lost internet connection after cp -R tor /var/lib/tor/ with my hidden services.

@radio24
Copy link
Owner

radio24 commented Aug 6, 2021

No, I mean that I didn't look into Hidden Services yet.

Probably, with your command, you created /var/lib/tor/tor. I don't think that's right and because ofHiddenServiceDir /var/lib/tor/hidden_service/ in torrc that could block tor from starting up. You may try cp -R hidden_service /var/lib/tor/. Another problem could be that the owner of the directory hidden_service and all its folders/files are wrong. It should be debian-tor:debian-tor. You may try the following commands after copying the folder:

chown -R debian-tor:debian-tor /var/lib/tor/hidden-service/
chmod -R 0700 /var/lib/tor/hidden_service/

@ghost
Copy link
Author

ghost commented Aug 7, 2021

worked, thanks

@ghost ghost closed this as completed Aug 7, 2021
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Help wanted Extra attention is needed Onion Services
Projects
None yet
Development

No branches or pull requests

1 participant