Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Sep 2005 20:55:05 -0500
From:      Vulpes Velox <v.velox@vvelox.net>
To:        freebsd-net@freebsd.org
Subject:   wierd problems with openvpn
Message-ID:  <20050922205505.0bbd2ff4@vixen42.vulpes>

next in thread | raw e-mail | index | archive | help
Just been messing around with openvpn and trying to get it up and
running using http://openvpn.net/static.html as a guide. It works,
but I run into a weird problem with data moving across the vpn. I can
send a ping across from the client to the server, but the server
never sends any thing back. I used tcpdump to make sure the server is
seeing it and it is. I see it going there on both machines, but I
never see a reply.

I am running pf on the server... but it should not be doing any
thing...


server pf.conf...
ext_if="fxp1"
int_if="fxp0"
internal_net="192.168.0.0/8"
dcc = "{ 6115:6130 }"
bittorrent = "{ 6881:6889 }"
nat on $ext_if from $internal_net to any -> ($ext_if)
rdr on $ext_if proto tcp from any to any port $dcc -> 192.168.0.2
rdr on $ext_if proto tcp from any to any port $bittorrent ->
192.168.0.2 rdr on $ext_if proto udp from any to any port 27960 ->
192.168.0.2 pass in all
pass out all



server config...
dev tun
secret vulpes-static.key
ifconfig 10.8.0.1 10.8.0.2
comp-lzo



host config...
dev tun
secret vulpes-static.key
ifconfig 10.8.0.2 10.8.0.1
remote inari
comp-lzo



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