Unable to create VPN tunnel

This forum is for general conversation and user-user networking.

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

Post Reply
mholl
OpenVpn Newbie
Posts: 12
Joined: Mon Jan 28, 2013 4:53 pm

Unable to create VPN tunnel

Post by mholl » Mon Jan 28, 2013 4:57 pm

I am using OpenVPN command line tools to create a tunnel and I was able to create and send data from one computer to another. I do notice that once in a while, when I try to set up a connection, the systems do not acknowledge each other and they are at a waiting state. I double check the network parameters and they are correct but it is unable to connect. To resolve this issue, I have to restart my computer, re-enter the parameters, then a VPN connection would be established.

Here is an example of the openvpn command: openvpn --port 1194 --remote 10.0.0.166 --dev tun --proto udp --ifconfig 10.4.0.153 10.4.0.154. I then swap the Vpn addresses and change the remote address for the other user.

Has anyone seen this problem before? What scares me is that it is happens after connecting frequently.

Thanks,
Mike

User avatar
maikcat
Forum Team
Posts: 4200
Joined: Wed Jan 12, 2011 9:23 am
Location: Athens,Greece
Contact:

Re: Unable to create VPN tunnel

Post by maikcat » Tue Jan 29, 2013 7:53 am

hi there,

just to remind you that you can create a config file with the parameters used
instead of giving them via command line..


if you enable logging on both sides i am sure we will get an idea why your tunnel
stops working....

Michael.
Amiga 500 , Zx +2 owner
Long live Dino Dini (Kick off 2 Creator)

Inflammable means flammable? (Dr Nick Riviera,Simsons Season13)

"objects in mirror are losing"

mholl
OpenVpn Newbie
Posts: 12
Joined: Mon Jan 28, 2013 4:53 pm

Re: Unable to create VPN tunnel

Post by mholl » Tue Jan 29, 2013 11:12 pm

Thanks for your response. I will enable the logging to see if I get any more information about the error. As for the config file, I prefer to use the command line argument because I am modifying the parameters on the fly and it will work better if I use the command line to do so.

Mike

Post Reply