Open KHN190 opened 8 years ago
OK. I made my way. The problem is in my tor log,
Apr 30 15:09:18.000 [warn] Could not launch managed proxy executable at '/usr/local/bin/obfsproxy' ('Permission denied').
Apr 30 15:44:03.000 [warn] Could not launch managed proxy executable at '/usr/local/bin/obfsproxy' ('Permission denied').
Apr 30 15:44:03.000 [warn] Could not launch managed proxy executable at '/usr/local/bin/obfs4proxy' ('Permission denied').
Apr 30 16:19:24.000 [warn] Could not launch managed proxy executable at '/usr/local/bin/obfsproxy' ('Permission denied').
Apr 30 16:19:24.000 [warn] Could not launch managed proxy executable at '/usr/local/bin/obfs4proxy' ('Permission denied').
So I added sudo so it looks like:
ServerTransportPlugin obfs4 exec sudo /usr/local/bin/obfs4proxy
Now it works.
@gumblex sorry to reopen this issue. I do have a problem now.
Sorry, but I can't understand what you are trying to do. Are you trying to use obfs4 with Tor, independently or with ptproxy?
@gumblex I'm using with ptproxy.
Configure for client (local machine):
{
"role": "client",
"state": ".",
"local": "127.0.0.1:1080",
"server": "x.x.x.x:23456", # remote server, configured as tor bridge, and is running a ptproxy server
"ptexec": "obfs4proxy -logLevel=ERROR -enableLogging=true", # like this
"ptname": "obfs4",
"ptargs": "cert=.....;iat-mode=0",
"ptserveropt": "",
"ptproxy": ""
}
I've followed https://github.com/Yawning/obfs4 installation instructions but seemed unable to run obfuscation plugs. Problem:
Any suggestions or alternative commands?
Edit: Now I have a local proxy listening on 1080, sending to remote machine port 23456. With a remote server listening on
0.0.0.0:23456
, forwarding to local 1080.But I have a connect reset by peer problem on local machine. Is this normal for pluggable transports (interrupted)? Or am I having problem with setup?