OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 17.1 Legacy Series »
  • VPN and IP's
« previous next »
  • Print
Pages: [1]

Author Topic: VPN and IP's  (Read 2377 times)

neggard

  • Newbie
  • *
  • Posts: 13
  • Karma: 0
    • View Profile
VPN and IP's
« on: March 06, 2017, 04:14:01 pm »
I have a synology nas that I open some port on so I could connect from outside firewall.
It work perfect.

Then I installed a VPN on my NAS, when I am connected to the VPN I cant access the NAS from outside.

On local side it's no problem to connect to nas with local IP but outside I cant reach the NAS.
It is possible to fix this so I can be connected to VPN and still access the NAs outside firewall?
Logged

abalsam

  • Newbie
  • *
  • Posts: 23
  • Karma: 0
    • View Profile
Re: VPN and IP's
« Reply #1 on: March 06, 2017, 11:26:48 pm »
Depending on how the VPN is set up, the machine in VPN can communicate with other machines on the same subnet directly but everything else ends up routed through the VPN.  If that is the case with your configuration, you may need to set up a NAT from the internet to the NAS so that the NAS thinks it is communicating with a local IP address.

Hope this helps.
Logged

ivoruetsche

  • Newbie
  • *
  • Posts: 30
  • Karma: 5
    • View Profile
Re: VPN and IP's
« Reply #2 on: March 07, 2017, 07:57:17 am »
Salü Neggard

Why you install on the NAS when you have an OPNsense Firewall. Terminate the VPN on the Firewall and you can access to the whole subnet in the LAN side - NAS inclusive.

gruss ivo
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 17.1 Legacy Series »
  • VPN and IP's
 

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