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
[-- Attachment #1 --] Václav 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 to > configure either OpenVPN or FreeBSD to actually create that tun0 interface. > > If I try to create it manually I get this: > > $ ifconfig -v tun create inet 192.168.23.203 192.168.23.1 > ifconfig: SIOCIFCREATE: Invalid argument > > The kernel config has the "device tun" line and there are tun[0-3] in /dev. > > So what am I doing wrong? > > -- > Vaclav Haisman > 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 serice? -- VH [-- Attachment #2 --] -----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-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4513F1B7.9010505>
