(SOLVED) OpenVPN - No return traffic to client

Started by afredriksson, January 19, 2023, 03:51:52 PM

Previous topic - Next topic
January 19, 2023, 03:51:52 PM Last Edit: January 19, 2023, 04:34:17 PM by afredriksson
Server was updated and rebooted yesterday but after yet another reboot it works. No chages made to config, just a reboot.


Hi all,

I get a strange problem when testing OpenVPN (using OpenVPN Connect on Windows 10 - No local firewall). Connecting client to server works fine and I can ping a Ubuntu server located behind the OPNsense VPN Server.

I can verify incoming pings from VPN client via tcpdump. Outgoing replies are also shown in the dump. But there it seem to stop. I can't verify that packets are actually sent out from the VPN server and the Windows PC aren't receiving anything.

I've tested manipulating rules and NAT but nothing seems to work. If I instead ping my VPN client from the Ubuntu server a log message is created showing that a packet is sent out but it seems like it uses WAN interface (Internet) and IP, not "ovpns1" and tunnel IP.

It feels like an asymmetric routing or NAT problem but since my experience with OPNsense is zero I don't know how it is supposed to look when it works.

Any ideas?

Type    opnsense    
Version    22.7.11    
Architecture    amd64    
Flavour    OpenSSL    
Commit    1111fc17d    
Mirror    https://opnsense.c0urier.net/FreeBSD:13:amd64/22.7    
Repositories    OPNsense    
Updated on    Wed Jan 18 14:20:35 UTC 2023