<?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[ISP blocking incoming traffic on server side]]></title><description><![CDATA[<p dir="auto">Dear Sirs: We have a new OpenVPN with pfSense installation. The clients are roaming Windows workstations. The server is on a ISP that blocks incoming traffic due to security reasons. The clients are on another ISP that does not block incoming traffic. So, the initial packet from clients to server are lost and the tunnel cannot be established.<br />
Doing tests with netcat, the firewall gets open when the server first sends packets to the clients and remains closed when the the clients send first to the server.<br />
Searching for a workaround,  if the server were able to send a first packet to the clients, the<br />
firewall of the ISP will remember it and let pass the packets  from the clients to the server.</p>
<p dir="auto">Remembering, years ago, when using OpenVPN alone (not bundled with pfSense) with Windows<br />
servers and clients, we were able to use in the configuration files the option remote in the<br />
server, so the server will send initial packets to the clients, as in the example:</p>
<h1><a class="anchor-offset" name="server"></a>Server</h1>
<p dir="auto">remote client.dyndns.org<br />
dev-node tap1<br />
dev tun1<br />
ifconfig 10.1.0.1 10.1.0.2<br />
port 5000<br />
tls-server<br />
dh dh1024.pem<br />
ca ca.crt<br />
cert server.crt<br />
key server.key<br />
reneg-sec 3600<br />
comp-lzo<br />
ping 10<br />
verb 5<br />
mute 10<br />
ping-restart 300<br />
resolv-retry 300<br />
persist-tun<br />
persist-key<br />
log-append log.txt</p>
<h1><a class="anchor-offset" name="client"></a>Client</h1>
<p dir="auto">remote server.dnsdynamic.net<br />
dev tun1<br />
ifconfig 10.1.0.2 10.1.0.1<br />
port 5000<br />
tls-client<br />
ca ca.crt<br />
cert client.crt<br />
key client.key<br />
reneg-sec 3600<br />
comp-lzo<br />
ping 10<br />
verb 5<br />
mute 10<br />
ping-restart 300<br />
resolv-retry 300<br />
persist-tun<br />
persist-key<br />
log-append log.txt</p>
<p dir="auto">So we modified the file /var/etc/openvpn/server1.conf adding the line "remote client.dnsdynamic.net", but OpenVPN fails to start with the error in the log: "–remote cannot<br />
be used with mode --server". The command that worked in the past does not work today. The<br />
updated documentation says that remote can be used with float (accept all clients address). We<br />
tried with remote alone without float, the two together, same error.<br />
Questions:<br />
1-How we can use again remote or another command so the server sends initial packets to the<br />
clients?<br />
2-When editing /var/etc/openvpn/server1.conf directly, the changes are lost when rebooting.<br />
Seems that the file is build with the contents of /conf/config.xml when booting. We edit the config.xml and the definitions of OpenVPN are there, but not figured the xml tags for the remote instruction or another needed.</p>
<p dir="auto">Any answer,suggestions will we appreciated, thanks</p>
]]></description><link>https://forum.netgate.com/topic/88959/isp-blocking-incoming-traffic-on-server-side</link><generator>RSS for Node</generator><lastBuildDate>Sun, 14 Jun 2026 01:25:01 GMT</lastBuildDate><atom:link href="https://forum.netgate.com/topic/88959.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 11 Sep 2015 12:57:09 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to ISP blocking incoming traffic on server side on Tue, 22 Sep 2015 17:50:12 GMT]]></title><description><![CDATA[<p dir="auto">So what about the vps idea?</p>
]]></description><link>https://forum.netgate.com/post/572185</link><guid isPermaLink="true">https://forum.netgate.com/post/572185</guid><dc:creator><![CDATA[johnpoz]]></dc:creator><pubDate>Tue, 22 Sep 2015 17:50:12 GMT</pubDate></item><item><title><![CDATA[Reply to ISP blocking incoming traffic on server side on Tue, 22 Sep 2015 16:27:32 GMT]]></title><description><![CDATA[<p dir="auto">Dear Sirs: I tested the ISP, all ports are closed to incoming traffic. Reported to the customer, he will be able to establish OpenVPN connections through the primary ISP that allows incoming traffic. He will not be able to establish connections through the second ISP bloking incoming traffic. Thanks to everybody</p>
]]></description><link>https://forum.netgate.com/post/572168</link><guid isPermaLink="true">https://forum.netgate.com/post/572168</guid><dc:creator><![CDATA[alexbve]]></dc:creator><pubDate>Tue, 22 Sep 2015 16:27:32 GMT</pubDate></item><item><title><![CDATA[Reply to ISP blocking incoming traffic on server side on Mon, 14 Sep 2015 12:50:33 GMT]]></title><description><![CDATA[<p dir="auto">Hi johnpoz, good idea, I will do the high ports test on Wednesday, that day I will visit the customer. If the test doesn't reflects open high ports, we will suggest the customer to consider a VPS. I will post the results, thanks</p>
]]></description><link>https://forum.netgate.com/post/570551</link><guid isPermaLink="true">https://forum.netgate.com/post/570551</guid><dc:creator><![CDATA[alexbve]]></dc:creator><pubDate>Mon, 14 Sep 2015 12:50:33 GMT</pubDate></item><item><title><![CDATA[Reply to ISP blocking incoming traffic on server side on Sat, 12 Sep 2015 03:30:49 GMT]]></title><description><![CDATA[<p dir="auto">3 clients? You could handle that most likely with a $15 a year vps.. Get 500GB a month xfer..</p>
]]></description><link>https://forum.netgate.com/post/570232</link><guid isPermaLink="true">https://forum.netgate.com/post/570232</guid><dc:creator><![CDATA[johnpoz]]></dc:creator><pubDate>Sat, 12 Sep 2015 03:30:49 GMT</pubDate></item><item><title><![CDATA[Reply to ISP blocking incoming traffic on server side on Sat, 12 Sep 2015 03:15:35 GMT]]></title><description><![CDATA[<p dir="auto">Deatr johnpoz: Sorry for the error in the last post, I was in a hurry. I wrote incorrectly: "…with free ISP access" instead: "with an ISP with free open (incoming) connections".<br />
There are very few clients, only three. Thanks</p>
]]></description><link>https://forum.netgate.com/post/570231</link><guid isPermaLink="true">https://forum.netgate.com/post/570231</guid><dc:creator><![CDATA[alexbve]]></dc:creator><pubDate>Sat, 12 Sep 2015 03:15:35 GMT</pubDate></item><item><title><![CDATA[Reply to ISP blocking incoming traffic on server side on Sat, 12 Sep 2015 02:57:20 GMT]]></title><description><![CDATA[<p dir="auto">Here is a solution, I know its way out there an all.. But get a isp connection that actually allows you to do business.. Who and the F would get connection that does not allow inbound connection???  I wouldn't even use that for my home connection, let a lone a business…</p>
<p dir="auto">I can see a home isp blocking say inbound on 25 or outbound on 25 even.. and hey if your not suppose to be running servers blocking 80 and 443, 22 etc.. In your sort of setup you can not even do an active ftp connection and would be limited to passive.</p>
<p dir="auto">So whey can they not just open up the ports you want??  Sounds to me like your just behind a nat is all.</p>
<p dir="auto">Why do you need a free ISP??  Why don't you just get a VPS somewhere and create a site to site to it and then setup your vpn to that vps?  How many road warriors are you talking about?? 10 or 100, 1000?  VPS can be had for a few dollars a year if need be.. I have like 5 low end my self and a couple in the EU for testing stuff from different parts of the world.. A business for sure could get a pretty hefty performance VPS, etc. etc.  to handle lots of users..</p>
]]></description><link>https://forum.netgate.com/post/570228</link><guid isPermaLink="true">https://forum.netgate.com/post/570228</guid><dc:creator><![CDATA[johnpoz]]></dc:creator><pubDate>Sat, 12 Sep 2015 02:57:20 GMT</pubDate></item><item><title><![CDATA[Reply to ISP blocking incoming traffic on server side on Sat, 12 Sep 2015 02:37:13 GMT]]></title><description><![CDATA[<p dir="auto">Dear johnpoz and divsys: Thanks for the ideas, I will try to scan the high ports to determine if they are closed too. I was thinking about S2S, with the hope to be able to specify client address and send the first packet from server to clients, but this mode does not allow setting client address neither. The option of placing the server outside the limited ISP, it's difficult. The other hosts are road warrior laptops, and if the server laptop shutdowns, all the WAN will go down. Last resort may be try to search if it's available a host in a branch in another country with free ISP access.<br />
The clients change address frequently, they travel, we use a free dynamic dns service.<br />
Next week I will do the high ports test and post the results. Thanks!</p>
]]></description><link>https://forum.netgate.com/post/570226</link><guid isPermaLink="true">https://forum.netgate.com/post/570226</guid><dc:creator><![CDATA[alexbve]]></dc:creator><pubDate>Sat, 12 Sep 2015 02:37:13 GMT</pubDate></item><item><title><![CDATA[Reply to ISP blocking incoming traffic on server side on Fri, 11 Sep 2015 19:12:03 GMT]]></title><description><![CDATA[<blockquote>
<p dir="auto">The server is on a ISP that blocks incoming traffic due to security reasons.</p>
</blockquote>
<p dir="auto">Does the ISP block <strong>ALL</strong> incoming traffic or only traffic on the typically used ports (eg,. 25, 80, 443, 1194).</p>
<p dir="auto">Have you tried to setup your OpenVpn on some higher port number (8100+) ?</p>
<p dir="auto">If they are definitely blocking <strong>Everything</strong> incoming then you're stuck, as johnpoz has suggested, with finding an intermediary that the Main Office can connect to via S2S and everyone else can connect to as well.</p>
]]></description><link>https://forum.netgate.com/post/570174</link><guid isPermaLink="true">https://forum.netgate.com/post/570174</guid><dc:creator><![CDATA[divsys]]></dc:creator><pubDate>Fri, 11 Sep 2015 19:12:03 GMT</pubDate></item><item><title><![CDATA[Reply to ISP blocking incoming traffic on server side on Fri, 11 Sep 2015 18:59:06 GMT]]></title><description><![CDATA[<p dir="auto">Where is this server going to send it too?  Your saying the client is ALWAYS on the same IP?  If so why don't you just setup a site to site to where this client is..</p>
<p dir="auto">And even if that was the case it would be a horrific idea to send a connection attempt every minute just in the off chance that the client wants to connect!</p>
<p dir="auto">You can not run a service on a connection that does not allow inbound unsolicited traffic.. You could setup a site to site because you could use this server as the one creating the connection but as a road warrior type of server - NO!</p>
]]></description><link>https://forum.netgate.com/post/570169</link><guid isPermaLink="true">https://forum.netgate.com/post/570169</guid><dc:creator><![CDATA[johnpoz]]></dc:creator><pubDate>Fri, 11 Sep 2015 18:59:06 GMT</pubDate></item><item><title><![CDATA[Reply to ISP blocking incoming traffic on server side on Fri, 11 Sep 2015 14:46:08 GMT]]></title><description><![CDATA[<p dir="auto">Dear johnpoz: Thanks, about the questions:<br />
"How would the server know clients are wanting to connect?  Is this a site to site sort of connection?"<br />
The server can send all the time and periodically for example, every minute, an outgoing packet to leave the port open in the ISP firewall and so permit the incoming packets of the clients. This can be achieved with the remote command I said before. If that is possible, in any moment, a client will try to connect and will find the port open in the firewall and will connect to the server.<br />
The OpenVPN server will service three roaming users, the server it's configured as a remote access server (SSL/TLS+User Auth), not a peer-to-peer configuration.</p>
<p dir="auto">You are right, it's a poor choice to run a server that provides services to the public internet on an ISP that does not allow inbound connections, but sadly the customer already signed a contract with the wired TV company that provides Internet service too (but limited) as a backup in case the main ISP fails. This latter ISP provides incoming connections and no problem. So, if the main ISP fails, the backup ISP, which is limiting incoming connections, will not help. Thanks</p>
]]></description><link>https://forum.netgate.com/post/570128</link><guid isPermaLink="true">https://forum.netgate.com/post/570128</guid><dc:creator><![CDATA[alexbve]]></dc:creator><pubDate>Fri, 11 Sep 2015 14:46:08 GMT</pubDate></item><item><title><![CDATA[Reply to ISP blocking incoming traffic on server side on Fri, 11 Sep 2015 14:05:07 GMT]]></title><description><![CDATA[<p dir="auto">huh?  How would the server know clients are wanting to connect?  Is this a site to site sort of connection?</p>
<p dir="auto">Why you host a vpn server on an isp that does not allow inbound connections??  Seem like a pretty poor choice to run a server that should provide services to the public internet on an isp that does not allow inbound connections.</p>
]]></description><link>https://forum.netgate.com/post/570119</link><guid isPermaLink="true">https://forum.netgate.com/post/570119</guid><dc:creator><![CDATA[johnpoz]]></dc:creator><pubDate>Fri, 11 Sep 2015 14:05:07 GMT</pubDate></item></channel></rss>