<?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[NAT problem when openvpn connection from inside the LAN is made.]]></title><description><![CDATA[<p dir="auto">Hi!</p>
<p dir="auto">First of all, great product. I installed pfsense on an ALIX board to serve as a VDSL (50mbit/10mbit) router and so far it works great. There's only one thing I can't get my head around. I already asked this on #pfsense ( Thanks again Valen), maybe somebody here knows a way.</p>
<p dir="auto">Setup:<br />
pfsense 1.2.2  embedded (192.168.0.1) connects via PPOE on vr1.<br />
ubuntu server (192.168.0.2) is connected to pfsense via vr0.<br />
ubuntu client (192.168.0.10) is connected to pfsense via ath0<br />
Windows Client (192.168.0.20) is connected via Virtual Machine on the ubuntu server.<br />
The ubuntu server has a ssh and apache server that serve the world via NAT. Everything is working fine this way.</p>
<p dir="auto">Now, in addition to that I want to establish a VPN Connection from the ubuntu server (192.168.0.2) to a server on the internet. This is also working fine via openvpn installed and running on the ubuntu server. What is not working, is the NAT. Neither the ssh server nor the apache are responding anymore. Both the apache and the ssh server are still working when the connection is established from the ubuntu client within the LAN though.</p>
<p dir="auto">Curious whether this a linux routing problem I started Windows XP in Virtual Machine and tested the same scenario. Result: telnet was not going through to the XP client after I established the VPN Connection, before it was. Tested and confirmed.</p>
<p dir="auto">So, any ideas why pfsense is obviously not routing the packages coming from the NAT to the client, when a vpn connection is made, but does so for a connection from the LAN?</p>
<p dir="auto">Bottom Line: outgoing traffic from the ubuntu server should take the vpn connection, incoming connection from LAN or WAN should take the "normal route".</p>
<p dir="auto">Thanks for any advice on this topic.</p>
]]></description><link>https://forum.netgate.com/topic/17242/nat-problem-when-openvpn-connection-from-inside-the-lan-is-made</link><generator>RSS for Node</generator><lastBuildDate>Sat, 07 Nov 2026 16:52:13 GMT</lastBuildDate><atom:link href="https://forum.netgate.com/topic/17242.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 10 Aug 2009 16:43:13 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to NAT problem when openvpn connection from inside the LAN is made. on Wed, 12 Aug 2009 13:08:07 GMT]]></title><description><![CDATA[<p dir="auto">Here is the openvpn config File I'm using. So unless it is in some other file, I'd say no.  ;)</p>
<pre><code>client
dev tun
remote xxx.xxx.xxx 1149
proto udp
tun-mtu 1500
fragment 1300
mssfix
float
reneg-sec 86400
resolv-retry infinite
nobind
persist-key
persist-tun
route-method exe
route-delay 2
ca xxx.crt
cert xxx.crt
key xxx.key
tls-auth xxx.key 1
cipher AES-256-CBC
comp-lzo
verb 4
ns-cert-type server
auth-user-pass
inactive 604800
ping 5
ping-restart 60
</code></pre>
]]></description><link>https://forum.netgate.com/post/205006</link><guid isPermaLink="true">https://forum.netgate.com/post/205006</guid><dc:creator><![CDATA[Doe.John]]></dc:creator><pubDate>Wed, 12 Aug 2009 13:08:07 GMT</pubDate></item><item><title><![CDATA[Reply to NAT problem when openvpn connection from inside the LAN is made. on Tue, 11 Aug 2009 22:42:15 GMT]]></title><description><![CDATA[<p dir="auto">Are you using the redirect dev1 option on this OpenVPN tunnel?</p>
]]></description><link>https://forum.netgate.com/post/204962</link><guid isPermaLink="true">https://forum.netgate.com/post/204962</guid><dc:creator><![CDATA[GruensFroeschli]]></dc:creator><pubDate>Tue, 11 Aug 2009 22:42:15 GMT</pubDate></item></channel></rss>