Difference between revisions of "EHL VPN Client Configuration in Fedora"

From CDOT Wiki
Jump to: navigation, search
(Setting up Remote Access Using NetworkManager GUI Setup Tools in Fedora (Gnome))
(Other Configuration)
Line 41: Line 41:
 
For convenient access to the EHL resources:
 
For convenient access to the EHL resources:
 
# Merge <code>/etc/hosts</code> entries from morocco into your local <code>/etc/hosts</code> file, commenting out or removing the line for morocco itself.
 
# Merge <code>/etc/hosts</code> entries from morocco into your local <code>/etc/hosts</code> file, commenting out or removing the line for morocco itself.
# Copy <code>/usr/local/bin/serial</code> from morocco into your local <code>/usr/local/bin</code> directory.
+
# Copy <code>/usr/local/bin/{serial,pingbuilders,startkojids}</code> from morocco into your local <code>/usr/local/bin</code> directory.
 
# Copy your SSH public key to the EHL systems using <code>ssh-copy-id</code>, including the <code>ostep</code> account on <code>serial</code>.
 
# Copy your SSH public key to the EHL systems using <code>ssh-copy-id</code>, including the <code>ostep</code> account on <code>serial</code>.

Revision as of 15:09, 18 January 2015

The EHL has a PPTP VPN for remote access.

Creating a VPN User

1. Add an entry to the /etc/ppp/chap-secrets file on morocco:

# Secrets for authentication using CHAP
# client        server  secret                  IP addresses
userid          pptpd   password                *

2. Reload the pptpd server: sudo systemctl reload pptpd

Setting up Remote Access Using NetworkManager GUI Setup Tools in Fedora (Gnome)

To set up access to the VPN from a remote Fedora system graphically:

  1. Access the Network portion of the Setting application.
  2. Click the + sign to add a new network connection.
  3. Select VPN as the connection type.
  4. Select Point-to-Point Tunneling Protocol (PPTP) as the VPN type.
  5. Fill in these parameters:
    • Gateway: morocco.proximity.on.ca
    • User name: Your VPN Username
    • Password: Your VPN Password (the system will ask you for this when you connect anyway)
    • NT Domain: leave blank
  6. In the IPv4 tab, fill in these parameters:
    • IPv4: On
    • Address: DHCP
    • DNS: Automatic OFF and all fields blank
    • Routes:
      • Address: 172.16.172.0
      • Netmask: 255.255.255.0
      • Gateway: 172.16.172.254
      • Metric: leave blank
  7. Apply the changes.
  8. Start the VPN with the control in the Network Settings screen or at the top of the Gnome screen.

Other Configuration

For convenient access to the EHL resources:

  1. Merge /etc/hosts entries from morocco into your local /etc/hosts file, commenting out or removing the line for morocco itself.
  2. Copy /usr/local/bin/{serial,pingbuilders,startkojids} from morocco into your local /usr/local/bin directory.
  3. Copy your SSH public key to the EHL systems using ssh-copy-id, including the ostep account on serial.