View previous topic :: View next topic |
Author |
Message |
Moriah Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/5229545064dad0ea85f50b.gif)
Joined: 27 Mar 2004 Posts: 2383 Location: Kentucky
|
Posted: Fri May 20, 2011 5:03 am Post subject: HELP - openvpn fails after move to openRC - SOLVED |
|
|
i updated the client side box and everything worked fine, but when I updated the server side box, the 2 will no longer flow data. when the client starts as / etc/init.d/openvpn.tun1 it complains with "WARNING: openvpn.tun1 has started, but is inactive"
I have been using this same openvpn configuration for several years, and the problem only started when I upgraded the server to openRC.
This openvpn connection is my connection to the internet, so to post this, I am using my ipad with the cellular connection. This makes it impossible for me ta actually paste stuff from the logfiles, so please excuse me for not pasting when I am posting. ![Rolling Eyes :roll:](images/smiles/icon_rolleyes.gif) _________________ The MyWord KJV Bible tool is at http://www.elilabs.com/~myword
Foghorn Leghorn is a Warner Bros. cartoon character.
Last edited by Moriah on Fri May 20, 2011 4:51 pm; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
atmosx n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 17 Jul 2009 Posts: 43
|
Posted: Fri May 20, 2011 7:40 am Post subject: Re: HELP - openvpn fails after move to openRC |
|
|
Moriah wrote: | i updated the client side box and everything worked fine, but when I updated the server side box, the 2 will no longer flow data. when the client starts as / etc/init.d/openvpn.tun1 it complains with "WARNING: openvpn.tun1 has started, but is inactive"
I have been using this same openvpn configuration for several years, and the problem only started when I upgraded the server to openRC.
This openvpn connection is my connection to the internet, so to post this, I am using my ipad with the cellular connection. This makes it impossible for me ta actually paste stuff from the logfiles, so please excuse me for not pasting when I am posting. ![Rolling Eyes :roll:](images/smiles/icon_rolleyes.gif) |
Hello,
I get the same message but my openvpn works. It takes about 2 minutes though to set it up, I don't know why. I guess yours works also.
What I came across though is that If you have only 1 openvpn network configured use the default configuration. The openvpn.xxx thing will work for more than 1 OpenVPN. So if you have just one, rename them to default (/etc/init.d/openvpn and /etc/openvpn/openvpn.conf).
Hope this help,
regards, |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Moriah Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/5229545064dad0ea85f50b.gif)
Joined: 27 Mar 2004 Posts: 2383 Location: Kentucky
|
Posted: Fri May 20, 2011 4:49 pm Post subject: |
|
|
No, my problem -- it turns out -- was not openvpn at all; it was that ip forwarding was not getting turned on. Somewhere in all the maze of startup scripts, the line:
Code: |
echo '1' > /proc/sys/net/ipv4/ip_forward
|
got lost, misplaced, or kidnapped.
Somehow, when the change to openrc was made yesterday, this got dropped, resulting in no traffic getting passed thru the vpn tunnel, so it *LOOKED* like an openvpn problem.
The fact that the machine in question is 75 miles from here and provides my internet connection made it even more fun.
Anyway, the problem is solved. I finally gave up working on it around 3 am, and as I was turning out the light, I had this sudden inspiration that ip forwarding was not enabled. It was all I could do to make myself go to bed anyway and say I'd fix the next morning if that was the case. _________________ The MyWord KJV Bible tool is at http://www.elilabs.com/~myword
Foghorn Leghorn is a Warner Bros. cartoon character. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|