Need help! [openvpn over dynamic ssh proxy]
Posted: Wed Apr 25, 2012 12:54 pm
Greetings to all
Please be patient with me, I am fresh fish :p
My ISP is suffocating openvpn protocol (always fail in TLS handshake), so I have to find another way to connect.
I tried to use ssh to the same vps (as dynamic socks5 proxy) using port 1050
I am connected... but nothing more (ie: nothing is happening)
I cannot ping client from server
I cannot ping server from client
here is a copy of server.conf:
port 38823
proto tcp
dev tun
script-security 3
tls-server
ca /etc/openvpn/2.0/keys/ca.crt
cert /etc/openvpn/2.0/keys/server.crt
key /etc/openvpn/2.0/keys/server.key
dh /etc/openvpn/2.0/keys/dh1024.pem
server 10.13.13.0 255.255.255.0
ifconfig-pool-persist ipp.txt
push "route 10.13.13.0 255.255.255.0"
push "redirect-gateway"
push "dhcp-option DNS 8.8.8.8"
push "dhcp-option DNS 8.8.4.4"
client-to-client
keepalive 10 120
cipher AES-128-CBC
comp-lzo
max-clients 10
user nobody
group nogroup
persist-key
persist-tun
route-noexec
verb 4
and here is a copy of client.ovpn:
client
# pull
dev tun
proto tcp
socks-proxy-retry
socks-proxy 127.0.0.1 1050
remote <vps.ip.here> 38823
route <vps.ip.here> 255.255.255.255 net_gateway
resolv-retry infinite
nobind
persist-key
persist-tun
script-security 3
ca ca.crt
client client.crt
key client.key
cipher AES-128-CBC
comp-lzo
ping 5
ping restart 10
verb 3
Also I checked / double-checked iptables, and seems nothing is wrong.
Any ideas will be appreciated .
Please be patient with me, I am fresh fish :p
My ISP is suffocating openvpn protocol (always fail in TLS handshake), so I have to find another way to connect.
I tried to use ssh to the same vps (as dynamic socks5 proxy) using port 1050
I am connected... but nothing more (ie: nothing is happening)
I cannot ping client from server
I cannot ping server from client
here is a copy of server.conf:
port 38823
proto tcp
dev tun
script-security 3
tls-server
ca /etc/openvpn/2.0/keys/ca.crt
cert /etc/openvpn/2.0/keys/server.crt
key /etc/openvpn/2.0/keys/server.key
dh /etc/openvpn/2.0/keys/dh1024.pem
server 10.13.13.0 255.255.255.0
ifconfig-pool-persist ipp.txt
push "route 10.13.13.0 255.255.255.0"
push "redirect-gateway"
push "dhcp-option DNS 8.8.8.8"
push "dhcp-option DNS 8.8.4.4"
client-to-client
keepalive 10 120
cipher AES-128-CBC
comp-lzo
max-clients 10
user nobody
group nogroup
persist-key
persist-tun
route-noexec
verb 4
and here is a copy of client.ovpn:
client
# pull
dev tun
proto tcp
socks-proxy-retry
socks-proxy 127.0.0.1 1050
remote <vps.ip.here> 38823
route <vps.ip.here> 255.255.255.255 net_gateway
resolv-retry infinite
nobind
persist-key
persist-tun
script-security 3
ca ca.crt
client client.crt
key client.key
cipher AES-128-CBC
comp-lzo
ping 5
ping restart 10
verb 3
Also I checked / double-checked iptables, and seems nothing is wrong.
Any ideas will be appreciated .