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
Unable to create VPN tunnel
Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech
- maikcat
- Forum Team
- Posts: 4200
- Joined: Wed Jan 12, 2011 9:23 am
- Location: Athens,Greece
- Contact:
Re: Unable to create VPN tunnel
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.
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"
Long live Dino Dini (Kick off 2 Creator)
Inflammable means flammable? (Dr Nick Riviera,Simsons Season13)
"objects in mirror are losing"
-
- OpenVpn Newbie
- Posts: 12
- Joined: Mon Jan 28, 2013 4:53 pm
Re: Unable to create VPN tunnel
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
Mike