OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 18.1 Legacy Series »
  • VPS Installation with VPN Tunnel
« previous next »
  • Print
Pages: [1]

Author Topic: VPS Installation with VPN Tunnel  (Read 3418 times)

ang3l12

  • Newbie
  • *
  • Posts: 1
  • Karma: 0
    • View Profile
VPS Installation with VPN Tunnel
« on: February 21, 2018, 05:40:55 pm »
I currently have opnsense installed on one of my VPS machines, installed by using the opnsense-bootstrap on top of FreeBSD 11.1

My goal is to be able to have a VPN tunnel from my VPS back to my homelab's LAN, to be able to use the VPS' WAN IP as an IP for services inside my homelab. Theoretically, this should work, as there are other people that have similar setups, mostly with pfSense and an OpenVPN client setup to connect to an OpenVPN server in their local LAN.

My problem comes when I configure the OpenVPN client on my VPS to connect to my homelab opnSense OpenVPN server, after about 30 seconds I lose connection to the VPS via the WAN IP. I can access the VPS via my provider's console, and running ping tests verifies internet access, but no connection to my homelab subnet, even though it looks like my homelab's opnsense is reporting the VPN as connected. Any ideas?

My VPS only has one NIC, which is set as the WAN interface.
Logged

Oxygen61

  • Sr. Member
  • ****
  • Posts: 350
  • Karma: 30
  • Der Weg zum Erfolg hat keine Abkürzung - (Tanaka)
    • View Profile
Re: VPS Installation with VPN Tunnel
« Reply #1 on: February 24, 2018, 02:36:10 am »
For more details about your OpenVPN connection you can always check the log file using SSH or by using the GUI itself. In case there is a problem originating from your OPNsense you will definitely catch some hints there to troubleshoot. :)
Logged

steverino

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
    • View Profile
Re: VPS Installation with VPN Tunnel
« Reply #2 on: March 09, 2018, 04:53:00 am »
Quote from: ang3l12 on February 21, 2018, 05:40:55 pm
I currently have opnsense installed on one of my VPS machines, installed by using the opnsense-bootstrap on top of FreeBSD 11.1

Just curious, what VPS are you using?

I've been thinking of trying this (running OPNsense in a VPS), but am more interested in trying IPSec because I think the throughput will be faster than OpenVPN.

Here's a tutorial I have been meaning to try: https://www.youtube.com/watch?v=2IdV4CgHo3w&feature=share
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 18.1 Legacy Series »
  • VPS Installation with VPN Tunnel
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2023 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2