OpenVPN server IP address blocked by ISP

Need help configuring your VPN? Just post here and you'll get that help.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Post Reply
User avatar
ruddcl
OpenVpn Newbie
Posts: 1
Joined: Wed Oct 15, 2008 11:08 am
Contact:

OpenVPN server IP address blocked by ISP

Post by ruddcl » Fri Oct 17, 2008 8:53 am

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

User avatar
krzee
Forum Team
Posts: 728
Joined: Fri Aug 29, 2008 5:42 pm

Post by krzee » Thu Oct 23, 2008 5:05 pm

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.

User avatar
Admin
Forum Team
Posts: 3
Joined: Wed Aug 27, 2008 1:51 am

Re: OpenVPN server IP address blocked by ISP

Post by Admin » Fri Nov 28, 2008 12:45 am

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

User avatar
ecrist
Forum Team
Posts: 237
Joined: Wed Nov 26, 2008 10:33 pm
Location: Northern Minnesota, USA
Contact:

Re: OpenVPN server IP address blocked by ISP

Post by ecrist » Sat Nov 29, 2008 4:06 am

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.

Post Reply