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 - sicuro0815

#1
Hi,

Unfortunately I have a problem with connections via Openconnect. The connection to VPN GW is established. A ping via GUI or CLI to a host behind the VPN GW is possible (SSH connection also goes from the OPNsense CLI. Only when I ping from a host on the LAN there is no response. First I typed NAT, but I have set it up. Firewall rules do not block too.

Hybrid outbound NAT rule generation
OpenConnect    any    *    OpenConnect net    *    Interface address    *    NO

I still see the packets via FW Live View both from the OPNsense CLI and from a host on the LAN.

ping successful without source specification (source in this case is the IP from the VPN tunnel)
tun30000      Mar 11 15:13:28   10.12.60.36   10.9.4.10   icmp   let out anything from firewall host itself

ping successful with source specification (source in this case is the LAN IP of OPNsense)
tun30000      Mar 11 15:15:32   192.168.178.1   10.9.4.10   icmp   let out anything from firewall host itself (force gw)

Ping not successful from a host on the LAN
tun30000      Mar 11 15:14:15   192.168.178.188   10.9.4.10   icmp   let out anything from firewall host itself

What am I doing wrong? Actually, I expected this to work with the NAT. Does anyone have any idea what it is or how to check the NAT settings via CLI to make sure they are set properly?

OPNsense 20.1.2-amd64
FreeBSD 11.2-RELEASE-p17-HBSD
OpenSSL 1.1.1d 10 Sep 2019

Regards
Sven
#2
Hallo,

ich habe leider ein Problem mit Verbindungen über Openconnect. Die Verbindung zum VPN GW ist hergestellt. Ein Ping via GUI oder CLI zu einem Host hinter dem VPN GW ist möglich (SSH Verbindung geht ebenfalls von der OPNsense CLI. Nur wenn ich von einem Host aus dem LAN einen Ping absetze gibt es kein response. Erst habe ich auf NAT getippt, habe ich aber eingerichtet.

Hybrid outbound NAT rule generation
OpenConnect    any    *    OpenConnect net    *    Interface address    *    NO

Ich sehe noch die Pakete via FW Live View sowohl von der OPNsense CLI als auch von einem Host im LAN.

ping erfolgreich ohne Source angabe (Source ist in diesem Fall die IP aus dem VPN Tunnel)
tun30000      Mar 11 15:13:28   10.12.60.36   10.9.4.10   icmp   let out anything from firewall host itself

ping erfolgreich mit Source Angabe (Source ist in diesem Fall die LAN IP des OPNsense)
tun30000      Mar 11 15:15:32   192.168.178.1   10.9.4.10   icmp   let out anything from firewall host itself (force gw)

Ping nicht erfolgreich von einem Host im LAN
tun30000      Mar 11 15:14:15   192.168.178.188   10.9.4.10   icmp   let out anything from firewall host itself

Was mache ich falsch? Eigentlich hätte ich erwartet das dass mit dem NAT Funktioniert. Hat jemand eine Idee woran es liegen könnte oder wie man die NAT settings via CLI Prüfen kann ob sie ordentlich gesetzt sind?

OPNsense 20.1.2-amd64
FreeBSD 11.2-RELEASE-p17-HBSD
OpenSSL 1.1.1d 10 Sep 2019

Grüße
Sven