Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - desartecsrl@gmail.com

#1
Virtual private networks / Re: Config OpenVpn Multiwan
January 07, 2023, 05:11:25 PM
If it's correct, I can only access the OPNSense web manager and it responds to PINGs (192.168.254.254). But the other computers (192.168.254.229), (192.168.254.230) and (192.168.254.231) on the LAN are turned off.

This is the block diagram


#2
Ich würde gerne, aber Sie sind diejenigen mit der größten Veranlagung und denjenigen, die sich mit dem Thema am besten auskennen.
#3
Das wäre das komplette Schema, ich glaube, ich vermisse nichts.

#4
Danke, eines Tages werden wir wie du sein. Alles, was wir brauchen, ist eine weitere Welttrophäe und wir haben sie. Sie haben 4 Trophäen und wir haben nur 3.

Quote

- WAN2-Schnittstelle
- UDP-Protokoll
- Ziel-WAN1-Adresse

es ist schon korrigiert


Die OPNSense-Daten lauten wie folgt:

LAN: 192.168.254.254/24

Wenn das VPN verbunden ist (was mir die Adresse 10.70.250.250 gibt), wenn ich 10.70.250.250 pinge, antwortet es und ich kann 192.168.254.254 pingen (LAN-Firewall)

Über VPN verbunden kann ich erfolgreich auf den OPNSense-Webmanager zugreifen. Ich habe versucht, eine Verbindung von WAN1 und WAN2 mit dem gleichen Problem herzustellen.

Verbunden über VPN (10.70.250.250) LAN IP 192.168.254.230 antwortet NICHT auf PING.

Aus LAN: 192.168.254.230 Reagiert NICHT auf Ping 10.70.250.250
#5
Hallo, in einer Installation haben wir ein weiteres WAN (WAN1) hinzugefügt, um den Lastausgleich durchzuführen, wir haben bereits alles konfiguriert und fast alles funktioniert gut, außer dem VPN, das sich zwar verbindet und keinen Fehler anzeigt, aber wir können nicht auf das LAN zugreifen. Wir konfigurieren das opnsense wie folgt.

Firewall -> NAT -> Portweiterleitung
--> Hinzufügen (+)

- WAN1-Schnittstelle
- UDP-Protokoll
- Ziel-WAN1-Adresse
- Zielportbereich von: bis:
                                                OpenVPNOpenVPN
- Umleitungsziel-IP Einzelner Host oder Netzwerk
                                                127.0.0.1
- NAT-Spiegelung Systemstandard verwenden
- Zuordnung von Filterregeln Fügen Sie eine zugeordnete Filterregel hinzu
- Behalten

--> Hinzufügen (+)

- WAN2-Schnittstelle
- UDP-Protokoll
- Ziel-WAN1-Adresse
- Zielportbereich von: bis:
                                                OpenVPNOpenVPN
- Umleitungsziel-IP Einzelner Host oder Netzwerk
                                                127.0.0.1
- NAT-Spiegelung Systemstandard verwenden
- Zuordnung von Filterregeln Fügen Sie eine zugeordnete Filterregel hinzu
- Behalten


VPN -> OpenVPN -> Server
-> Bearbeiten
- Localhost-Schnittstelle
- Behalten

Was fehlt mir zum Konfigurieren?

Sorry für mein Deutsch, aber ich benutze den Übersetzer. Spricht die spanische Sprache, ich komme aus Argentinien.





#6
Hi, I have finished setting up OpnSense with 2 WANs with load balancing, almost everything works fine except the VPN connecting from the 2 WANs. From what I understand, you have done the same thing, but I can't access any of the machines on the LAN. Do you have that problem?
#7
Virtual private networks / Re: Config OpenVpn Multiwan
January 05, 2023, 04:34:03 PM
When doing NAT, opnsense in the WAN1 and WAN2 firewall rules is automatically added Direction: IN. Protocol IPv4, Source: *, Port: *, Target: 127.0.0.1 , Port Target: 1194, Gateway: *
#8
Virtual private networks / Config OpenVpn Multiwan
January 04, 2023, 10:14:26 PM
Hello Forum, in an installation we added one more WAN (WAN1) to perform load balancing, we already configured everything and almost everything works fine, except the VPN that although it connects and does not give an error, we cannot access the LAN. We configure the opnsense as follows.


Firewall --> NAT --> Port Forward
--> Add (+)

- Interface                                WAN1
- Protocol                                 UDP
- Destination                            WAN1 address
- Destination port range           from:                to:
                                                OpenVPN        OpenVPN
-  Redirect target IP                 Single Host or Network
                                                127.0.0.1
- NAT reflection                        Use system default
- Filter rule association             Add associated filter rule
- Save

--> Add (+)

- Interface                                WAN2
- Protocol                                 UDP
- Destination                            WAN1 address
- Destination port range           from:               to:
                                                OpenVPN        OpenVPN
-  Redirect target IP                 Single Host or Network
                                                127.0.0.1
- NAT reflection                       Use system default
- Filter rule association            Add associated filter rule
- Save


VPN --> OpenVPN --> Servers
--> Edit

- Interface                                Localhost
- Save
#9
Hola Foro, en una instalacion agregamos una WAN mas (WAN1) para efectuar balanceo de carga, ya configuramos todo y funciona casi todo bien, excepto la VPN que si bien se conecta y no acusa error, no logramos tener acceso a la LAN. Configurramos el opnsense de la siguiente manera.

Firewall --> NAT --> Reenvío de puerto
--> Agregar (+)

- Interfaz WAN1
- Protocolo UDP
- Dirección WAN1 de destino
- Rango de puerto de destino desde: a:
                                                OpenVPN OpenVPN
- Redireccionar IP de destino Host único o red
                                                127.0.0.1
- Reflejo de NAT Usar el valor predeterminado del sistema
- Asociación de regla de filtro Agregar regla de filtro asociada
- Guardar

--> Agregar (+)

- Interfaz WAN2
- Protocolo UDP
- Dirección WAN2 de destino
- Rango de puerto de destino de: a:
                                                OpenVPN OpenVPN
- Redirigir IP de destino Host único o Red
                                                127.0.0.1
- Reflejo de NAT Usar valor predeterminado del sistema
- Asociación de regla de filtro Agregar regla de filtro asociada
- Guardar


VPN --> OpenVPN --> Servidores
--> Editar

Este seria el esquema de la configuracion, el nateo y configuracion del serivicio de OpenVPN lo saque de la pagina oficial de OPNSense para situaciones multiwan.


#10
Hello group, I need to statically assign IP addresses to clients in OpenVPN, how to configure CIDR and assign IP addresses. When configuring 10.70.0.0/30 I assign 4 IP addresses, is this correct? Shouldn't it be 10.70.0.0/31 (1 IP for the server and 1 IP for the client?