Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Jun 2008 23:44:48 -0400
From:      Andrew Berry <andrewberry@sentex.net>
To:        =?WINDOWS-1252?Q?Nejc_=8Akoberne?= <nejc@skoberne.net>
Subject:   Re: Openvpn on FreeBSD 7
Message-ID:  <EEE0BBA0-DF49-4EAF-A829-044083B21F0A@sentex.net>
Resent-Message-ID: <200806100345.m5A3imch018386@robin.cs.uoguelph.ca>
In-Reply-To: <484D895A.4050300@skoberne.net>
References:  <4AF0C677-6628-49A6-BDD8-F5620CBF05F1@sentex.net> <484D895A.4050300@skoberne.net>

next in thread | previous in thread | raw e-mail | index | archive | help

--Apple-Mail-786-686596122
Content-Type: text/plain;
	charset=ISO-8859-1;
	format=flowed;
	delsp=yes
Content-Transfer-Encoding: quoted-printable

On 9-Jun-08, at 3:49 PM, Nejc =8Akoberne wrote:

> I do. I don't use bridging, though. Do you have a good reason to use =20=

> it?

I was using it because I could then assign my laptop the same IP =20
easily through my router (a separate device with DHCP) and also have =20
hostnames pushed through DHCP. But I imagine in my case I could do the =20=

same thing with a tunnel.

> Have you tried to tcpdump the interfaces?

Yes, I did: 'tcpdump -i tun0'. Nothing shows up on the server, but on =20=

the client (OS X) I can see the pings being sent.

> How did you configure the bridge?

Here is my current config: It's no longer doing bridging though.

openvpn.conf:

port 1194
proto tcp
dev tun
ca ca.crt
cert server.crt
dh dh1024.pem
server 10.8.0.0 255.255.255.0
ifconfig-pool-persist ipp.txt
keepalive 10 120
comp-lzo
persist-key
persist-tun
status openvpn-status.log
verb 3

And on my client:

tls-client
dev tun
ca ca.crt
cert client1.crt
key client1.key
remote my-remote-host
proto tcp-client
port 1194
comp-lzo
ping 15
ping-restart 45
ping-timer-rem
persist-tun
persist-key
verb 3

I then ifconfig'ed the tun0 interface to be 10.8.0.2 =3D> 10.8.0.1.

Thanks!
--Andrew

--Apple-Mail-786-686596122--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?EEE0BBA0-DF49-4EAF-A829-044083B21F0A>