16 lines
612 B
Bash
16 lines
612 B
Bash
|
#!/bin/bash
|
||
|
# add this to your .bashrc
|
||
|
|
||
|
# socat has a more reliable connection to the server than torify, it seems
|
||
|
|
||
|
# if you want a more reliable client that isn't socat, run:
|
||
|
|
||
|
# socat TCP-LISTEN:22222 SOCKS4a:localhost:7ks473deh6ggtwqsvbqdurepv5i6iblpbkx33b6cydon3ajph73sssad.onion:50000,socksport=9050 &
|
||
|
# nc localhost 22222
|
||
|
# ruby moontalk.rb -serv localhost -port 22222
|
||
|
|
||
|
# or any other client with the server localhost and port 22222.
|
||
|
|
||
|
# tail -1 moontalk.sh >> ~/.bashrc
|
||
|
alias socat_moontalk="socat STDIO SOCKS4A:localhost:7ks473deh6ggtwqsvbqdurepv5i6iblpbkx33b6cydon3ajph73sssad.onion:50000,socksport=9150"
|