<?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 using a 1:1 NAT]]></title><description><![CDATA[<p dir="auto">Is it possible to have OPenVPN listening to another public ip address assigned to the WAN? Only have one WAN but 5 statics assigned by my ISP. Have services going through other ips instead of the main ip used for browsing because of PCI Compliance tests from bank. Would like to have OpenVPN to listen and use only to a certain public ip address but cannot find how to assign it.<br />
Can someone help? Thanks</p>
]]></description><link>https://forum.netgate.com/topic/155886/openvpn-using-a-1-1-nat</link><generator>RSS for Node</generator><lastBuildDate>Fri, 09 Oct 2026 11:31:36 GMT</lastBuildDate><atom:link href="https://forum.netgate.com/topic/155886.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 07 Aug 2020 15:07:41 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to OpenVPN using a 1:1 NAT on Tue, 11 Jan 2022 20:06:18 GMT]]></title><description><![CDATA[<p dir="auto">Found the issue... had several 1:1 NAT rules and can't have the openvpn wan ip on it as the 1:1 bypasses it.<br />
All good now.<br />
JP</p>
]]></description><link>https://forum.netgate.com/post/1019222</link><guid isPermaLink="true">https://forum.netgate.com/post/1019222</guid><dc:creator><![CDATA[jptferreira]]></dc:creator><pubDate>Tue, 11 Jan 2022 20:06:18 GMT</pubDate></item><item><title><![CDATA[Reply to OpenVPN using a 1:1 NAT on Tue, 11 Jan 2022 19:58:11 GMT]]></title><description><![CDATA[<p dir="auto">Here is some more info:</p>
<p dir="auto">Here using the default gateway and works fine:<br />
Jan 11 14:43:08	openvpn	88826	John/192.168.1.242:39344 MULTI_sva: pool returned IPv4=10.0.8.2, IPv6=(Not enabled)<br />
Jan 11 14:43:08	openvpn	69422	user 'John' authenticated<br />
Jan 11 14:43:08	openvpn	88826	192.168.1.242:39344 [John] Peer Connection Initiated with [AF_INET]192.168.1.242:39344<br />
Jan 11 14:43:08	openvpn	88826	192.168.1.242:39344 peer info: IV_TCPNL=1<br />
Jan 11 14:43:08	openvpn	88826	192.168.1.242:39344 peer info: IV_COMP_STUBv2=1<br />
Jan 11 14:43:08	openvpn	88826	192.168.1.242:39344 peer info: IV_COMP_STUB=1<br />
Jan 11 14:43:08	openvpn	88826	192.168.1.242:39344 peer info: IV_LZO=1<br />
Jan 11 14:43:08	openvpn	88826	192.168.1.242:39344 peer info: IV_LZ4v2=1<br />
Jan 11 14:43:08	openvpn	88826	192.168.1.242:39344 peer info: IV_LZ4=1<br />
Jan 11 14:43:08	openvpn	88826	192.168.1.242:39344 peer info: IV_CIPHERS=AES-256-GCM:AES-128-GCM:AES-256-CBC<br />
Jan 11 14:43:08	openvpn	88826	192.168.1.242:39344 peer info: IV_NCP=2<br />
Jan 11 14:43:08	openvpn	88826	192.168.1.242:39344 peer info: IV_PROTO=6<br />
Jan 11 14:43:08	openvpn	88826	192.168.1.242:39344 peer info: IV_PLAT=linux<br />
Jan 11 14:43:08	openvpn	88826	192.168.1.242:39344 peer info: IV_VER=2.5.1</p>
<p dir="auto">when I create using the wizard or manually to use the alias with another ip address assigned to the same wan it gives the following (with the same exact settings, the only difference is the wan ip):</p>
<p dir="auto">Jan 11 14:49:37	openvpn	8762	Initialization Sequence Completed<br />
Jan 11 14:49:37	openvpn	8762	UDPv4 link remote: [AF_UNSPEC]<br />
Jan 11 14:49:37	openvpn	8762	UDPv4 link local (bound): [AF_INET]XX.XX.XX.XXX:1194<br />
Jan 11 14:49:37	openvpn	8762	/usr/local/sbin/ovpn-linkup ovpns1 1500 1621 10.0.8.1 255.255.255.0 init<br />
Jan 11 14:49:37	openvpn	8762	/sbin/ifconfig ovpns1 10.0.8.1 10.0.8.2 mtu 1500 netmask 255.255.255.0 up<br />
Jan 11 14:49:37	openvpn	8762	TUN/TAP device /dev/tun1 opened<br />
Jan 11 14:49:37	openvpn	8762	TUN/TAP device ovpns1 exists previously, keep at program end<br />
Jan 11 14:49:37	openvpn	8762	WARNING: experimental option --capath /var/etc/openvpn/server1/ca<br />
Jan 11 14:49:37	openvpn	8762	NOTE: the current --script-security setting may allow this configuration to call user-defined scripts<br />
Jan 11 14:49:37	openvpn	8543	library versions: OpenSSL 1.1.1k-freebsd 25 Mar 2021, LZO 2.10<br />
Jan 11 14:49:37	openvpn	8543	OpenVPN 2.5.2 amd64-portbld-freebsd12.2 [SSL (OpenSSL)] [LZO] [LZ4] [MH/RECVDA] [AEAD] built on Jun 24 2021<br />
Jan 11 14:49:37	openvpn	8543	DEPRECATED OPTION: --cipher set to 'AES-256-CBC' but missing in --data-ciphers (AES-256-GCM:AES-128-GCM). Future OpenVPN version will ignore --cipher for cipher negotiations. Add 'AES-256-CBC' to --data-ciphers or change --cipher 'AES-256-CBC' to --data-ciphers-fallback 'AES-256-CBC' to silence this warning.<br />
Jan 11 14:49:37	openvpn	8543	DEPRECATED OPTION: ncp-disable. Disabling cipher negotiation is a deprecated debug feature that will be removed in OpenVPN 2.6<br />
Jan 11 14:49:37	openvpn	59957	SIGTERM[hard,] received, process exiting<br />
Jan 11 14:49:37	openvpn	59957	/usr/local/sbin/ovpn-linkdown ovpns1 1500 1621 10.0.8.1 255.255.255.0 init<br />
Jan 11 14:49:35	openvpn	59957	event_wait : Interrupted system call (code=4)</p>
]]></description><link>https://forum.netgate.com/post/1019217</link><guid isPermaLink="true">https://forum.netgate.com/post/1019217</guid><dc:creator><![CDATA[jptferreira]]></dc:creator><pubDate>Tue, 11 Jan 2022 19:58:11 GMT</pubDate></item><item><title><![CDATA[Reply to OpenVPN using a 1:1 NAT on Tue, 11 Jan 2022 19:37:11 GMT]]></title><description><![CDATA[<p dir="auto">Due to lack of time I had to postpone but today I've been trying to have openvpn under pfsense to listen to a certain wan ip address. If I used the default gateway used by the network it works great but I can't have that one to have any port open and so I've several other wan ip addresses that I've been using for different service and all good there.. the only issue is with openvpn, if I change   the address (yes, I've it as an alias as all the other ones so they are seen as interfaces) during the wizard, it completes, the server starts and I can export the config files correctly and checking those the correct ip is there but no luck with a connection.<br />
If I setup port forwarding and have openvpn running on another machine then all works great but it isn't the desired scenario... can't find a way to use openvpn on pfsense when I select an alias that it is working fine with other services under port forwarding....<br />
Any help would be very much appreciated!</p>
<p dir="auto">JP</p>
]]></description><link>https://forum.netgate.com/post/1019211</link><guid isPermaLink="true">https://forum.netgate.com/post/1019211</guid><dc:creator><![CDATA[jptferreira]]></dc:creator><pubDate>Tue, 11 Jan 2022 19:37:11 GMT</pubDate></item><item><title><![CDATA[Reply to OpenVPN using a 1:1 NAT on Fri, 07 Aug 2020 15:39:58 GMT]]></title><description><![CDATA[<p dir="auto">Thanks to you all! I'll get on it! :)</p>
]]></description><link>https://forum.netgate.com/post/928458</link><guid isPermaLink="true">https://forum.netgate.com/post/928458</guid><dc:creator><![CDATA[jptferreira]]></dc:creator><pubDate>Fri, 07 Aug 2020 15:39:58 GMT</pubDate></item><item><title><![CDATA[Reply to OpenVPN using a 1:1 NAT on Fri, 07 Aug 2020 15:34:56 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jptferreira">@<bdi>jptferreira</bdi></a> said in <a href="/post/928441">OpenVPN using a 1:1 NAT</a>:</p>
<blockquote>
<p dir="auto">possible to have OPenVPN listening to another public ip address assigned to the WAN</p>
</blockquote>
<p dir="auto">Hi,</p>
<p dir="auto">Anything is possible as long as they say not anymore not possible... <img src="https://forum.netgate.com/assets/plugins/nodebb-plugin-emoji/emoji/android/1f609.png?v=717669fab53" class="not-responsive emoji emoji-android emoji--wink" style="height:23px;width:auto;vertical-align:middle" title=":wink:" alt="😉" /><br />
I would start with these:<br />
https://docs.netgate.com/pfsense/en/latest/book/firewall/methods-of-using-additional-public-ip-addresses.html<br />
https://docs.netgate.com/pfsense/en/latest/routing/multi-wan-openvpn.html</p>
<p dir="auto">and<br />
https://www.youtube.com/channel/UC3Cq2kjCWM8odzoIzftS04A/videos</p>
]]></description><link>https://forum.netgate.com/post/928455</link><guid isPermaLink="true">https://forum.netgate.com/post/928455</guid><dc:creator><![CDATA[DaddyGo]]></dc:creator><pubDate>Fri, 07 Aug 2020 15:34:56 GMT</pubDate></item><item><title><![CDATA[Reply to OpenVPN using a 1:1 NAT on Fri, 07 Aug 2020 15:31:07 GMT]]></title><description><![CDATA[<p dir="auto">If you have your additional WAN IPs added as IP aliases you're able to select each of them in the OpenVPN servers setting at Interface. The OpenVPN server will only listen on the selected IP.</p>
]]></description><link>https://forum.netgate.com/post/928453</link><guid isPermaLink="true">https://forum.netgate.com/post/928453</guid><dc:creator><![CDATA[viragomann]]></dc:creator><pubDate>Fri, 07 Aug 2020 15:31:07 GMT</pubDate></item></channel></rss>