<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Site-to-site PKI: one tunnel doesn't work]]></title><description><![CDATA[<p dir="auto">I've been working on this for several days. Any help would be appreciated.<br />
I've got a 1 server, 3 client setup OpenVPN site-to-site. 2 Tunnels work great, 1 does not. I have a road warrior setup on the same pfsense box so the site-to-site has been moved to port 1195. I thought the servers would need different ports. For the two sites that work I have the "dynamic sourceport" unchecked. The one that doesn't work gives this error if I leave it unchecked:</p>
<p dir="auto">openvpn[32494]: TCP/UDP: Socket bind failed on local address [undef]:1194: Address already in use</p>
<p dir="auto">Not sure why it has port 1194 listed. The client configuration definitely says 1195. I was fooling around with setting up a road warrior OpenVPN server on this box in the past, but that has been deleted. The routes all look normal.<br />
Here are the errors I get from server and client when the client has "dynamic sourceport" checked:<br />
Server:</p>
<p dir="auto">Aug 12 16:44:32 openvpn[9142]: Initialization Sequence Completed<br />
Aug 12 16:44:32 openvpn[9142]: UDPv4 link remote: [undef]<br />
Aug 12 16:44:32 openvpn[9142]: UDPv4 link local (bound): [undef]:1195<br />
Aug 12 16:44:31 openvpn[9118]: /etc/rc.filter_configure tun1 1500 1542 10.0.0.1 10.0.0.2 init<br />
Aug 12 16:44:31 openvpn[9118]: /sbin/ifconfig tun1 10.0.0.1 10.0.0.2 mtu 1500 netmask 255.255.255.255 up<br />
Aug 12 16:44:31 openvpn[9118]: TUN/TAP device /dev/tun1 opened<br />
Aug 12 16:44:31 openvpn[9118]: gw &lt;isp gateway=""&gt;Aug 12 16:44:31 openvpn[9118]: WARNING: file '/var/etc/openvpn_server1.key' is group or others accessible<br />
Aug 12 16:44:31 openvpn[9118]: OpenVPN 2.0.6 i386-portbld-freebsd7.2 [SSL] [LZO] built on Dec 4 2009<br />
Aug 12 16:44:29 openvpn[58754]: SIGTERM[hard,] received, process exiting<br />
Aug 12 16:44:28 openvpn[58754]: /etc/rc.filter_configure tun1 1500 1542 10.0.0.1 10.0.0.2 init<br />
Aug 12 16:44:28 openvpn[58754]: event_wait : Interrupted system call (code=4)<br />
Aug 12 16:38:07 openvpn[58754]: 208.107.xxx.xxx:7315 [Peer Connection Initiated with 208.107.123.63:7315<br />
Aug 12 16:38:06 openvpn[58754]: 208.107.xxx.xxx:7315 LZO compression initialized<br />
Aug 12 16:38:06 openvpn[58754]: 208.107.xxx.xxx:7315 Re-using SSL/TLS context<br />
Aug 12 15:24:04 openvpn[58754]: 208.107.xxx.xxx:59128](Peer Connection Initiated with 208.107.123.63:7315 &lt;br /&gt;Aug 12 16:38:06 openvpn[58754]: 208.107.xxx.xxx:7315 LZO compression initialized &lt;br /&gt;Aug 12 16:38:06 openvpn[58754]: 208.107.xxx.xxx:7315 Re-using SSL/TLS context &lt;br /&gt;Aug 12 15:24:04 openvpn[58754]: 208.107.xxx.xxx:59128 [link] Peer Connection Initiated with 208.107.123.63:59128 &lt;br /&gt;Aug 12 15:24:03 openvpn[58754]: 208.107.xxx.xxx:59128 LZO compression initialized &lt;br /&gt;Aug 12 15:24:03 openvpn[58754]: 208.107.xxx.xxx:59128 Re-using SSL/TLS context &lt;br /&gt;&lt;br /&gt;Client:&lt;br /&gt;&lt;br /&gt;Aug 12 16:45:29 openvpn[54267]: Initialization Sequence Completed &lt;br /&gt;Aug 12 16:45:29 openvpn[54267]: ERROR: FreeBSD route add command failed: shell command exited with error status: 1 &lt;br /&gt;Aug 12 16:45:28 openvpn[54267]: /etc/rc.filter_configure tun1 1500 1542 10.0.0.6 10.0.0.5 init &lt;br /&gt;Aug 12 16:45:28 openvpn[54267]: /sbin/ifconfig tun1 10.0.0.6 10.0.0.5 mtu 1500 netmask 255.255.255.255 up &lt;br /&gt;Aug 12 16:45:28 openvpn[54267]: TUN/TAP device /dev/tun1 opened &lt;br /&gt;Aug 12 16:45:28 openvpn[54267]: gw &lt;ISP gateway&gt;&lt;br /&gt;Aug 12 16:45:26 openvpn[54267]: /etc/rc.filter_configure tun1 1500 1542 10.0.0.14 10.0.0.13 init &lt;br /&gt;Aug 12 16:45:26 openvpn[54267]: NOTE: Pulled options changed on restart, will need to close and reopen TUN/TAP device. &lt;br /&gt;Aug 12 16:45:26 openvpn[54267]: Preserving previous TUN/TAP instance: tun1 &lt;br /&gt;Aug 12 16:45:25 openvpn[54267]: [server] Peer Connection Initiated with 24.111.xxx.xxx:1195 &lt;br /&gt;Aug 12 16:45:24 openvpn[54267]: UDPv4 link remote: 24.111.xxx.xxx:1195 &lt;br /&gt;Aug 12 16:45:24 openvpn[54267]: UDPv4 link local: [undef] &lt;br /&gt;Aug 12 16:45:24 openvpn[54267]: LZO compression initialized &lt;br /&gt;Aug 12 16:45:24 openvpn[54267]: Re-using SSL/TLS context &lt;br /&gt;Aug 12 16:45:24 openvpn[54267]: WARNING: No server certificate verification method has been enabled. See http://openvpn.net/howto.html#mitm for more info. &lt;br /&gt;Aug 12 16:45:24 openvpn[54267]: IMPORTANT: OpenVPN's default port number is now 1194, based on an official port number assignment by IANA. OpenVPN 2.0-beta16 and earlier used 5000 as the default port. &lt;br /&gt;Aug 12 16:45:22 openvpn[54267]: SIGUSR1[soft,ping-restart] received, process restarting &lt;br /&gt;Aug 12 16:45:22 openvpn[54267]: [server] Inactivity timeout (--ping-restart), restarting &lt;br /&gt;[/link]) [Peer Connection Initiated with 208.107.123.63:59128<br />
Aug 12 15:24:03 openvpn[58754]: 208.107.xxx.xxx:59128 LZO compression initialized<br />
Aug 12 15:24:03 openvpn[58754]: 208.107.xxx.xxx:59128 Re-using SSL/TLS context</p>
<p dir="auto">Client:</p>
<p dir="auto">Aug 12 16:45:29 openvpn[54267]: Initialization Sequence Completed<br />
Aug 12 16:45:29 openvpn[54267]: ERROR: FreeBSD route add command failed: shell command exited with error status: 1<br />
Aug 12 16:45:28 openvpn[54267]: /etc/rc.filter_configure tun1 1500 1542 10.0.0.6 10.0.0.5 init<br />
Aug 12 16:45:28 openvpn[54267]: /sbin/ifconfig tun1 10.0.0.6 10.0.0.5 mtu 1500 netmask 255.255.255.255 up<br />
Aug 12 16:45:28 openvpn[54267]: TUN/TAP device /dev/tun1 opened<br />
Aug 12 16:45:28 openvpn[54267]: gw &lt;isp gateway=""&gt;Aug 12 16:45:26 openvpn[54267]: /etc/rc.filter_configure tun1 1500 1542 10.0.0.14 10.0.0.13 init<br />
Aug 12 16:45:26 openvpn[54267]: NOTE: Pulled options changed on restart, will need to close and reopen TUN/TAP device.<br />
Aug 12 16:45:26 openvpn[54267]: Preserving previous TUN/TAP instance: tun1<br />
Aug 12 16:45:25 openvpn[54267]: [server] Peer Connection Initiated with 24.111.xxx.xxx:1195<br />
Aug 12 16:45:24 openvpn[54267]: UDPv4 link remote: 24.111.xxx.xxx:1195<br />
Aug 12 16:45:24 openvpn[54267]: UDPv4 link local: [undef]<br />
Aug 12 16:45:24 openvpn[54267]: LZO compression initialized<br />
Aug 12 16:45:24 openvpn[54267]: Re-using SSL/TLS context<br />
Aug 12 16:45:24 openvpn[54267]: WARNING: No server certificate verification method has been enabled. See http://openvpn.net/howto.html#mitm for more info.<br />
Aug 12 16:45:24 openvpn[54267]: IMPORTANT: OpenVPN's default port number is now 1194, based on an official port number assignment by IANA. OpenVPN 2.0-beta16 and earlier used 5000 as the default port.<br />
Aug 12 16:45:22 openvpn[54267]: SIGUSR1[soft,ping-restart] received, process restarting<br />
Aug 12 16:45:22 openvpn[54267]: [server] Inactivity timeout (–ping-restart), restarting&lt;/isp&gt;](Peer Connection Initiated with 208.107.123.63:59128 &lt;br /&gt;Aug 12 15:24:03 openvpn[58754]: 208.107.xxx.xxx:59128 LZO compression initialized &lt;br /&gt;Aug 12 15:24:03 openvpn[58754]: 208.107.xxx.xxx:59128 Re-using SSL/TLS context &lt;br /&gt;&lt;br /&gt;Client:&lt;br /&gt;&lt;br /&gt;Aug 12 16:45:29 openvpn[54267]: Initialization Sequence Completed &lt;br /&gt;Aug 12 16:45:29 openvpn[54267]: ERROR: FreeBSD route add command failed: shell command exited with error status: 1 &lt;br /&gt;Aug 12 16:45:28 openvpn[54267]: /etc/rc.filter_configure tun1 1500 1542 10.0.0.6 10.0.0.5 init &lt;br /&gt;Aug 12 16:45:28 openvpn[54267]: /sbin/ifconfig tun1 10.0.0.6 10.0.0.5 mtu 1500 netmask 255.255.255.255 up &lt;br /&gt;Aug 12 16:45:28 openvpn[54267]: TUN/TAP device /dev/tun1 opened &lt;br /&gt;Aug 12 16:45:28 openvpn[54267]: gw &lt;ISP gateway&gt;&lt;br /&gt;Aug 12 16:45:26 openvpn[54267]: /etc/rc.filter_configure tun1 1500 1542 10.0.0.14 10.0.0.13 init &lt;br /&gt;Aug 12 16:45:26 openvpn[54267]: NOTE: Pulled options changed on restart, will need to close and reopen TUN/TAP device. &lt;br /&gt;Aug 12 16:45:26 openvpn[54267]: Preserving previous TUN/TAP instance: tun1 &lt;br /&gt;Aug 12 16:45:25 openvpn[54267]: [server] Peer Connection Initiated with 24.111.xxx.xxx:1195 &lt;br /&gt;Aug 12 16:45:24 openvpn[54267]: UDPv4 link remote: 24.111.xxx.xxx:1195 &lt;br /&gt;Aug 12 16:45:24 openvpn[54267]: UDPv4 link local: [undef] &lt;br /&gt;Aug 12 16:45:24 openvpn[54267]: LZO compression initialized &lt;br /&gt;Aug 12 16:45:24 openvpn[54267]: Re-using SSL/TLS context &lt;br /&gt;Aug 12 16:45:24 openvpn[54267]: WARNING: No server certificate verification method has been enabled. See http://openvpn.net/howto.html#mitm for more info. &lt;br /&gt;Aug 12 16:45:24 openvpn[54267]: IMPORTANT: OpenVPN's default port number is now 1194, based on an official port number assignment by IANA. OpenVPN 2.0-beta16 and earlier used 5000 as the default port. &lt;br /&gt;Aug 12 16:45:22 openvpn[54267]: SIGUSR1[soft,ping-restart] received, process restarting &lt;br /&gt;Aug 12 16:45:22 openvpn[54267]: [server] Inactivity timeout (--ping-restart), restarting &lt;br /&gt;)&lt;/isp&gt;</p>
]]></description><link>https://forum.netgate.com/topic/25765/site-to-site-pki-one-tunnel-doesn-t-work</link><generator>RSS for Node</generator><lastBuildDate>Sat, 07 Nov 2026 20:09:51 GMT</lastBuildDate><atom:link href="https://forum.netgate.com/topic/25765.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 13 Aug 2010 14:33:39 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Site-to-site PKI: one tunnel doesn't work on Wed, 18 Aug 2010 15:44:49 GMT]]></title><description><![CDATA[<p dir="auto">I got it to work.<br />
It was a hardware issue. I won't be using any NICs with RealTech chips anymore.<br />
I'm using an old Dell server with a pfsense installation (1 GHz processor 512 RAM), it has an integrated NIC and I added a PCI NIC. I think it was a used D-Link. I came to the conclusion after reviewing the settings many times that there was nothing wrong with them. I replaced the D-Link NIC with an old Linksys. The tunnel came up, but then all the LAN computers lost internet and couldn't even ping the pfsense box. After some more troubleshooting I moved the card to a new PCI slot and now everything works (for now).</p>
]]></description><link>https://forum.netgate.com/post/243546</link><guid isPermaLink="true">https://forum.netgate.com/post/243546</guid><dc:creator><![CDATA[DaninND]]></dc:creator><pubDate>Wed, 18 Aug 2010 15:44:49 GMT</pubDate></item></channel></rss>