Page 1 of 1

OpenVPN server IP address blocked by ISP

Posted: Fri Oct 17, 2008 8:53 am
by ruddcl
I am currently working in Uzbekistan and the government controls Internet access. The IP address of my foreign partner's OpenVPN server is blocked. How can I bypass this blockage and still maintain a tunnel. I have an unblocked fixed IP address on a server outside the region which I can dedicate to the bypass operation.
I want to change in the configuration script the server IP address to my unblocked IP address. When the packet arrives at my open IP address it reroutes the connection to the blocked IP address. Can this form of IP masking be used and still maintain a tunnel connection? What kind of script do I need to put on the relay hosting server?


Charles

Posted: Thu Oct 23, 2008 5:05 pm
by krzee
absolutely, all you need to do is make the machine with the open IP your server, connect both machines as clients, and use client-to-client config option.
What you are asking for is a standard configuration.

Re: OpenVPN server IP address blocked by ISP

Posted: Fri Nov 28, 2008 12:45 am
by Admin
Just an update here.. I received this via email from the member, didn't realize it.

>> krzee

>> Your solution would be feasible if I controlled all the machines but the
>> blocked IP OpenVPN server belongs to our satellite provider and they have
>> many clients so they can not set up a special link for me. My unblocked IP
>> subdomain is on a hosting server so I can not modify the Apache
>> configuration and have the necessary access to install OpenVPN on the
>> subdomain. I can only access the subdomain via http or ftp only
>>
>> Regards
>> Ruddcl

Re: OpenVPN server IP address blocked by ISP

Posted: Sat Nov 29, 2008 4:06 am
by ecrist
You could do what you need with a quick (and dirty) ssh tunnel.

Consider the following:
Remote OpenVPN Server IP: 50.0.0.1
Remote OpenVPN Server Port: 1194
Remote 'Open' Server IP: 60.0.0.1

Run the following ssh command on the server you're using to connect 'out' from via OpenVPN:

Code: Select all

ssh -L 1194:50.0.0.1:1194 user@50.0.0.1
From there, connect your local OpenVPN instance to localhost on port 1194. You should be good to go.