Date: Fri, 22 Sep 2006 16:22:47 +0200 From: =?UTF-8?B?VsOhY2xhdiBIYWlzbWFu?= <V.Haisman@sh.cvut.cz> To: =?UTF-8?B?VsOhY2xhdiBIYWlzbWFu?= <V.Haisman@sh.cvut.cz> Cc: freebsd-stable@freebsd.org Subject: Re: Problems with OpenVPN+routing and creating tun0 interface Message-ID: <4513F1B7.9010505@sh.cvut.cz> In-Reply-To: <4513D9F7.4050606@sh.cvut.cz> References: <4513D9F7.4050606@sh.cvut.cz>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig6251CB365BEEA1F0BC5FD407 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable V=C3=A1clav Haisman wrote, On 22.9.2006 14:41: > Hi, > I want to set up OpenVPN to create and configure tun0 interface and > connect to OpenVPN server. The main obstacle seems to be my inability t= o > configure either OpenVPN or FreeBSD to actually create that tun0 interf= ace. >=20 > If I try to create it manually I get this: >=20 > $ ifconfig -v tun create inet 192.168.23.203 192.168.23.1 > ifconfig: SIOCIFCREATE: Invalid argument >=20 > The kernel config has the "device tun" line and there are tun[0-3] in /= dev. >=20 > So what am I doing wrong? >=20 > -- > Vaclav Haisman >=20 The problme was on the server, it had my address restricted in firewall. I managed to make the tunnel. And I could ping the 192.168.23.1 address from mine 192.168.23.4. I had to restart the serivce because I did some changes to the OpenVPN client configuraton. Now I cannot ping again. But according to tcpdump the connection is there. And I cannot even ping mine 192.168.23.4. Missing routes or someting, after I restarted the seri= ce? -- VH --------------enig6251CB365BEEA1F0BC5FD407 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.4 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iQEVAwUBRRPxv0NOZDESBK8FAQK7fAf+PxGIRn8KZvB8whwWUSBXrjX5X6AhoZWf 1+0lFl4UJDOXC2pYMTcq9k7QWnhK/YGRXpx6xR6X4/lvcJySjZirUYyuacUgHnyc B02mDTb1/0GI97HcRbS/GDlaXajBg66m+4CY2zvQPl4j4bP5NIKrYIkqVM30LBBn /tbgDRs7jDjwkIwTpw85sZf0c0Q8JHibZIK1DLW6qp/t1RSzl7USaWN/e8dy0QXC Z2D41dWtO81dqoOnjpK8g2S0vypQNVCZPNr0TwrM0FYjW0yMwLgFi6gPpfwr9fbU e9wOm0rK/EHZ5m08qhgTMLXFM7jI2yQwLZdISUyhODVruBzgqJv9CA== =TPZ6 -----END PGP SIGNATURE----- --------------enig6251CB365BEEA1F0BC5FD407--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4513F1B7.9010505>