From owner-freebsd-questions@FreeBSD.ORG Fri Mar 17 14:18:39 2006 Return-Path: X-Original-To: questions@FreeBSD.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A3C5016A41F for ; Fri, 17 Mar 2006 14:18:39 +0000 (UTC) (envelope-from frankstaals@gmx.net) Received: from smtp3.versatel.nl (smtp1.versatel.nl [62.58.50.88]) by mx1.FreeBSD.org (Postfix) with ESMTP id 26AB643D5A for ; Fri, 17 Mar 2006 14:18:36 +0000 (GMT) (envelope-from frankstaals@gmx.net) Received: (qmail 10369 invoked by uid 0); 17 Mar 2006 14:18:33 -0000 Received: from ip176-173-59-62.adsl.versatel.nl (HELO [192.168.2.5]) ([62.59.173.176]) (envelope-sender ) by smtp1.versatel.nl (qmail-ldap-1.03) with SMTP for < >; 17 Mar 2006 14:18:33 -0000 Message-ID: <441AC558.60204@gmx.net> Date: Fri, 17 Mar 2006 15:19:04 +0100 From: Frank Staals User-Agent: Thunderbird 1.5 (X11/20060228) MIME-Version: 1.0 To: questions@FreeBSD.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: PF and VPN/Hamachi X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Mar 2006 14:18:39 -0000 Hey, I'm having some trouble with my FreeBSD PF firewall and hamachi ( http://www.hamachi.cc ) , a simple program to set up a vpn. I asked my question on the hamachi forums but nobody seems to reply. Currently I have these rules in my pf.conf: # For Hamachi: rdr pass on $extif inet proto udp from any to $extaddr port 12975 -> 192.168.2.11 port 12975 and I just allow all outgoing traffic: #Allow everyting outwards pass out all keep state I tried about every rule stated in this topic ( http://forums.hamachi.cc/viewtopic.php?t=1079 ) on the hamachi forums but none seem to work; either they have an invalid syntax or I just can't use that port ( someone redirected the traffic to port 25 which I'm allready using ). I also tried this rule, but it doesn't seem to help: nat on $extif from $intif:network port 12975 to any -> $extif static-port I hope someone can tell me what to do because they are either also use hamachi through a PF firewall or know what the correct syntax should be. Thanks, -- -Frank Staals