<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
    xmlns:dc="http://purl.org/dc/elements/1.1/"
     xmlns:admin="http://webns.net/mvcb/"
     xmlns:content="http://purl.org/rss/1.0/modules/content/"
     xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
	<channel> 

	<title>Comments on: Openvpn issue</title>
	<link>http://ask.metafilter.com/93813/Openvpn-issue/</link>
	<description>Comments on Ask MetaFilter post Openvpn issue</description>
	<pubDate>Wed, 11 Jun 2008 13:10:08 -0800</pubDate>
	<lastBuildDate>Wed, 11 Jun 2008 13:10:08 -0800</lastBuildDate>
	<language>en-us</language>
	<docs>http://blogs.law.harvard.edu/tech/rss</docs>
	<ttl>60</ttl>

	<item>
		<title>Question: Openvpn issue</title>
		<link>http://ask.metafilter.com/93813/Openvpn-issue</link>	
		<description>OpenVPN and open ports question. &lt;br /&gt;&lt;br /&gt; I&apos;m running Ubuntu 8.04. I have a subscription to&lt;a href=&quot;http://www.vpntunnel.co.uk&quot;&gt; vpntunnel.co.uk&lt;/a&gt; and I use openvpn to connect - I used &lt;a href=&quot;http://www.vpntunnel.co.uk/blog/?p=5&quot;&gt;these instructions &lt;/a&gt;.&lt;br&gt;
&lt;br&gt;
I can connect and use it with no problems. &lt;br&gt;
&lt;br&gt;
However, when I am connected, my local ports (in particular SSH, samba etc, 80 etc) are then opened up to the world - and available on the VPN IP address - ie the one thats assigned to me when I connect.&lt;br&gt;
&lt;br&gt;
I have only really confirmed this by doing a shields up test at grc.com, but I&apos;ve noticed some strange activity in the samba logs, and what looks like various random (but valid) IP addresses trying to connect to my shares. Nothing and nobody as far as I can tell have actually accessed the box.&lt;br&gt;
&lt;br&gt;
If i disconnect the VPN, I&apos;m showing all ports stealthed on my usual ISP assigned IP address. I&apos;m using a local firewall on the PC and my router denies all inbound traffic, I have no open ports on the router.&lt;br&gt;
&lt;br&gt;
This sounds more like an OpenVPN issue but I dont know how to prevent those ports from being opened to the outside world.  Can anyone help?</description>
		<guid isPermaLink="false">post:ask.metafilter.com,2008:site.93813</guid>
		<pubDate>Wed, 11 Jun 2008 12:53:58 -0800</pubDate>
		<dc:creator>daveyt</dc:creator>
		
			<category>openvpn</category>
		
	</item> <item>
		<title>By: knave</title>
		<link>http://ask.metafilter.com/93813/Openvpn-issue#1372184</link>	
		<description>You should be able to configure those services (SSH, Samba, HTTP) to listen only on a particular interface.  If you tell them, for example, to listen on your internal IP (for example, 192.168.1.2), they won&apos;t bind to the VPN interface when it comes online.  By default these services are probably configured to listen on 0.0.0.0 or * or some kind of wildcard that will match all interfaces.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2008:site.93813-1372184</guid>
		<pubDate>Wed, 11 Jun 2008 13:10:08 -0800</pubDate>
		<dc:creator>knave</dc:creator>
	</item><item>
		<title>By: chengjih</title>
		<link>http://ask.metafilter.com/93813/Openvpn-issue#1372678</link>	
		<description>What knave said about binding the applications to particular interfaces.&lt;br&gt;
&lt;br&gt;
If you can&apos;t convince your apps to do that (the ones you&apos;ve listed can do that with minor config changes), you can also turn on your firewall on the tun0 interface used by OpenVPN using something like:&lt;br&gt;
&lt;br&gt;
&lt;blockquote&gt;&lt;br&gt;
iptables -A INPUT -p ALL -i tun0 -m state --state ESTABLISHED,RELATED -j ACCEPT&lt;br&gt;
iptables -A INPUT -p ALL -i tun0 -j DROP&lt;br&gt;
&lt;/blockquote&gt;&lt;br&gt;
&lt;br&gt;
That should block incoming packets on the tun0 interface, unless those packets are part of an established connection.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2008:site.93813-1372678</guid>
		<pubDate>Wed, 11 Jun 2008 19:42:10 -0800</pubDate>
		<dc:creator>chengjih</dc:creator>
	</item>
	</channel>
</rss>
