Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Mar 2006 15:19:04 +0100
From:      Frank Staals <frankstaals@gmx.net>
To:        questions@FreeBSD.org
Subject:   PF and VPN/Hamachi
Message-ID:  <441AC558.60204@gmx.net>

next in thread | raw e-mail | index | archive | help
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





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?441AC558.60204>