LINUX.ORG.RU

obfsproxy+tor+openvpn

 , , ,


1

1

Все пакеты работаю, но я думаю , что не правильно их связал, подскажите где моя ошибка ?

cat /etc/tor/torrc
VirtualAddrNetworkIPv4 10.192.0.0/10
AutomapHostsOnResolve 1
TransPort 9040
TransListenAddress 10.8.0.1
DNSPort 53
DNSListenAddress 10.8.0.1
AccountingStart day 0:00
AccountingMax 10 GBytes
RelayBandwidthRate 100 KBytes
RelayBandwidthBurst 500 KBytes
Open VPN server.conf
port 1194
proto tcp
dev tun
ca ca.crt
cert server.crt
key server.key  # This file should be kept secret
dh dh2048.pem
server 10.8.0.0 255.255.255.0
client-config-dir ccd
push "redirect-gateway def1"
push "dhcp-option DNS 10.8.0.1"
keepalive 10 120
tls-auth ta.key 0
cipher AES-256-CBC
comp-lzo
sndbuf 0
rcvbuf 0
persist-key
persist-tun
status openvpn-status.log
verb 3
log /var/log/server.log
Open VPN client.conf
client
dev tun
proto tcp
remote 127.0.0.1 8881
resolv-retry infinite
nobind
persist-key
persist-tun
ca ca.crt
cert client.crt
key client.key
tls-auth ta.key 1
cipher AES-256-CBC
ns-cert-type server
comp-lzo
log clinet.log
verb 3
sndbuf 0
rcvbuf 0
redirect-gateway def1
Iptables
# Generated by iptables-save v1.6.0 on Thu Nov  2 09:59:31 2017
*filter
:INPUT ACCEPT [169722:40482802]
:FORWARD ACCEPT [18683:16489576]
:OUTPUT ACCEPT [172261:57211253]
COMMIT
# Completed on Thu Nov  2 09:59:31 2017
# Generated by iptables-save v1.6.0 on Thu Nov  2 09:59:31 2017
*nat
:PREROUTING ACCEPT [11774:999823]
:INPUT ACCEPT [8203:491367]
:OUTPUT ACCEPT [71:4897]
:POSTROUTING ACCEPT [71:4897]
-A PREROUTING -i tun0 -p tcp -m tcp -j REDIRECT --to-ports 9040
-A PREROUTING -i tun0 -p tcp -m tcp --tcp-flags FIN,SYN,RST,ACK SYN -j REDIRECT --to-ports 9040
-A PREROUTING -i tun0 -p tcp -j REDIRECT --to-ports 9040
-A POSTROUTING -s 10.8.0.0/24 -o eth0 -j MASQUERADE
COMMIT
# Completed on Thu Nov  2 09:59:31 2017
obfsproxy - server запускается с такими параметрами 11.12.13.14:1194 - IP Open VPN server
 /usr/local/bin/obfsproxy \
> --log-file /var/log/obfsproxy/obfsproxy-openvpn.log \
> --log-min-severity info \
> --no-safe-logging \
> --data-dir /etc/obfsproxy/tmp \
> scramblesuit \
> --password-file /etc/obfsproxy/password1 \
> --dest 11.12.13.14:1194 \
> server 127.0.0.1:80
obfsproxy client запускается с такими параметрами
 /usr/local/bin/obfsproxy 
> --log-file /var/log/obfsproxy/obfsproxy-openvpn.log 
> --log-min-severity info 
> --no-safe-logging 
> --data-dir /etc/obfsproxy/tmp
> scramblesuit 
> --password-file /etc/obfsproxy/password1 
> --dest 127.0.0.1:80 
> client 127.0.0.1:8881
Как правильно завернуть трафик с OpenVPN=>TOR=>obfsproxy=>Интернет ?

Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.