Karl Denninger karl at
Wed Apr 24 02:17:05 UTC 2019

On 4/22/2019 19:53, Doug Hardie wrote:
> I am trying to setup an openvpn server on my home network.  Home machines are all running FBSD 12.0 Release.  openvpn was installed as a package.  The results are quite confusing.  Ping from an external device works correctly to all the home machines.  I can use tcpdump to see the request packets arriving at the openvpn server, being sent to the recipient machine, the response packets being sent from the recipient machine to the openvpn server, and then sent to the external device.  The external device shows that the response was received with a reasonable response time given that it is a cell phone.  
> However, when I try to access a web page on any of the servers, I see the same set of packets via tcpdump.  In addition if I run ktrace on the openvpn server, I see the encrypted packets from the client being received.  The decrypted packets sent to the home server.  The unencrypted response from the home server, and the encrypted response sent to the phone.  However, the phone says that the server dropped the connection, or it shows a blank page.
> My first thought was that there was an encryption issue, but if that were the case, ping would not work.  Checking the ping packets shows that they are encrypted between the phone and the openvpn server.  Likewise a routing issue in the home network does not seem to be the problem for the same reason.  All the info I have found on the web about vpn indicates that a ping test should be sufficient.  But, in this case it is not.
> Any ideas on how to track down the problem, or fix it?  Thanks,
> -- Doug

IMHO -- post your configuration file to the list....

I use OpenVPN with ipfw's internal NAT and it works fine, but the config
file is a bit wonky and if you get it wrong you'll either have no DNS on
the client or packets won't get routed.  Either way the connection comes
up but it doesn't work.

Karl Denninger
karl at <mailto:karl at>
/The Market Ticker/
/[S/MIME encrypted email preferred]/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4897 bytes
Desc: S/MIME Cryptographic Signature
URL: <>

More information about the freebsd-questions mailing list