Basically, I'm trying to use a VPN to manage a website of mine while at school, but I can't because they are using a port for the CPanel that is blocked by my school's proxy server. The only ports allowed are 80, 8080, and 443 (as far as I can tell) and in order to create a connection on those ports they
must have a hostname. I have no idea what the sysadmin was thinking but he decided that we cannot directly connect to IPs. I'd prefer not to bother him based on the reputation and attitude of the technicians at my district, so I'm thinking if it's possible to connect to the domain which would route me to the IP instead of directly to the IP.
openvpn.ovpn (client):
Code: Select all
client
remote vpn.matthewhall.ca 443
persist-key
tls-client
tls-auth ta.key 1
proto
tcp-client
ca ca.crt
redirect-gateway def1
dev tun
persist-tun
cert crt.crt
comp-lzo
nobind
key key.key
pull
cipher AES-256-CBC
verb 4
However, when connecting, I get this:
Code: Select all
Fri Oct 01 13:54:24 2010 us=400000 Attempting to establish TCP connection with 67.159.56.2:443
Fri Oct 01 13:54:25 2010 us=398000 TCP: connect to 67.159.56.2:443 failed, will try again in 5 seconds: Connection refused (WSAECONNREFUSED)
It does recognize that the remote is vpn.matthewhall.ca:443, but it tries to connect to the IP for it - 67.159.56.2:443. Any reason why it is doing this? Any reason to make it connect to vpn.matthewhall.ca instead?