Re: Need Some Help Configuring OpenVPN

Top Page
Message as email
+ (text/plain)
+ (text/html)
+ (text/plain)
Delete this message
Reply to this message
Author: Stephen Partington via PLUG-discuss
To: Main PLUG discussion list
CC: Stephen Partington, Mark Phillips
Subject: Re: Need Some Help Configuring OpenVPN seems to think that the
client files are up to user discretion, the only part that requires
/etc/openvpn access is the config files, and that client files are called
when you spin up the OpenVPN client.

On Fri, May 19, 2023 at 11:47 AM Mark Phillips via PLUG-discuss <
> wrote:

> I know there are a lot of articles about configuring OpenVPN on the
> Internet, but I am having trouble finding one that fits my situation. I
> believe I have all the pieces, just not sure how to put them all together.
> I have a Ubuntu 22.04 laptop connected to my local network with OpenVPN
> installed. I have another Ubuntu 22.04 server on the same network. When I
> travel, I would like to access the server over ssh. My router has OpenVPN
> installed by default, so that seems to be a good solution. I downloaded the
> preconfigured client .ovpn file from the router.
> 1. I believe the client.ovpn file goes into /etc/openvpn/clients - correct?
> The client file has this configuration, and then a lot of certificates:
> client
> dev tun
> proto udp
> remote yyyyy #
> resolv-retry infinite
> nobind
> persist-key
> persist-tun
> I use Cox as my Internet provider, so the remote yyyyy should
> take care of my changing IP from Cox. Is that correct? I have an account
> with no-ip to track my changing IP from Cox.
> Should proto also have TCP?
> What should I call this file? Is it enabled by default since it is in the
> clients folder?
> 2. Do I need to set up any special routes on my router to get from the
> outside to my server on port 22 for ssh?
> 3. In the gnome settings panel there is a VPN drop down under networking.
> Do I have to do anything with that?
> 4. What command do I use to connect to my server using the vpn? I don't
> want to use the VPN when I am on my network at home, just when I travel.
> Thanks for your help!
> Mark
> ---------------------------------------------------
> PLUG-discuss mailing list:
> To subscribe, unsubscribe, or to change your mail settings:

A mouse trap, placed on top of your alarm clock, will prevent you from
rolling over and going back to sleep after you hit the snooze button.

PLUG-discuss mailing list:
To subscribe, unsubscribe, or to change your mail settings: