<?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[Openvpn fails while using CARP?]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">I installed two pfsense 1.2 firewalls on one site, using carp for failover. This works like a charm.<br />
But we do need to havez acces trough VPN from several offices.<br />
I allready did openvpn setups before with pfsense without any problems.</p>
<p dir="auto">But here it goes wrong.</p>
<p dir="auto">|                                    |<br />
                      WAN                            WAN<br />
  (LAN2)            | (.195)      (.205)    (.194)|    (LAN2)<br />
–--------------fwA-----------carp--------fwB--------------<br />
|                      |LAN  (192.168.100.102)    |LAN                |<br />
|                    (192.168.100.98)  (192.168.100.99)              |<br />
|                                                                                  |<br />
|                                                                                  |<br />
|(172.16.186.198)            CARP:(172.16.186.205)                |(172.16.186.199)</p>
<p dir="auto">LAN: 192.168.100.0/24<br />
WAN: /27<br />
LAN2: 172.16.186.0/24<br />
office 1 LAN: 172.17.0.0/24</p>
<p dir="auto">This is how the setup of the installation looks like... just to give you an idea.</p>
<p dir="auto">When firewall A fails, B takes over controll. (CARPING WAN, LAN LAN2 and VIP's for 1:1 NAT)</p>
<p dir="auto">I configured firewall A as openvpnserver (site-to-site), here in office 1 I configured another pfsense as client.<br />
From my notebook here in office 1, I'm able to ping the LAN interface of fwA, but nothing else.<br />
When I do a ping from fwA to severall systems here in the office, I never get a positive response.<br />
But while doing the same from fwB...  I have a positive response. (when a make a static route for office lan with gtw 'fwA lan interface' 192.168.100.98)</p>
<p dir="auto">I don't know why this is happening.</p>
<p dir="auto">Could it be possible that this fails because of the firewalls are running carped?<br />
I can't find any other reason for the moment.</p>
<p dir="auto">Thank you in advance for your response.</p>
<p dir="auto">Frederik.</p>
]]></description><link>https://forum.netgate.com/topic/8527/openvpn-fails-while-using-carp</link><generator>RSS for Node</generator><lastBuildDate>Wed, 15 Jul 2026 19:37:52 GMT</lastBuildDate><atom:link href="https://forum.netgate.com/topic/8527.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 22 Apr 2008 19:03:05 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Openvpn fails while using CARP? on Wed, 23 Apr 2008 12:13:26 GMT]]></title><description><![CDATA[<p dir="auto">Yes, I saw this today.</p>
<p dir="auto">I edited the configuration today and made a mistake.<br />
I moved it to the previous configuration but I still had the same problem.</p>
<p dir="auto">I redid the vpnconfig from source, I reconfigured the Rule and I found a bug in my config (one device used a gateway who wasn't anymore in use).</p>
<p dir="auto">I managed to get it working. So it was a silly mistake of me.</p>
<p dir="auto">Thank you anyway for the help.</p>
]]></description><link>https://forum.netgate.com/post/171889</link><guid isPermaLink="true">https://forum.netgate.com/post/171889</guid><dc:creator><![CDATA[fredle]]></dc:creator><pubDate>Wed, 23 Apr 2008 12:13:26 GMT</pubDate></item><item><title><![CDATA[Reply to Openvpn fails while using CARP? on Wed, 23 Apr 2008 12:16:40 GMT]]></title><description><![CDATA[<p dir="auto">You have a configuration missmatch between your server and client.</p>
<p dir="auto">Your transfer-net is configured as 192.168.30.0/24 on the server.<br />
On your client you've configured it as 172.17.0.0/24</p>
]]></description><link>https://forum.netgate.com/post/171875</link><guid isPermaLink="true">https://forum.netgate.com/post/171875</guid><dc:creator><![CDATA[GruensFroeschli]]></dc:creator><pubDate>Wed, 23 Apr 2008 12:16:40 GMT</pubDate></item><item><title><![CDATA[Reply to Openvpn fails while using CARP? on Wed, 23 Apr 2008 10:39:44 GMT]]></title><description><![CDATA[<p dir="auto">Hi GruensFroeschli,<br />
Thank you for your reply.</p>
<p dir="auto">Here is the information you're asking for:</p>
<p dir="auto">Server log:</p>
<p dir="auto">Apr 23 11:51:59 openvpn[29917]: OpenVPN 2.0.6 i386-portbld-freebsd6.2 [SSL] [LZO] built on Sep 13 2007<br />
Apr 23 11:51:59 openvpn[29917]: WARNING: file '/var/etc/openvpn_server0.secret' is group or others accessible<br />
Apr 23 11:51:59 openvpn[29917]: LZO compression initialized<br />
Apr 23 11:51:59 openvpn[29917]: gw xx.xxx.xxx.222<br />
Apr 23 11:51:59 openvpn[29917]: TUN/TAP device /dev/tun0 opened<br />
Apr 23 11:51:59 openvpn[29917]: /sbin/ifconfig tun0 192.168.30.1 192.168.30.2 mtu 1500 netmask 255.255.255.255 up<br />
Apr 23 11:51:59 openvpn[29917]: /etc/rc.filter_configure tun0 1500 1545 192.168.30.1 192.168.30.2 init<br />
Apr 23 11:51:59 openvpn[29930]: UDPv4 link local (bound): [undef]:1190<br />
Apr 23 11:51:59 openvpn[29930]: UDPv4 link remote: [undef]</p>
<p dir="auto">Client Log:</p>
<p dir="auto">Apr 23 11:58:25 openvpn[16214]: OpenVPN 2.0.6 i386-portbld-freebsd6.2 [SSL] [LZO] built on Sep 13 2007<br />
Apr 23 11:58:25 openvpn[16214]: WARNING: file '/var/etc/openvpn_client0.secret' is group or others accessible<br />
Apr 23 11:58:25 openvpn[16214]: LZO compression initialized<br />
Apr 23 11:58:25 openvpn[16214]: gw 213.219.168.1<br />
Apr 23 11:58:25 openvpn[16214]: TUN/TAP device /dev/tun0 opened<br />
Apr 23 11:58:25 openvpn[16214]: /sbin/ifconfig tun0 172.17.0.2 172.17.0.1 mtu 1500 netmask 255.255.255.255 up<br />
Apr 23 11:58:25 openvpn[16214]: /etc/rc.filter_configure tun0 1500 1545 172.17.0.2 172.17.0.1 init<br />
Apr 23 11:58:33 openvpn[16232]: UDPv4 link local (bound): [undef]:1194<br />
Apr 23 11:58:33 openvpn[16232]: UDPv4 link remote: xx.xxx.xxx.195:1190</p>
<p dir="auto">The client connects to .195, so the WAN adress of fwA.</p>
<p dir="auto">Config files:</p>
<p dir="auto">Server config:</p>
<p dir="auto">&lt;openvpnserver&gt;&lt;config&gt;&lt;disable&gt;&lt;protocol&gt;UDP&lt;/protocol&gt;<br />
&lt;dynamic_ip&gt;on&lt;/dynamic_ip&gt;<br />
&lt;local_port&gt;1190&lt;/local_port&gt;<br />
&lt;addresspool&gt;192.168.30.0/24&lt;/addresspool&gt;<br />
&lt;nopool&gt;&lt;local_network&gt;&lt;remote_network&gt;172.17.0.0/24&lt;/remote_network&gt;<br />
&lt;client2client&gt;&lt;crypto&gt;BF-CBC&lt;/crypto&gt;<br />
&lt;auth_method&gt;shared_key&lt;/auth_method&gt;<br />
&lt;shared_key&gt;<strong>PRIVATE__KEY</strong>&lt;/shared_key&gt;<br />
&lt;ca_cert&gt;&lt;server_cert&gt;&lt;server_key&gt;&lt;dh_params&gt;&lt;crl&gt;&lt;dhcp_domainname&gt;&lt;dhcp_dns&gt;&lt;dhcp_wins&gt;&lt;dhcp_nbdd&gt;&lt;dhcp_ntp&gt;&lt;dhcp_nbttype&gt;0&lt;/dhcp_nbttype&gt;<br />
&lt;dhcp_nbtscope&gt;&lt;dhcp_nbtdisable&gt;&lt;use_lzo&gt;on&lt;/use_lzo&gt;<br />
&lt;custom_options&gt;&lt;description&gt;Site-To-Site VPN ITAF NETWORK Shop Gent&lt;/description&gt;&lt;/custom_options&gt;&lt;/dhcp_nbtdisable&gt;&lt;/dhcp_nbtscope&gt;&lt;/dhcp_ntp&gt;&lt;/dhcp_nbdd&gt;&lt;/dhcp_wins&gt;&lt;/dhcp_dns&gt;&lt;/dhcp_domainname&gt;&lt;/crl&gt;&lt;/dh_params&gt;&lt;/server_key&gt;&lt;/server_cert&gt;&lt;/ca_cert&gt;&lt;/client2client&gt;&lt;/local_network&gt;&lt;/nopool&gt;&lt;/disable&gt;&lt;/config&gt;&lt;/openvpnserver&gt;</p>
<p dir="auto">Client config:</p>
<p dir="auto">&lt;openvpnclient&gt;&lt;config&gt;&lt;disable&gt;&lt;protocol&gt;UDP&lt;/protocol&gt;<br />
&lt;serveraddr&gt;xx.xxx.xxx.195&lt;/serveraddr&gt;<br />
&lt;serverport&gt;1190&lt;/serverport&gt;<br />
&lt;interface_ip&gt;172.17.0.0/24&lt;/interface_ip&gt;<br />
&lt;remote_network&gt;192.168.100.0/24&lt;/remote_network&gt;<br />
&lt;proxy_hostname&gt;&lt;proxy_port&gt;3128&lt;/proxy_port&gt;<br />
&lt;crypto&gt;BF-CBC&lt;/crypto&gt;<br />
&lt;auth_method&gt;shared_key&lt;/auth_method&gt;<br />
&lt;shared_key&gt;<strong>PRIVATE__KEY</strong>&lt;/shared_key&gt;<br />
&lt;ca_cert&gt;&lt;client_cert&gt;&lt;client_key&gt;&lt;use_lzo&gt;on&lt;/use_lzo&gt;<br />
&lt;use_shaper&gt;&lt;use_dynamicport&gt;&lt;custom_options&gt;&lt;description&gt;Site-To-Site VPN ITAF NETWORK Haarlem&lt;/description&gt;&lt;/custom_options&gt;&lt;/use_dynamicport&gt;&lt;/use_shaper&gt;&lt;/client_key&gt;&lt;/client_cert&gt;&lt;/ca_cert&gt;&lt;/proxy_hostname&gt;&lt;/disable&gt;&lt;/config&gt;&lt;/openvpnclient&gt;</p>
<p dir="auto">I hope this is the information you need?</p>
<p dir="auto">&lt;edit&gt;The devices in the LAN (of fwA) uses 192.168.100.102 (CARP VIP) as default gateway&lt;/edit&gt;</p>
]]></description><link>https://forum.netgate.com/post/171858</link><guid isPermaLink="true">https://forum.netgate.com/post/171858</guid><dc:creator><![CDATA[fredle]]></dc:creator><pubDate>Wed, 23 Apr 2008 10:39:44 GMT</pubDate></item><item><title><![CDATA[Reply to Openvpn fails while using CARP? on Tue, 22 Apr 2008 19:07:48 GMT]]></title><description><![CDATA[<p dir="auto">Could you please show the log output of openVPN (client and server)?<br />
Also to which address does your openVPN client connect to?<br />
Can you post here the config file of the server and the client?</p>
]]></description><link>https://forum.netgate.com/post/171782</link><guid isPermaLink="true">https://forum.netgate.com/post/171782</guid><dc:creator><![CDATA[GruensFroeschli]]></dc:creator><pubDate>Tue, 22 Apr 2008 19:07:48 GMT</pubDate></item></channel></rss>