RE: How to setup NM VPN ?

On Thu, 2009-02-12 at 16:58 -0300, Miguel Rozsas wrote:
> I just figure out how to fix the SELinux issue. 
> I learned somewhere in the net in a SELinux tutorial that when you
> copy a file from one place to another you are copying the SELinux
> attributes too. But when you create a new file it has the right
> selinux attributes for that location.

Correct; there's also a "restorecond" that will automatically restore
the correct SELinux labels for you, if you choose to start that service
at boot.


> So I did, (as root):
> [code]
> touch /etc/openvpn/user.pem
> touch /etc/openvpn/key.pem
> touch /etc/openvpn/cacert.pem
> cp ~miguel/tmp/user.pem /etc/openvpn/user.pem
> cp ~miguel/tmp/key.pem /etc/openvpn/key.pem
> cp ~miguel/tmp/cacert.pem /etc/openvpn/cacert.pem
> chmod a+r /etc/openvpn/*.pem
> [/code]
> and I setup the NM-vpn using the files on /etc/openvpn, not the ones
> on my home.
> If you have a better idea/solution I want to hear you.
> best regards,
> ______________________________________________________________________
> Invite your mail contacts to join your friends list with Windows Live
> Spaces. It's easy! Try it!

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]