I have setup and been playing with openvpn and everything has been great, managed to get it all working fine, except for the vpn
over a proxy connection.
Here are the command lines for both sides of the vpn, and in the logs, i get a 404 Not Found error.
On the listening side.
Openvpn --proto tcp-server --dev tun0 --ifconfig 10.8.0.2 10.8.0.1 --verb 9 --daemon --log-append /var/log/openvpn.log
On the client side
Openvpn --proto tcp-client --dev tun2 --remote http://our.external.server --ifconfig 10.8.0.1 10.8.0.2 --verb 9 --http-proxy
ip.of.proxy 3128 up.txt --log-append /var/log/openvpn.log
up.txt is just a file with the username/password for the proxy.
Now when i do this, i get a HTTP 404 Not Found error
The server side is listening on port 1194
The client side is tryign to connect with this line -
Wed Dec 22 18:22:41 2004 us=719362 Send to HTTP proxy: 'CONNECT http://our.external.server:1194 HTTP/1.0'
Wed Dec 22 18:22:41 2004 us=719411 Attempting Basic Proxy-Authorization
Wed Dec 22 18:22:41 2004 us=719424 Send to HTTP proxy: 'Proxy-Authorization: Basic [encrypted pass here]'
Wed Dec 22 18:22:43 2004 us=828731 HTTP proxy returned: 'HTTP/1.0 404 Not Found'
Wed Dec 22 18:22:43 2004 us=828816 HTTP proxy returned bad status
Wed Dec 22 18:22:43 2004 us=828840 TCP/UDP: Closing socket
I wanted to know is there something i am doing wrong, or do need to not append the external server with http:// or does the
listenign side also need to connect back via the proxy?
If anyone could suggest anything, it would be muchly appreciated.