Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Accessing internal net with virtual IP via openVPN

    Scheduled Pinned Locked Moved General pfSense Questions
    1 Posts 1 Posters 278 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      spigandromeda
      last edited by

      Hi,

      I have the following setup. An VM (which I cannot manage. so hardware is fixed) with one NIC (with public IP). Formerly I used an Ubuntu VM for accessing some web interfaces with static IPs. To do so, I assinging two IPs to the one NIC. I tunneled via X2go into the VM and access the web interfaces via browser … as you can see: not a elegant solution.
      Thats why I want to use pfSense: It should do two things.

      • Giving me access to the machines with static IP (lets call that the internal net) via OpenVPN

      • serve as a gateway to the internet for the internal net (this is secondary)

      I already configured openVPN and I can establish a connection. I also created a CARP IP. I can access the web interface via this IP. I can ping the machines in the internal net from the VM console via shell but I cannot access or ping this machines via openVPN.

      Thing I want to do:

      • access the internal net (192.168.55.0/24) via openVPN (10.0.9.0/24)

      • close the webcfg access via public IP but leave ip open via virtual IP

      • make pfsense acting as a gateway for the internal net

      virtual IP is 192.168.55.5/24

      I know thats a lot. But I really hope you can help me.

      Please feel freee to move this topic to another sub forum.

      best regards
      spigandromeda

      1 Reply Last reply Reply Quote 0
      • First post
        Last post
      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.