OpenVPN doesn't tunnel

1

I have a openvpn server which listens port 443 but it doesn't seem to tunnel my connections.

I run the client in a network that blocks FTP connections, it says it is connected to my server but in fact if i connect to a site via FTP, my connection is still blocked.

Shouldn't a VPN tunnel all my connections and let me access ports that are blocked in the network where i execute the client?

Harlandraka

Posted 2013-04-16T11:51:30.000

Reputation: 375

You have to configure the routing. http://superuser.com/questions/120069/routing-all-traffic-through-openvpn-tunnel?rq=1

– pjc50 – 2013-04-16T12:56:35.770

@pjc50 How can i find my vpn interface address? – Harlandraka – 2013-04-16T13:01:33.313

@Harlandraka you can find the address by going to network connections and double clicking the tap or tun network adapter. – MDMoore313 – 2013-04-16T14:30:37.797

@MDMoore313 and what address do i have to copy? ipv4 address? ipv4 subnet mask? – Harlandraka – 2013-04-16T15:01:58.390

Answers

1

If you follow the link that was posted in your question's comments it will tell you how to configure your machine for this. The problem with that though, is that once you disconnect from the VPN you will not have internet access. The best way is for it to be implemented in the VPN server config files, as I have outlined here.

MDMoore313

Posted 2013-04-16T11:51:30.000

Reputation: 4 874

server settings are ok, it is working properly, but i'm not able to tunnel connections from client to server, i don't understand what is the address i have to look for in my client network connection properties – Harlandraka – 2013-04-16T15:16:29.727

@Harlandraka If that's the case then be sure to run OpenVPN in elevated mode so that it can alter your routing table to add the appropriate routes. – MDMoore313 – 2013-04-16T15:18:52.180

Can you please tell me which address from connection properties i have to write instead of a.b.c.d? – Harlandraka – 2013-04-16T15:20:45.233

@Harlandraka you're misunderstanding me. That *will not* give you a permanent solution. – MDMoore313 – 2013-04-16T15:26:00.697

Ok but i want to know what IP should i copy – Harlandraka – 2013-04-16T15:26:52.950

@Harlandraka The IPv4 address. – MDMoore313 – 2013-04-16T15:28:00.393

It always results in ERR_NAME_NOT_RESOLVED if i use the procedure shown in your first link – Harlandraka – 2013-04-16T17:33:27.650

@Harlandraka Try this on your server

– MDMoore313 – 2013-04-16T17:46:20.867

How can i see my table? – Harlandraka – 2013-04-16T18:22:11.657

@Harlandraka open a command prompt and type route print – MDMoore313 – 2013-04-16T18:24:51.407

My VPN is on 192.168.0.201 and in my server config file i already have push route "192.168.0.0 255.255.255.0" Is it correct? – Harlandraka – 2013-04-16T18:34:24.360