大网数据广告活动
服务器运维问答

client get not connected in pfsense openvpn site to site

· 52CE 我爱测

I am trying to connect pfsense openvpn site to site (peer to peer shared key), but upto now I could not found any traffic between client and server. openvpn server log Listening for incoming TCP connection on [AF_INET]192.168.1.5…

问题原文

原帖链接 · Bilal Usean · CC BY-SA 3.0

I am trying to connect pfsense openvpn site to site (peer to peer shared key), but upto now I could not found any traffic between client and server.

openvpn server log

Listening for incoming TCP connection on [AF_INET]192.168.1.5:1194 

openvpn client log

TCP: connect to [AF_INET]192.168.1.5:1194 failed, will try again in 5 seconds: Host is down

apart from firwall rule(WAN + OpenVpn) anything we need to configure in client side.

I followed the same firewall rule for both server and client

firewall -> rule -> WAN

firewall -> rule -> OpenVpn

Note: If you need more info please mention in comment.

when I see the status of the openvpn it is look like below (it is running)

已采纳解答

原帖链接 · Chris Buechler · CC BY-SA 3.0

Guessing maybe you still have block private networks enabled on WAN? If you're connecting in from 192.168.1.x at least, and WAN is really a LAN in your case.

On an unrelated note, it's always preferable to use UDP for VPNs unless TCP is required for some reason (can't pass UDP between client and server).

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Server Fault
适用范围
以原帖系统、软件版本与发布日期为准(2016-07-20)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 3.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。