[Gelöst] Wireguard: Verbindung wird aufgebaut aber kein Zugriff auf LAN/Internet

Started by Snoopy, April 23, 2022, 06:30:13 PM

Previous topic - Next topic
Hi Forum,

ich schon wieder mit dem nächsten Problem.  ::)  :o

Ich habe Wireguard nach dieser Anleitung konfiguriert: https://docs.opnsense.org/manual/how-tos/wireguard-client.html

Es wird anscheinend auf dem Android-Handy eine Verbindung aufgebaut:



wg0 Rs7pSj8A8JIwiw9DsTdgH9aLO+FWKxuzjVl9cSe4aGE= 1650729765


Allerdings habe ich keinen Zugriff auf mein LAN und auch nicht auf das Internet.

Hier die Screenshots meiner Konfiguration:
Lokale-Config:


Endpoint-Config:


Schnitstelle:


Ausg. NAT-Regel:


Firewall-Regel:


Firewal-Regel-Schnittstelle:


Also eigentlich alles so, wie in der Anleitung beschrieben. Nur funktioniert leider nichts bis auf den Verbindungsaufbau. Also kein Zugriff auf LAN und das Internet.

Was habe ich verkehrt gemacht?

LG
Snoopy


Hallo,

obwohl es so aussieht, als wenn der Handshake komplett hergestellt wurde, überprüfe dass bitte zusätzlich im Protokoll des Clients.

Ich benutze "Unbound DNS" und musste hier die Schittstelle extra dort eintragen, da bei mir die Einträge manuell editiert werden.

Ich hatte ähnliche Effekte auch, wenn Internet- und LTE-Provider dieselben waren,
aber auch in externen WLAN-Netzen.

Grüße...

 


Hallo,

ich bin mir mittlerweile echt nicht mehr sicher, ob wirklich eine Verbindung aufgebaut wird, obwohl mit die App das sagt. Unten habe ich mal das Log vom letzten Verbindungsversuch gepastet.

Bei Unbound habe ich jetzt mal alle Interface dazugenommen und zuletzt sogar abgeschaltet.

Ich habe im Livelog jetzt mal auf die Wireguardschnitstelle umgestellt bzw. lass mir dort die Logs anzeigen. Dort finde ich keinerlei Logeinträge. Das macht mich sehr stutzig.

Hier der Logauszug aus dem Android-Client:

04-25 15:10:01.090  6024  6024 D ViewRootImpl@5890a84[MainActivity]: ViewPostIme pointer 0
04-25 15:10:01.142  6024  6024 D ViewRootImpl@5890a84[MainActivity]: ViewPostIme pointer 1
04-25 15:10:01.155  6024  6024 I menu_item_selected: [0,Einstellungen]
04-25 15:10:01.176  6024  6024 I am_on_paused_called: [0,com.wireguard.android.activity.MainActivity,performPause]
04-25 15:10:01.187  6024  6024 W ActivityThread: handleWindowVisibility: no activity for token android.os.BinderProxy@7af2be3
04-25 15:10:01.193  6024  6024 I am_on_create_called: [0,com.wireguard.android.activity.SettingsActivity,performCreate]
04-25 15:10:01.194  6024  6024 I DecorView: createDecorCaptionView >> DecorView@4f2e9c2[], isFloating: false, isApplication: true, hasWindowDecorCaption: false, hasWindowControllerCallback: true
04-25 15:10:01.208  6024  6024 I am_on_start_called: [0,com.wireguard.android.activity.SettingsActivity,handleStartActivity]
04-25 15:10:01.209  6024  6024 I am_on_resume_called: [0,com.wireguard.android.activity.SettingsActivity,RESUME_ACTIVITY]
04-25 15:10:01.216  6024  6024 D InputTransport: Input channel constructed: fd=67
04-25 15:10:01.216  6024  6024 D ViewRootImpl@3beb7b3[SettingsActivity]: setView = DecorView@4f2e9c2[SettingsActivity] TM=true MM=false
04-25 15:10:01.217  6024  6024 D ViewRootImpl@5890a84[MainActivity]: MSG_WINDOW_FOCUS_CHANGED 0 1
04-25 15:10:01.217  6024  6024 D InputMethodManager: prepareNavigationBarInfo() DecorView@966c8be[MainActivity]
04-25 15:10:01.217  6024  6024 D InputMethodManager: getNavigationBarColor() -1440669407
04-25 15:10:01.218  6024  6024 D ViewRootImpl@3beb7b3[SettingsActivity]: dispatchAttachedToWindow
04-25 15:10:01.228  6024  6024 D ViewRootImpl@3beb7b3[SettingsActivity]: Relayout returned: old=[0,0][1080,2220] new=[0,0][1080,2220] result=0x7 surface={valid=true 485177118720} changed=true
04-25 15:10:01.238  6024  9049 D mali_winsys: EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, EGLBoolean) returns 0x3000
04-25 15:10:01.238  6024  9049 D OpenGLRenderer: eglCreateWindowSurface = 0x70ea755100, 0x70f6cf5010
04-25 15:10:01.281  6024  6024 D ViewRootImpl@3beb7b3[SettingsActivity]: MSG_RESIZED: frame=Rect(0, 0 - 1080, 2220) ci=Rect(0, 63 - 0, 126) vi=Rect(0, 63 - 0, 126) or=1
04-25 15:10:01.281  6024  6024 D ViewRootImpl@3beb7b3[SettingsActivity]: MSG_WINDOW_FOCUS_CHANGED 1 1
04-25 15:10:01.300  6024  6024 D InputMethodManager: prepareNavigationBarInfo() DecorView@4f2e9c2[SettingsActivity]
04-25 15:10:01.300  6024  6024 D InputMethodManager: getNavigationBarColor() -1440669407
04-25 15:10:01.301  6024  6024 D InputMethodManager: prepareNavigationBarInfo() DecorView@4f2e9c2[SettingsActivity]
04-25 15:10:01.302  6024  6024 D InputMethodManager: getNavigationBarColor() -1440669407
04-25 15:10:01.302  6024  6024 V InputMethodManager: Starting input: tba=com.wireguard.android ic=null mNaviBarColor -1440669407 mIsGetNaviBarColorSuccess true , NavVisible : true , NavTrans : false
04-25 15:10:01.302  6024  6024 D InputMethodManager: startInputInner - Id : 0
04-25 15:10:01.302  6024  6024 I InputMethodManager: startInputInner - mService.startInputOrWindowGainedFocus
04-25 15:10:01.306  6024  6024 D InputTransport: Input channel constructed: fd=78
04-25 15:10:01.306  6024  6024 D InputTransport: Input channel destroyed: fd=70
04-25 15:10:01.606  6024  9049 W libEGL  : EGLNativeWindowType 0x70ea75c010 disconnect failed
04-25 15:10:01.606  6024  9049 D OpenGLRenderer: eglDestroySurface = 0x70f6c33a00, 0x70ea75c000
04-25 15:10:01.613  6024  6024 D ViewRootImpl@5890a84[MainActivity]: Relayout returned: old=[0,0][1080,2220] new=[0,0][1080,2220] result=0x5 surface={valid=false 0} changed=true
04-25 15:10:01.613  6024  6024 D ViewRootImpl@5890a84[MainActivity]: setWindowStopped(true) old=false
04-25 15:10:01.614  6024  6024 D ViewRootImpl@5890a84[MainActivity]: Surface release. android.view.WindowManagerGlobal.setStoppedState:669 android.app.Activity.performStop:7650 android.app.ActivityThread.callActivityOnStop:4379 android.app.ActivityThread.performStopActivityInner:4357 android.app.ActivityThread.handleStopActivity:4432 android.app.servertransaction.StopActivityItem.execute:41 android.app.servertransaction.TransactionExecutor.executeLifecycleState:145 android.app.servertransaction.TransactionExecutor.execute:70
04-25 15:10:01.614  6024  6024 I am_on_stop_called: [0,com.wireguard.android.activity.MainActivity,STOP_ACTIVITY_ITEM]
04-25 15:10:01.627  6024  6024 D ViewRootImpl@5890a84[MainActivity]: Relayout returned: old=[0,0][1080,2220] new=[0,0][1080,2220] result=0x1 surface={valid=false 0} changed=false
04-25 15:10:07.354  6024  6024 D ViewRootImpl@3beb7b3[SettingsActivity]: ViewPostIme key 0
04-25 15:10:07.404  6024  6024 D ViewRootImpl@3beb7b3[SettingsActivity]: ViewPostIme key 1
04-25 15:10:07.422  6024  6024 I am_on_paused_called: [0,com.wireguard.android.activity.SettingsActivity,performPause]
04-25 15:10:07.443  6024  6024 D ViewRootImpl@5890a84[MainActivity]: setWindowStopped(false) old=true
04-25 15:10:07.443  6024  6024 I am_on_restart_called: [0,com.wireguard.android.activity.MainActivity,performRestartActivity]
04-25 15:10:07.444  6024  6024 I am_on_start_called: [0,com.wireguard.android.activity.MainActivity,handleStartActivity]
04-25 15:10:07.444  6024  6024 D ViewRootImpl@5890a84[MainActivity]: setWindowStopped(false) old=false
04-25 15:10:07.444  6024  6024 I am_on_resume_called: [0,com.wireguard.android.activity.MainActivity,RESUME_ACTIVITY]
04-25 15:10:07.446  6024  6024 D ViewRootImpl@3beb7b3[SettingsActivity]: MSG_WINDOW_FOCUS_CHANGED 0 1
04-25 15:10:07.446  6024  6024 D InputMethodManager: prepareNavigationBarInfo() DecorView@4f2e9c2[SettingsActivity]
04-25 15:10:07.447  6024  6024 D InputMethodManager: getNavigationBarColor() -1440669407
04-25 15:10:07.466  6024  6024 D ViewRootImpl@5890a84[MainActivity]: Relayout returned: old=[0,0][1080,2220] new=[0,0][1080,2220] result=0x7 surface={valid=true 485180080128} changed=true
04-25 15:10:07.476  6024  9049 D mali_winsys: EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, EGLBoolean) returns 0x3000
04-25 15:10:07.476  6024  9049 D OpenGLRenderer: eglCreateWindowSurface = 0x70ea7f5280, 0x70f6fc8010
04-25 15:10:07.477  6024  6024 D ViewRootImpl@5890a84[MainActivity]: MSG_WINDOW_FOCUS_CHANGED 1 1
04-25 15:10:07.477  6024  6024 D InputMethodManager: prepareNavigationBarInfo() DecorView@966c8be[MainActivity]
04-25 15:10:07.477  6024  6024 D InputMethodManager: getNavigationBarColor() -1440669407
04-25 15:10:07.479  6024  6024 D InputMethodManager: prepareNavigationBarInfo() DecorView@966c8be[MainActivity]
04-25 15:10:07.479  6024  6024 D InputMethodManager: getNavigationBarColor() -1440669407
04-25 15:10:07.479  6024  6024 V InputMethodManager: Starting input: tba=com.wireguard.android ic=null mNaviBarColor -1440669407 mIsGetNaviBarColorSuccess true , NavVisible : true , NavTrans : false
04-25 15:10:07.479  6024  6024 D InputMethodManager: startInputInner - Id : 0
04-25 15:10:07.479  6024  6024 I InputMethodManager: startInputInner - mService.startInputOrWindowGainedFocus
04-25 15:10:07.481  6024  6024 D InputTransport: Input channel constructed: fd=72
04-25 15:10:07.481  6024  6024 D InputTransport: Input channel destroyed: fd=78
04-25 15:10:07.826  6024  9049 W libEGL  : EGLNativeWindowType 0x70f6cf5010 disconnect failed
04-25 15:10:07.826  6024  9049 D OpenGLRenderer: eglDestroySurface = 0x70ea755100, 0x70f6cf5000
04-25 15:10:07.841  6024  6024 D ViewRootImpl@3beb7b3[SettingsActivity]: Relayout returned: old=[0,0][1080,2220] new=[0,0][1080,2220] result=0x5 surface={valid=false 0} changed=true
04-25 15:10:07.841  6024  6024 D ViewRootImpl@3beb7b3[SettingsActivity]: setWindowStopped(true) old=false
04-25 15:10:07.842  6024  6024 D ViewRootImpl@3beb7b3[SettingsActivity]: Surface release. android.view.WindowManagerGlobal.setStoppedState:669 android.app.Activity.performStop:7650 android.app.ActivityThread.callActivityOnStop:4379 android.app.ActivityThread.performStopActivityInner:4357 android.app.ActivityThread.handleStopActivity:4432 android.app.servertransaction.TransactionExecutor.performLifecycleSequence:192 android.app.servertransaction.TransactionExecutor.cycleToPath:165 android.app.servertransaction.TransactionExecutor.executeLifecycleState:142
04-25 15:10:07.844  6024  6024 I am_on_stop_called: [0,com.wireguard.android.activity.SettingsActivity,LIFECYCLER_STOP_ACTIVITY]
04-25 15:10:07.848  6024  6024 I am_on_destroy_called: [0,com.wireguard.android.activity.SettingsActivity,performDestroy]
04-25 15:10:07.849  6024  6024 D ViewRootImpl@3beb7b3[SettingsActivity]: dispatchDetachedFromWindow
04-25 15:10:07.849  6024  6024 D ViewRootImpl@3beb7b3[SettingsActivity]: Surface release. android.view.ViewRootImpl.doDie:7976 android.view.ViewRootImpl.die:7944 android.view.WindowManagerGlobal.removeViewLocked:497 android.view.WindowManagerGlobal.removeView:435 android.view.WindowManagerImpl.removeViewImmediate:124 android.app.ActivityThread.handleDestroyActivity:4753 android.app.servertransaction.DestroyActivityItem.execute:39 android.app.servertransaction.TransactionExecutor.executeLifecycleState:145
04-25 15:10:07.857  6024  6024 D InputTransport: Input channel destroyed: fd=67
04-25 15:10:09.269  6024  6024 D ViewRootImpl@5890a84[MainActivity]: ViewPostIme pointer 0
04-25 15:10:09.358  6024  6024 D ViewRootImpl@5890a84[MainActivity]: ViewPostIme pointer 1
04-25 15:10:09.374  6024  6024 D VpnService: prepare function with android vpn context is called for non knox vpn profile
04-25 15:10:09.377  6024  6051 I WireGuard/GoBackend: Bringing tunnel OPNsense DOWN
04-25 15:10:09.378  6024  6051 D WireGuard/GoBackend/OPNsense: Device closing
04-25 15:10:09.378  6024  6056 D WireGuard/GoBackend/OPNsense: Routine: event worker - stopped
04-25 15:10:09.419  6024  9573 D WireGuard/GoBackend/OPNsense: Routine: TUN reader - stopped
04-25 15:10:09.419  6024  9573 D WireGuard/GoBackend/OPNsense: Routine: receive incoming v4 - stopped
04-25 15:10:09.420  6024  9573 D WireGuard/GoBackend/OPNsense: Routine: receive incoming v6 - stopped
04-25 15:10:09.420  6024  6051 D WireGuard/GoBackend/OPNsense: peer(4nTm...P70M) - Stopping
04-25 15:10:09.420  6024  6056 D WireGuard/GoBackend/OPNsense: peer(4nTm...P70M) - Routine: sequential receiver - stopped
04-25 15:10:09.420  6024  9573 D WireGuard/GoBackend/OPNsense: peer(4nTm...P70M) - Routine: sequential sender - stopped
04-25 15:10:09.420  6024  6051 D WireGuard/GoBackend/OPNsense: Device closed
04-25 15:10:09.420  6024  9573 D WireGuard/GoBackend/OPNsense: Routine: decryption worker 1 - stopped
04-25 15:10:09.420  6024  9573 D WireGuard/GoBackend/OPNsense: Routine: decryption worker 2 - stopped
04-25 15:10:09.420  6024  9573 D WireGuard/GoBackend/OPNsense: Routine: handshake worker 2 - stopped
04-25 15:10:09.420  6024  9573 D WireGuard/GoBackend/OPNsense: Routine: handshake worker 1 - stopped
04-25 15:10:09.420  6024  9573 D WireGuard/GoBackend/OPNsense: Routine: encryption worker 1 - stopped
04-25 15:10:09.420  6024  9573 D WireGuard/GoBackend/OPNsense: Routine: encryption worker 2 - stopped
04-25 15:11:00.768  6024  6024 D ViewRootImpl@5890a84[MainActivity]: ViewPostIme pointer 0
04-25 15:11:00.849  6024  6024 D ViewRootImpl@5890a84[MainActivity]: ViewPostIme pointer 1
04-25 15:11:00.858  6024  6024 D VpnService: prepare function with android vpn context is called for non knox vpn profile
04-25 15:11:00.863  6024  6050 I WireGuard/GoBackend: Bringing tunnel OPNsense UP
04-25 15:11:00.863  6024  6050 D VpnService: prepare function with android vpn context is called for non knox vpn profile
04-25 15:11:00.886  6024  6050 D WireGuard/GoBackend: Go backend eb6302c
04-25 15:11:00.889  6024  6050 D WireGuard/GoBackend/OPNsense: Attaching to interface tun0
04-25 15:11:00.891  6024  6050 D WireGuard/GoBackend/OPNsense: UAPI: Updating private key
04-25 15:11:00.892  6024  9573 D WireGuard/GoBackend/OPNsense: Routine: handshake worker 1 - started
04-25 15:11:00.892  6024  6050 D WireGuard/GoBackend/OPNsense: UAPI: Updating listen port
04-25 15:11:00.892  6024  6050 D WireGuard/GoBackend/OPNsense: UAPI: Removing all peers
04-25 15:11:00.892  6024  6050 D WireGuard/GoBackend/OPNsense: peer(4nTm...P70M) - UAPI: Created
04-25 15:11:00.892  6024  6050 D WireGuard/GoBackend/OPNsense: peer(4nTm...P70M) - UAPI: Adding allowedip
04-25 15:11:00.893  6024  6050 D WireGuard/GoBackend/OPNsense: peer(4nTm...P70M) - UAPI: Updating endpoint
04-25 15:11:00.893  6024  9573 D WireGuard/GoBackend/OPNsense: Routine: encryption worker 1 - started
04-25 15:11:00.893  6024  9573 D WireGuard/GoBackend/OPNsense: Routine: decryption worker 1 - started
04-25 15:11:00.893  6024  9573 D WireGuard/GoBackend/OPNsense: Routine: decryption worker 2 - started
04-25 15:11:00.893  6024  9573 D WireGuard/GoBackend/OPNsense: Routine: encryption worker 2 - started
04-25 15:11:00.893  6024  9573 D WireGuard/GoBackend/OPNsense: Routine: handshake worker 2 - started
04-25 15:11:00.893  6024  9573 D WireGuard/GoBackend/OPNsense: Routine: TUN reader - started
04-25 15:11:00.893  6024  9573 D WireGuard/GoBackend/OPNsense: Routine: event worker - started
04-25 15:11:00.894  6024  6050 D WireGuard/GoBackend/OPNsense: UDP bind has been updated
04-25 15:11:00.894  6024  6050 D WireGuard/GoBackend/OPNsense: peer(4nTm...P70M) - Starting
04-25 15:11:00.895  6024  6050 D WireGuard/GoBackend/OPNsense: Interface state was Down, requested Up, now Up
04-25 15:11:00.895  6024  6050 D WireGuard/GoBackend/OPNsense: Device started
04-25 15:11:00.899  6024  6056 D WireGuard/GoBackend/OPNsense: Routine: receive incoming v6 - started
04-25 15:11:00.899  6024  9573 D WireGuard/GoBackend/OPNsense: Routine: receive incoming v4 - started
04-25 15:11:00.899  6024  6056 D WireGuard/GoBackend/OPNsense: peer(4nTm...P70M) - Routine: sequential sender - started
04-25 15:11:00.899  6024  6056 D WireGuard/GoBackend/OPNsense: peer(4nTm...P70M) - Routine: sequential receiver - started
04-25 15:11:00.930  6024  6056 D WireGuard/GoBackend/OPNsense: peer(4nTm...P70M) - Sending handshake initiation
04-25 15:11:01.036  6024  6056 D WireGuard/GoBackend/OPNsense: peer(4nTm...P70M) - Received handshake response
04-25 15:11:05.685  6024  6039 I reguard.androi: Background concurrent copying GC freed 95716(4MB) AllocSpace objects, 28(560KB) LOS objects, 54% free, 4MB/10MB, paused 532us total 114.384ms
04-25 15:11:11.196  6024  6060 D WireGuard/GoBackend/OPNsense: peer(4nTm...P70M) - Receiving keepalive packet
04-25 15:11:21.294  6024  6056 D WireGuard/GoBackend/OPNsense: peer(4nTm...P70M) - Receiving keepalive packet
04-25 15:11:32.396  6024  6060 D WireGuard/GoBackend/OPNsense: peer(4nTm...P70M) - Receiving keepalive packet
04-25 15:11:42.797  6024  9573 D WireGuard/GoBackend/OPNsense: peer(4nTm...P70M) - Receiving keepalive packet
04-25 15:11:52.878  6024  6056 D WireGuard/GoBackend/OPNsense: peer(4nTm...P70M) - Receiving keepalive packet
04-25 15:12:04.478  6024  9573 D WireGuard/GoBackend/OPNsense: peer(4nTm...P70M) - Receiving keepalive packet
04-25 15:12:05.222  6024  6024 D ViewRootImpl@5890a84[MainActivity]: ViewPostIme pointer 0
04-25 15:12:05.359  6024  6024 D ViewRootImpl@5890a84[MainActivity]: ViewPostIme pointer 1
04-25 15:12:05.979  6024  6024 D ViewRootImpl@5890a84[MainActivity]: ViewPostIme pointer 0
04-25 15:12:06.094  6024  6024 D ViewRootImpl@5890a84[MainActivity]: ViewPostIme pointer 1
04-25 15:12:06.096  6024  6024 D VpnService: prepare function with android vpn context is called for non knox vpn profile
04-25 15:12:06.098  6024  6049 I WireGuard/GoBackend: Bringing tunnel OPNsense DOWN
04-25 15:12:06.100  6024  6049 D WireGuard/GoBackend/OPNsense: Device closing
04-25 15:12:06.100  6024  6060 D WireGuard/GoBackend/OPNsense: Routine: event worker - stopped
04-25 15:12:06.147  6024  6060 D WireGuard/GoBackend/OPNsense: Routine: TUN reader - stopped
04-25 15:12:06.147  6024  9573 D WireGuard/GoBackend/OPNsense: Routine: receive incoming v4 - stopped
04-25 15:12:06.148  6024  9573 D WireGuard/GoBackend/OPNsense: Routine: receive incoming v6 - stopped
04-25 15:12:06.148  6024  6049 D WireGuard/GoBackend/OPNsense: peer(4nTm...P70M) - Stopping
04-25 15:12:06.148  6024  9573 D WireGuard/GoBackend/OPNsense: peer(4nTm...P70M) - Routine: sequential sender - stopped
04-25 15:12:06.148  6024  6060 D WireGuard/GoBackend/OPNsense: peer(4nTm...P70M) - Routine: sequential receiver - stopped
04-25 15:12:06.148  6024  6049 D WireGuard/GoBackend/OPNsense: Device closed
04-25 15:12:06.148  6024  9573 D WireGuard/GoBackend/OPNsense: Routine: decryption worker 1 - stopped
04-25 15:12:06.148  6024  9573 D WireGuard/GoBackend/OPNsense: Routine: decryption worker 2 - stopped
04-25 15:12:06.148  6024  9573 D WireGuard/GoBackend/OPNsense: Routine: handshake worker 2 - stopped
04-25 15:12:06.148  6024  9573 D WireGuard/GoBackend/OPNsense: Routine: handshake worker 1 - stopped
04-25 15:12:06.148  6024  9573 D WireGuard/GoBackend/OPNsense: Routine: encryption worker 1 - stopped
04-25 15:12:06.148  6024  9573 D WireGuard/GoBackend/OPNsense: Routine: encryption worker 2 - stopped
04-25 15:12:08.596  6024  6024 D ViewRootImpl@5890a84[MainActivity]: ViewPostIme pointer 0
04-25 15:12:08.657  6024  6024 D ViewRootImpl@5890a84[MainActivity]: ViewPostIme pointer 1
04-25 15:12:08.669  6024  6024 I menu_item_selected: [0,Einstellungen]
04-25 15:12:08.691  6024  6024 I am_on_paused_called: [0,com.wireguard.android.activity.MainActivity,performPause]
04-25 15:12:08.704  6024  6024 W ActivityThread: handleWindowVisibility: no activity for token android.os.BinderProxy@f2dd8d8
04-25 15:12:08.716  6024  6024 I am_on_create_called: [0,com.wireguard.android.activity.SettingsActivity,performCreate]
04-25 15:12:08.718  6024  6024 I DecorView: createDecorCaptionView >> DecorView@277c9ab[], isFloating: false, isApplication: true, hasWindowDecorCaption: false, hasWindowControllerCallback: true
04-25 15:12:08.736  6024  6024 I am_on_start_called: [0,com.wireguard.android.activity.SettingsActivity,handleStartActivity]
04-25 15:12:08.736  6024  6024 I am_on_resume_called: [0,com.wireguard.android.activity.SettingsActivity,RESUME_ACTIVITY]
04-25 15:12:08.746  6024  6024 D InputTransport: Input channel constructed: fd=67
04-25 15:12:08.747  6024  6024 D ViewRootImpl@618a514[SettingsActivity]: setView = DecorView@277c9ab[SettingsActivity] TM=true MM=false
04-25 15:12:08.747  6024  6024 D ViewRootImpl@5890a84[MainActivity]: MSG_WINDOW_FOCUS_CHANGED 0 1
04-25 15:12:08.747  6024  6024 D InputMethodManager: prepareNavigationBarInfo() DecorView@966c8be[MainActivity]
04-25 15:12:08.747  6024  6024 D InputMethodManager: getNavigationBarColor() -1440669407
04-25 15:12:08.748  6024  6024 D ViewRootImpl@618a514[SettingsActivity]: dispatchAttachedToWindow
04-25 15:12:08.760  6024  6024 D ViewRootImpl@618a514[SettingsActivity]: Relayout returned: old=[0,0][1080,2220] new=[0,0][1080,2220] result=0x7 surface={valid=true 485180260352} changed=true
04-25 15:12:08.802  6024  9049 D mali_winsys: EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, EGLBoolean) returns 0x3000
04-25 15:12:08.802  6024  9049 D OpenGLRenderer: eglCreateWindowSurface = 0x70ea755100, 0x70f6ff4010
04-25 15:12:08.852  6024  6024 D ViewRootImpl@618a514[SettingsActivity]: MSG_RESIZED: frame=Rect(0, 0 - 1080, 2220) ci=Rect(0, 63 - 0, 126) vi=Rect(0, 63 - 0, 126) or=1
04-25 15:12:08.852  6024  6024 D ViewRootImpl@618a514[SettingsActivity]: MSG_WINDOW_FOCUS_CHANGED 1 1
04-25 15:12:08.873  6024  6024 D InputMethodManager: prepareNavigationBarInfo() DecorView@277c9ab[SettingsActivity]
04-25 15:12:08.873  6024  6024 D InputMethodManager: getNavigationBarColor() -1440669407
04-25 15:12:08.874  6024  6024 D InputMethodManager: prepareNavigationBarInfo() DecorView@277c9ab[SettingsActivity]
04-25 15:12:08.874  6024  6024 D InputMethodManager: getNavigationBarColor() -1440669407
04-25 15:12:08.874  6024  6024 V InputMethodManager: Starting input: tba=com.wireguard.android ic=null mNaviBarColor -1440669407 mIsGetNaviBarColorSuccess true , NavVisible : true , NavTrans : false
04-25 15:12:08.874  6024  6024 D InputMethodManager: startInputInner - Id : 0
04-25 15:12:08.874  6024  6024 I InputMethodManager: startInputInner - mService.startInputOrWindowGainedFocus
04-25 15:12:08.876  6024  6024 D InputTransport: Input channel constructed: fd=78
04-25 15:12:08.876  6024  6024 D InputTransport: Input channel destroyed: fd=72
04-25 15:12:09.173  6024  9049 W libEGL  : EGLNativeWindowType 0x70f6fc8010 disconnect failed
04-25 15:12:09.173  6024  9049 D OpenGLRenderer: eglDestroySurface = 0x70ea7f5280, 0x70f6fc8000
04-25 15:12:09.181  6024  6024 D ViewRootImpl@5890a84[MainActivity]: Relayout returned: old=[0,0][1080,2220] new=[0,0][1080,2220] result=0x5 surface={valid=false 0} changed=true
04-25 15:12:09.181  6024  6024 D ViewRootImpl@5890a84[MainActivity]: setWindowStopped(true) old=false
04-25 15:12:09.182  6024  6024 D ViewRootImpl@5890a84[MainActivity]: Surface release. android.view.WindowManagerGlobal.setStoppedState:669 android.app.Activity.performStop:7650 android.app.ActivityThread.callActivityOnStop:4379 android.app.ActivityThread.performStopActivityInner:4357 android.app.ActivityThread.handleStopActivity:4432 android.app.servertransaction.StopActivityItem.execute:41 android.app.servertransaction.TransactionExecutor.executeLifecycleState:145 android.app.servertransaction.TransactionExecutor.execute:70
04-25 15:12:09.182  6024  6024 I am_on_stop_called: [0,com.wireguard.android.activity.MainActivity,STOP_ACTIVITY_ITEM]
04-25 15:12:09.192  6024  6024 D ViewRootImpl@5890a84[MainActivity]: Relayout returned: old=[0,0][1080,2220] new=[0,0][1080,2220] result=0x1 surface={valid=false 0} changed=false
04-25 15:12:10.744  6024  6024 D ViewRootImpl@618a514[SettingsActivity]: ViewPostIme pointer 0
04-25 15:12:10.791  6024  6024 D ViewRootImpl@618a514[SettingsActivity]: ViewPostIme pointer 1
04-25 15:12:10.827  6024  6024 I am_on_paused_called: [0,com.wireguard.android.activity.SettingsActivity,performPause]
04-25 15:12:10.839  6024  6024 W ActivityThread: handleWindowVisibility: no activity for token android.os.BinderProxy@9a1d8bd
04-25 15:12:10.850  6024  6024 I DecorView: createDecorCaptionView >> DecorView@d20fca0[], isFloating: false, isApplication: true, hasWindowDecorCaption: false, hasWindowControllerCallback: true
04-25 15:12:10.855  6024  6024 I am_on_create_called: [0,com.wireguard.android.activity.LogViewerActivity,performCreate]
04-25 15:12:10.857  6024  6024 I am_on_start_called: [0,com.wireguard.android.activity.LogViewerActivity,handleStartActivity]
04-25 15:12:10.857  6024  6024 I am_on_resume_called: [0,com.wireguard.android.activity.LogViewerActivity,RESUME_ACTIVITY]
04-25 15:12:10.866  6024  6024 D InputTransport: Input channel constructed: fd=69
04-25 15:12:10.866  6024  6024 D ViewRootImpl@93ba0ce[LogViewerActivity]: setView = DecorView@d20fca0[LogViewerActivity] TM=true MM=false
04-25 15:12:10.866  6024  6024 D ViewRootImpl@618a514[SettingsActivity]: MSG_WINDOW_FOCUS_CHANGED 0 1
04-25 15:12:10.866  6024  6024 D InputMethodManager: prepareNavigationBarInfo() DecorView@277c9ab[SettingsActivity]
04-25 15:12:10.866  6024  6024 D InputMethodManager: getNavigationBarColor() -1440669407
04-25 15:12:10.867  6024  6024 D ViewRootImpl@93ba0ce[LogViewerActivity]: dispatchAttachedToWindow
04-25 15:12:10.880  6024  6024 D ViewRootImpl@93ba0ce[LogViewerActivity]: Relayout returned: old=[0,0][1080,2220] new=[0,0][1080,2220] result=0x7 surface={valid=true 485197668352} changed=true
04-25 15:12:10.890  6024  9049 D mali_winsys: EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, EGLBoolean) returns 0x3000
04-25 15:12:10.890  6024  9049 D OpenGLRenderer: eglCreateWindowSurface = 0x70ea7f5380, 0x70f808e010
04-25 15:12:10.913  6024  6024 D ViewRootImpl@93ba0ce[LogViewerActivity]: MSG_RESIZED: frame=Rect(0, 0 - 1080, 2220) ci=Rect(0, 63 - 0, 126) vi=Rect(0, 63 - 0, 126) or=1
04-25 15:12:10.913  6024  6024 D ViewRootImpl@93ba0ce[LogViewerActivity]: MSG_WINDOW_FOCUS_CHANGED 1 1
04-25 15:12:10.934  6024  6024 D InputMethodManager: prepareNavigationBarInfo() DecorView@d20fca0[LogViewerActivity]
04-25 15:12:10.934  6024  6024 D InputMethodManager: getNavigationBarColor() -1440669407
04-25 15:12:10.937  6024  6024 D InputMethodManager: prepareNavigationBarInfo() DecorView@d20fca0[LogViewerActivity]
04-25 15:12:10.937  6024  6024 D InputMethodManager: getNavigationBarColor() -1440669407
04-25 15:12:10.937  6024  6024 V InputMethodManager: Starting input: tba=com.wireguard.android ic=null mNaviBarColor -1440669407 mIsGetNaviBarColorSuccess true , NavVisible : true , NavTrans : false
04-25 15:12:10.937  6024  6024 D InputMethodManager: startInputInner - Id : 0
04-25 15:12:10.937  6024  6024 I InputMethodManager: startInputInner - mService.startInputOrWindowGainedFocus
04-25 15:12:10.939  6024  6024 D InputTransport: Input channel constructed: fd=85
04-25 15:12:10.939  6024  6024 D InputTransport: Input channel destroyed: fd=78
04-25 15:12:11.253  6024  9049 W libEGL  : EGLNativeWindowType 0x70f6ff4010 disconnect failed
04-25 15:12:11.253  6024  9049 D OpenGLRenderer: eglDestroySurface = 0x70ea755100, 0x70f6ff4000
04-25 15:12:11.261  6024  6024 D ViewRootImpl@618a514[SettingsActivity]: Relayout returned: old=[0,0][1080,2220] new=[0,0][1080,2220] result=0x5 surface={valid=false 0} changed=true
04-25 15:12:11.261  6024  6024 D ViewRootImpl@618a514[SettingsActivity]: setWindowStopped(true) old=false
04-25 15:12:11.261  6024  6024 D ViewRootImpl@618a514[SettingsActivity]: Surface release. android.view.WindowManagerGlobal.setStoppedState:669 android.app.Activity.performStop:7650 android.app.ActivityThread.callActivityOnStop:4379 android.app.ActivityThread.performStopActivityInner:4357 android.app.ActivityThread.handleStopActivity:4432 android.app.servertransaction.StopActivityItem.execute:41 android.app.servertransaction.TransactionExecutor.executeLifecycleState:145 android.app.servertransaction.TransactionExecutor.execute:70
04-25 15:12:11.262  6024  6024 I am_on_stop_called: [0,com.wireguard.android.activity.SettingsActivity,STOP_ACTIVITY_ITEM]
04-25 15:12:11.275  6024  6024 D ViewRootImpl@618a514[SettingsActivity]: Relayout returned: old=[0,0][1080,2220] new=[0,0][1080,2220] result=0x1 surface={valid=false 0} changed=false
04-25 15:12:15.937  6024  6024 D ViewRootImpl@93ba0ce[LogViewerActivity]: ViewPostIme pointer 0
04-25 15:12:16.006  6024  6024 D ViewRootImpl@93ba0ce[LogViewerActivity]: ViewPostIme pointer 1

Beim Endpoint auf der Sense muss der Port (51820) angegeben werden.
Wie kommst Du auf diese MTU? Auf Android habe ich keine MTU angegeben, unter Windows fahre ich mit 1395 ganz gut.
i am not an expert... just trying to help...

Sorry, es fällt etwas schwer das ganze hier zu überfliegen... Die Anzahl und Größe der Screenshots machen das unübersichtlich ...
Daher nur kurz mal ein paar Tipps / Ideen:

       
  • Mach es dir für den Anfang nicht zu kompliziert. Versuche zuerst eine WG Verbindung zur opnsense und um LAN hinzubekommen. Wenn das steht, dann ist es nicht mehr so schwierig das Setup zu erweitern und alles vom Client über das VPN zu routen.
  • Schalte Protokollierung bei den entsprechenden Regeln ein und prüfe ob sie auch greifen.
  • Android ist vielleicht nicht der beste Testclient. Wenn es nicht anders geht, dann mit Tools wie landroid etc. Aber idealerweise würde ich ein Linuxclient für die ersten Tests nehmen. Da hast du einfach viel mehr Möglichkeiten dem Problem auf den Grund zu gehen. Mit einigem logging-Output kann dir hier auch eher geholfen werden.
Viel Erfolg noch

Hallo liebe Leute,

nachdem ich überhaupt nicht weitergekommen bin, habe ich jetzt mal einige Tage Pause gemacht um den Kopf freizubekommen.

Wie @zerwes empfohlen hat, habe ich jetzt mal meinen Linux-Laptop als Client verwendet. Die wg0.conf vom Laptop schaut wie folgt aus:

[Interface]
PrivateKey = Key Privat
Address = 10.10.10.2/32

[Peer]
PublicKey = Key Public
AllowedIPs = 0.0.0.0/0
Endpoint = dyn-adresse.net:51820


Die Verbindung klappt. Ich kann mein Netzlaufwerke im LAN erreichen und die URLs im LAN und in der DMZ können im Browser aufgerufen werden.

Was leider immer noch nicht funktioniert ist, dass ich bei einer aufgebauten Verbindung nicht surfen kann. Der Firefox lädt sich tot.

Könnte bitte jemand unterstützen wenn möglich?
Gerne liefere ich noch weitere Screenshots oder andere Infos wenn notwendig.


Kommando zurück.... Jetzt funktioniert alles.
Es ist mir echt peinlich, was die Ursache war. Ich hatte die verkehrte Schnittstelle für Wireguard konfiguriert.
Kaum verwendet man die richtige funktioniert alles.
Tut mir leid, dass ich euch umsonst bemüht habe.  :-/