Unsure how to connect a connected openvpn provider login

Business solution to host your own OpenVPN server with web management interface and bundled clients.
Post Reply
jpcookie
OpenVpn Newbie
Posts: 2
Joined: Wed May 20, 2015 8:32 pm

Unsure how to connect a connected openvpn provider login

Post by jpcookie » Wed May 20, 2015 8:42 pm

So after getting no response from at least two different channels and needing to get the ball rolling I have had to go to the source for configuration of my vpn since my distribution support has been lacking. Let me see if I can get the necessary backround.

I have been interested in getting Linux back in the swing of things after a hiatus of about 10 years or so and was surprised to note that hyper visor technology has progressed for free nicely in the form of virtual box (the most recent version), and with Debian's DVD ISO being ready it looked good to combine the two.

Now I have a vpn service provider that works well with Android and runs on a simple .ovpn file along with a basic key file. I am not setting up a client and server since in theory the server has been taken care of so the documentation for configuration of Debian's setup seems to preclude that I'm creating an openvpn server on my own and creating clients to this. That would seem to not only be overkill but not apply. What I want to do is just take the working configuration for openvpn and run it on Linux.

Networking works on the Debian instance via the normal connection and signs in correctly with "Initialization Completed" from there no connection is being routed through the VPN and when I tried to follow some instructions after quite a few Google searches seems like it refused to connect at all to any websites.

I just need to be able to take my wired ethernet connection (eth0) and make sure that all coming and going traffic goes through the tunneled connection (tun0).

I do not have any pgp keys as they were never needed, I do not have key files as they were never needed. I'm not sure why this has never been an issue with anyone using this type of software before or for that matter what is incorrect with my approach.

I need to know what I can do in this case in the abstract to address "out of the box" configurations for a simple setup like this. The hose computer is also networked correctly as well with a cable internet provider and wired through Ethernet directly to the cable model.

What configurations do you need to see in order to assist me?

What are the things I need to check?

If I have to post data what is a way to not compromise my security in such a post, etc?

Thanks for the feedback.

User avatar
Traffic
OpenVPN Protagonist
Posts: 4066
Joined: Sat Aug 09, 2014 11:24 am

Re: Unsure how to connect a connected openvpn provider login

Post by Traffic » Fri May 22, 2015 12:53 pm

jpcookie wrote:What configurations do you need to see in order to assist me?
server and client configs and logs ..
jpcookie wrote:What are the things I need to check?
Start here:
HOWTO: For OpenVPN Community Edition
jpcookie wrote:If I have to post data what is a way to not compromise my security in such a post, etc?
remove public IP addresses and server names .. private IP addresses RFC1918 can be left unchanged ..

jpcookie
OpenVpn Newbie
Posts: 2
Joined: Wed May 20, 2015 8:32 pm

Re: Unsure how to connect a connected openvpn provider login

Post by jpcookie » Mon Jun 01, 2015 10:18 pm

jpcookie@Sarnya:~$ sudo ifconfig -v
eth0 Link encap:Ethernet HWaddr 08:00:27:05:26:53
inet addr:10.0.2.15 Bcast:10.0.2.255 Mask:255.255.255.0
inet6 addr: fe80::a00:27ff:fe05:2653/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1711196 errors:0 dropped:0 overruns:0 frame:0
TX packets:996337 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1212322284 (1.1 GiB) TX bytes:125247221 (119.4 MiB)

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:90638 errors:0 dropped:0 overruns:0 frame:0
TX packets:90638 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:26496249 (25.2 MiB) TX bytes:26496249 (25.2 MiB)

tun0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet addr:172.xx.xx.xx P-t-P:172.xx.xx.xx Mask:255.255.252.0
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
RX packets:17 errors:0 dropped:0 overruns:0 frame:0
TX packets:159 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:688 (688.0 B) TX bytes:8176 (7.9 KiB)

jpcookie@Sarnya:~$ sudo route -v -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 172.xx.xx.1 (jumped to the beginning of the IP address range as the above tun 0) 128.0.0.0 UG 0 0 0 tun0
0.0.0.0 10.0.2.2 0.0.0.0 UG 0 0 0 eth0
10.0.2.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
128.0.0.0 172.xx.xx.1 (jumped to the beginning of the IP address range as the above tun 0) 128.0.0.0 UG 0 0 0 tun0
172.20.32.0 0.0.0.0 255.255.252.0 U 0 0 0 tun0
205.185.218.194 10.0.2.2 255.255.255.255 UGH 0 0 0 eth0

Post Reply