OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • English Forums »
  • General Discussion »
  • two Address one inferface and OpenVPN
« previous next »
  • Print
Pages: [1]

Author Topic: two Address one inferface and OpenVPN  (Read 1665 times)

thron

  • Newbie
  • *
  • Posts: 34
  • Karma: 0
    • View Profile
two Address one inferface and OpenVPN
« on: March 20, 2020, 09:10:17 am »
Hi there,
I have a question and need help.

I have a computer with two network cards on which I have installed Opnsense and want to operate it as an OpenVPN server. One card is the WAN interface and the other card is the LAN interface.

Confguration:
WAN -> 192.168.178.240
LAN -> 192.168 150 .2

There are two networks on the WAN side, which are as follows:
1 -> 192.168.178.0/24
2 -> 192.168.10.0/24

Now I would like to use both networks over a WAN interface. So that a VPN client that comes from network 1 and a VPN client that comes from network 2 can connect.
How do I do that?

I once created a virtual IP but somehow it doesn't work.

Can someone please help me, I'm desperate right now!

Many greetings and thank you.
Logged

bartjsmit

  • Hero Member
  • *****
  • Posts: 2023
  • Karma: 194
    • View Profile
Re: two Address one inferface and OpenVPN
« Reply #1 on: March 20, 2020, 01:50:09 pm »
Connect the WAN side to a managed switch and assign a separate VLAN for each subnet.

You are allowing private networks, aren't you?

Bart...
Logged

thron

  • Newbie
  • *
  • Posts: 34
  • Karma: 0
    • View Profile
Re: two Address one inferface and OpenVPN
« Reply #2 on: March 22, 2020, 12:03:41 am »
Perfekt...Thank you!
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • English Forums »
  • General Discussion »
  • two Address one inferface and OpenVPN
 

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