0

I have configured a Centos 7 server with TOR and obfs4proxy and server is running OK. On the client side, I am also using a Centos 7 machine. I have made the following changes to /etc/tor/torrc config file on both sides.

server side

ControlSocket /run/tor/control
ControlSocketsGroupWritable 1
CookieAuthentication 1
CookieAuthFile /run/tor/control.authcookie
CookieAuthFileGroupReadable 1
SOCKSPort 0
Log notice file /var/log/tor/notices.log
ORPort 1234
ExitPolicy reject : # no exits allowed
BridgeRelay 1
PublishServerDescriptor 0
ServerTransportPlugin obfs4 exec /usr/bin/obfs4proxy
ServerTransportListenAddr obfs4 0.0.0.0:34567
ExtORPort auto

client side

UseBridges 1
ClientTransportPlugin obfs4 exec /usr/bin/obfs4proxy
bridge obfs4 serveripaddress:34567 fingerprint cert=key iat-mode=0
where key is the extracted from
/var/lib/tor/pt_state/obfs4_bridgeline.txt, and fingerprint is extracted from /var/lib/tor/fingerprint

When starting the tor on client, i'm geting the the following messages which seems to be fine.

Oct 04 22:17:51 xxx tor[10607]: Oct 04 22:17:51.211 [notice] Opening Socks listener on 127.0.0.1:9050
Oct 04 22:17:51 xxx tor[10607]: Oct 04 22:17:51.211 [notice] Opened Socks listener on 127.0.0.1:9050

but,

curl -socks5-hostname 127.0.0.1:9050 https://check.torproject.org/api/ip

returned,

{"IsTor":false,"IP":"xxx.xxx.xxx.xxx"}

I masked my IP address above. I also replaced my client bridge with one from tor and still getting the same message. Could you please tell me what is wrong ?

Thank you very much for your comments.

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.