Re: openvpn routing

2013-07-16 Thread Pol Hallen
This freebsd server in an internal lan server, IP 192.168.1.254. 192.168.1.212 is gateway on internet. [...] tap -- tun solved :-) Pol ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To

Re: openvpn and tap device

2013-06-02 Thread Beni Brinckman
I had to use tap0 instead of tun0 to get a connexion. I first create it with ifconfig tap0 create and then make the connexion with openvpn --config your-config-file.ovpn --dev tap0. This works for me. 2013/6/1 Teske, Devin devin.te...@fisglobal.com On May 29, 2013, at 8:52 AM, Pol Hallen

Re: openvpn and tap device

2013-06-01 Thread lokada...@gmx.de
On 29.05.2013 17:52, Pol Hallen wrote: It's a while since I looked at OpenVPN, so this is from unreliable memory, but IIRC it uses tap devices under Windows and tun devices under Unix(ish) OSes. Do you see tun0 appear? sorry for the mistake: tun device I don't have any tun devices but I can

Re: openvpn and tap device

2013-06-01 Thread Teske, Devin
On May 29, 2013, at 8:52 AM, Pol Hallen wrote: It's a while since I looked at OpenVPN, so this is from unreliable memory, but IIRC it uses tap devices under Windows and tun devices under Unix(ish) OSes. Do you see tun0 appear? sorry for the mistake: tun device I don't have any tun

Re: openvpn and tap device

2013-05-29 Thread Arthur Chance
On 05/28/13 23:14, Pol Hallen wrote: Hi all! I installed openvpn (I use it like client). There isn't any openvpn_enable=YES and openvpn_if=tap in rc.conf but after start openvpn I can connect to openvpn server and clients. ifconfig doesn't show me any tap interface is it a correct situation?

Re: openvpn and tap device

2013-05-29 Thread Andrea Venturoli
On 05/29/13 09:36, Arthur Chance wrote: It's a while since I looked at OpenVPN, so this is from unreliable memory, but IIRC it uses tap devices under Windows and tun devices under Unix(ish) OSes. It can use tun OR tap device on both Unix(ish) (and IIRC the same holds for Windows). Do

Re: openvpn and tap device

2013-05-29 Thread Pol Hallen
It's a while since I looked at OpenVPN, so this is from unreliable memory, but IIRC it uses tap devices under Windows and tun devices under Unix(ish) OSes. Do you see tun0 appear? sorry for the mistake: tun device I don't have any tun devices but I can use openvpn to connect to other vpn

Re: OpenVPN vm cant connect to other VM's

2013-03-11 Thread lokada...@gmx.de
On 06.03.2013 11:38, Brent Clark wrote: Hi guys Im struggling with a freebsd vm, that I have that I use for a VPN connection too, from my workstation to my home LAN. And I was wondering if someone could peer review me and my problem. OpenVPN is working beautifully. I.e. I can connect to

Re: OpenVPN vm cant connect to other VM's

2013-03-11 Thread Michael Sierchio
Are you pushing routes in your server.conf file? (hint - show, don't tell) - M On Wed, Mar 6, 2013 at 2:38 AM, Brent Clark brentgclarkl...@gmail.com wrote: Hi guys Im struggling with a freebsd vm, that I have that I use for a VPN connection too, from my workstation to my home LAN. And I was

Re: OpenVPN vm cant connect to other VM's

2013-03-11 Thread lokada...@gmx.de
On 11.03.2013 20:13, Michael Sierchio wrote: Are you pushing routes in your server.conf file? (hint - show, don't tell) - M On Wed, Mar 6, 2013 at 2:38 AM, Brent Clark brentgclarkl...@gmail.com wrote: Hi guys Im struggling with a freebsd vm, that I have that I use for a VPN connection too,

Re: OpenVPN - what configuration do I need/want

2011-11-06 Thread Bill Tillman
  From: Ryan Coleman edi...@d3photography.com To: Bill Tillman btillma...@yahoo.com Cc: FreeBSD Questions freebsd-questions@freebsd.org Sent: Saturday, November 5, 2011 9:32 PM Subject: Re: OpenVPN - what configuration do I need/want So... basically you've just

Re: OpenVPN - what configuration do I need/want

2011-11-05 Thread Bill Tillman
  From: Ryan Coleman edi...@d3photography.com To: FreeBSD Questions freebsd-questions@freebsd.org Sent: Friday, November 4, 2011 10:22 AM Subject: OpenVPN - what configuration do I need/want I have a PE 2450 with dual NICs and I want to turn it into a bridging

Re: OpenVPN - what configuration do I need/want

2011-11-05 Thread perryh
Bill Tillman btillma...@yahoo.com wrote: the protocol used by OpenVPN would not work whatsoever with Cisco equipment ... That's what security/vpnc is for :) ___ freebsd-questions@freebsd.org mailing list

Re: OpenVPN - what configuration do I need/want

2011-11-05 Thread Ryan Coleman
So... basically you've just set up servers that utilize the host connection or doesn't route? On Nov 5, 2011, at 5:35 AM, Bill Tillman wrote: From: Ryan Coleman edi...@d3photography.com To: FreeBSD Questions freebsd-questions@freebsd.org Sent: Friday,

Re: OpenVPN Setup

2011-05-11 Thread Ryan Coleman
You can still test it from home... do pings through a specific interface. Or change your routing table information. Also you can communicate from the server itself to the client to test. On May 11, 2011, at 8:11 AM, Bill Tillman wrote: Thanks to everyone for the replies yesterday on OpenVPN.

Re: OpenVPN Setup

2011-05-11 Thread Kevin Wilcox
On Wed, May 11, 2011 at 09:11, Bill Tillman btillma...@yahoo.com wrote: 2. I have my OpenVPN process running on my FreeBSD server and wish to test it with the OpenVPN client for Windows on my laptop from an outside location. But the only outside locations I have access to right now are the

Re: OpenVPN Setup

2011-05-11 Thread Bill Tillman
From: Kevin Wilcox kevin.wil...@gmail.com To: Bill Tillman btillma...@yahoo.com Cc: freebsd-questions@freebsd.org Sent: Wed, May 11, 2011 9:28:08 AM Subject: Re: OpenVPN Setup On Wed, May 11, 2011 at 09:11, Bill Tillman btillma...@yahoo.com wrote: 2. I have

Re: OpenVPN Setup

2011-05-11 Thread Bill Tillman
  From: Kevin Wilcox kevin.wil...@gmail.com To: Bill Tillman btillma...@yahoo.com Cc: freebsd-questions@freebsd.org Sent: Wed, May 11, 2011 9:28:08 AM Subject: Re: OpenVPN Setup On Wed, May 11, 2011 at 09:11, Bill Tillman btillma...@yahoo.com wrote: 2. I have

Re: OpenVPN Setup

2011-05-10 Thread Chuck Swiger
On May 10, 2011, at 12:55 PM, Bill Tillman wrote: I have a FreeBSD-8.2-STABLE server running OpenVPN. What I'm trying to do is to be able to access my LAN with my M$ Windows laptop using a M$ compatible client. I read the manpage and it basically sets forth examples in which there will

Re: OpenVPN Setup

2011-05-10 Thread Darek M
On 5/10/2011 3:55 PM, Bill Tillman wrote: I have a FreeBSD-8.2-STABLE server running OpenVPN. What I'm trying to do is to be able to access my LAN with my M$ Windows laptop using a M$ compatible client. I read the manpage and it basically sets forth examples in which there will be two (2)

Re: OpenVPN Setup

2011-05-10 Thread Chuck Swiger
On May 10, 2011, at 2:50 PM, Bill Tillman wrote: OpenVPN's site provides fine documentation: http://openvpn.net/index.php/open-source/documentation.html http://openvpn.net/index.php/open-source/documentation/miscellaneous/78-static-key-mini-howto.html [ ... ] I'm working through the

Re: OpenVPN Setup

2011-05-10 Thread Bill Tillman
. From: Chuck Swiger cswi...@mac.com To: Bill Tillman btillma...@yahoo.com Cc: freebsd-questions@freebsd.org Sent: Tue, May 10, 2011 6:02:13 PM Subject: Re: OpenVPN Setup On May 10, 2011, at 2:50 PM, Bill Tillman wrote: OpenVPN's site provides fine documentation

Re: OpenVPN Setup

2011-05-10 Thread Bill Tillman
. From: Chuck Swiger cswi...@mac.com To: Bill Tillman btillma...@yahoo.com Cc: freebsd-questions@freebsd.org Sent: Tue, May 10, 2011 6:02:13 PM Subject: Re: OpenVPN Setup On May 10, 2011, at 2:50 PM, Bill Tillman wrote: OpenVPN's site provides fine documentation

Re: OpenVPN Setup

2011-05-10 Thread Chuck Swiger
On May 10, 2011, at 3:31 PM, Bill Tillman wrote: One more thing. I am going to need the Windows Client but I don't seem to find that at the OpenVPN site, only the full install which I assume installs the server as well as the client. Or am I missing the link to get just the client install.

Re: OpenVPN Setup

2011-05-10 Thread Kevin Wilcox
On Tue, May 10, 2011 at 20:50, Frank Griffith frnkgrf...@yahoo.com wrote: Anyway, I tried to start the OpenVPN server on the FreeBSD server and it will not start. I got this message: # openvpn /usr/local/etc/openvpn/server.conf Tue May 10 20:35:11 2011 OpenVPN 2.2.0 amd64-portbld-freebsd8.2

Re: OpenVPN routing

2011-04-27 Thread Maciej Milewski
On Wednesday 27 of April 2011 01:15:09, Ryan Coleman wrote: Maciej, Here you go: Ryan-Colemans-MacBook-Pro:~ ryanjcole$ netstat -rn Routing tables Internet: DestinationGatewayFlagsRefs Use Netif Expire default10.0.1.1 UGSc

Re: OpenVPN routing

2011-04-26 Thread Maciej Milewski
On Tuesday 26 of April 2011 04:38:29, Ryan Coleman wrote: Also: [root@nbserver1 /usr/home/ryanc]# ifconfig em0: flags=8943UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST metric 0 mtu 1500 options=98VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM ether 00:14:22:15:dc:65 inet 192.168.46.2

Re: OpenVPN routing

2011-04-26 Thread Nathan Vidican
On Mon, Apr 25, 2011 at 10:36 PM, Ryan Coleman ryan.cole...@cwis.biz wrote: I've got an OpenVPN connection working to my remote server, but I want to route the traffic to the local LAN. I have a bridge set up, pingable... but can't ping the em1 (192.168.46.2) from the remote machine.

Re: OpenVPN routing

2011-04-26 Thread Ryan Coleman
On Apr 26, 2011, at 8:32 AM, Nathan Vidican wrote: On Mon, Apr 25, 2011 at 10:36 PM, Ryan Coleman ryan.cole...@cwis.biz wrote: I've got an OpenVPN connection working to my remote server, but I want to route the traffic to the local LAN. I have a bridge set up, pingable... but can't ping

Re: OpenVPN routing

2011-04-26 Thread Diego Arias
On Tue, Apr 26, 2011 at 8:45 AM, Ryan Coleman ryan.cole...@cwis.biz wrote: On Apr 26, 2011, at 8:32 AM, Nathan Vidican wrote: On Mon, Apr 25, 2011 at 10:36 PM, Ryan Coleman ryan.cole...@cwis.biz wrote: I've got an OpenVPN connection working to my remote server, but I want to route the

Re: OpenVPN routing

2011-04-26 Thread Maciej Milewski
On Tuesday 26 of April 2011 15:45:22, Ryan Coleman wrote: I have a bridge set up, pingable... but can't ping the em1 (192.168.46.2) from the remote machine. ... push route 192.168.47.0 255.255.255.0 Have you tried adding the route to 192.168.46.0/24 subnet into the vpn client? You want to

Re: OpenVPN routing

2011-04-26 Thread Ryan Coleman
On Apr 26, 2011, at 9:53 AM, Maciej Milewski wrote: On Tuesday 26 of April 2011 15:45:22, Ryan Coleman wrote: I have a bridge set up, pingable... but can't ping the em1 (192.168.46.2) from the remote machine. ... push route 192.168.47.0 255.255.255.0 Have you tried adding the route to

Re: OpenVPN routing

2011-04-26 Thread Ryan Coleman
On Apr 26, 2011, at 3:50 PM, Ryan Coleman wrote: On Apr 26, 2011, at 9:53 AM, Maciej Milewski wrote: On Tuesday 26 of April 2011 15:45:22, Ryan Coleman wrote: I have a bridge set up, pingable... but can't ping the em1 (192.168.46.2) from the remote machine. ... push route 192.168.47.0

Re: OpenVPN routing

2011-04-26 Thread Ryan Coleman
On Apr 26, 2011, at 9:07 AM, Diego Arias wrote: If you need to route LAN - TO - LAN just enable the client-to-client. Its a Security Feature of OpenVPN http://www.secure-computing.net/wiki/index.php/OpenVPN/Routing I've done that and it had no effect

Re: OpenVPN routing

2011-04-25 Thread Ryan Coleman
Also: [root@nbserver1 /usr/home/ryanc]# ifconfig em0: flags=8943UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST metric 0 mtu 1500 options=98VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM ether 00:14:22:15:dc:65 inet 192.168.46.2 netmask 0xff00 broadcast 192.168.46.255

Re: openvpn client on pf gateway

2010-11-04 Thread krad
On 4 November 2010 10:15, Samuel Martín Moro faus...@gmail.com wrote: Hi, I'm using a FreeBSD-8.1 (RELEASE, amd64) as gateway for my local network. And pf as firewall. I'm renting a dedicated box, running openvpn. My gateway is configured as a client of this VPN. I modified my pf.conf

Re: OpenVPN Client

2009-07-26 Thread Drew Tomlinson
Leonardo M. Ramé wrote: Well, I opted for deinstalling openvpn and install openvpn-devel (2.1). Now it reads my client.ovpn file, and it seems to be going a little step further, now it seems to be a problem with route add. It's not really a problem with 'route add'. The problem is that a

Re: OpenVPN Client

2009-07-26 Thread Leonardo M . Ramé
Thanks Drew!, I'll change my home network to test this. Leonardo. --- On Sun, 7/26/09, Drew Tomlinson d...@mykitchentable.net wrote: From: Drew Tomlinson d...@mykitchentable.net Subject: Re: OpenVPN Client To: Leonardo M. Ramé martinr...@yahoo.com Cc: freebsd-questions@freebsd.org Date

Re: OpenVPN Client

2009-07-25 Thread Bill Campbell
On Sat, Jul 25, 2009, Leonardo M. Ram? wrote: Hi, I'm trying to connect to an OpenVPN server in my office. To do this, I installed OpenVPN 2.0.6 i386-portbld-freebsd7.2 [SSL] [LZO] from ports, and looking at different tutorials I found it needs a config file in

Re: OpenVPN Client

2009-07-25 Thread chris scott
2009/7/25 Leonardo M. Ramé martinr...@yahoo.com Hi, I'm trying to connect to an OpenVPN server in my office. To do this, I installed OpenVPN 2.0.6 i386-portbld-freebsd7.2 [SSL] [LZO] from ports, and looking at different tutorials I found it needs a config file in

Re: OpenVPN Client

2009-07-25 Thread Leonardo M . Ramé
, chris scott kra...@googlemail.com wrote: From: chris scott kra...@googlemail.com Subject: Re: OpenVPN Client To: Leonardo M. Ramé martinr...@yahoo.com Cc: freebsd-questions@freebsd.org Date: Saturday, July 25, 2009, 1:56 PM 2009/7/25 Leonardo M. Ramé martinr...@yahoo.com Hi, I'm trying

Re: OpenVPN Client

2009-07-25 Thread Leonardo M . Ramé
. Ramé http://leonardorame.blogspot.com --- On Sat, 7/25/09, chris scott kra...@googlemail.com wrote: From: chris scott kra...@googlemail.com Subject: Re: OpenVPN Client To: Leonardo M. Ramé martinr...@yahoo.com Cc: freebsd-questions@freebsd.org Date: Saturday, July 25, 2009, 1:56 PM 2009/7

Re: Openvpn question

2009-05-10 Thread Octavian Ionescu
Darryl Hoar wrote: Installed Openvpn on my freebsd server. Had to revoke a certificate already. The Openvpn howto guide says to add crl-verify crl.pem to the server config script. Is that the openvpn server config script or the openssl config script (I self generate certificates) ? Been

Re: Openvpn on FreeBSD 7

2008-06-17 Thread Novembre
Steve Quinn letter2steve at yahoo.com writes: I forgot to stress how important the sysctl setting is for net.inet.ip.forwarding The default is disabled (0) and I to could not connect beyond the OpenVPN server I'm editing the page now to include something like this Make sure IP

Re: Openvpn on FreeBSD 7

2008-06-14 Thread Novembre
Andrew Berry andrewberry at sentex.net writes: Hi, I recently upgraded a machine from FreeBSD 6.3 to 7.0. Everything is working fine except for the OpenVPN server. I had it set up with a bridge configuration, but now even with a basic tunnel I can't get successful ping across the

Re: Openvpn on FreeBSD 7

2008-06-11 Thread Nejc Škoberne
Hey, Set it with sysctl inet.inet.ip.forwarding=1 or Alternatively set it by adding this to /etc/sysctl.conf net.inet.ip.forwarding=1 I guess more proper way of doing this is adding: gateway_enable=YES into /etc/rc.conf? I don't have any sysctl custom configuration in my sysctl.conf and

Re: Openvpn on FreeBSD 7

2008-06-11 Thread Andrew Berry
On 10-Jun-08, at 3:02 AM, Nejc Škoberne wrote: Actually I don't think you can do the same thing with a tunnel. You have to use a different IP addresses for the tunnel itself. Have you read the OpenVPN manual? Yes, I should have been clearer: With a tunnel, I can still push routes and DNS, as

Re: Openvpn on FreeBSD 7

2008-06-11 Thread Oliver Fromme
Andrew Berry wrote: Nejc ?koberne wrote: Why are you using TCP anyway? I'd been having problems with UDP and QoS a long time ago. I just hadn't bothered to change it since it was working. Note that using TCP on top of TCP can cause certain problems, especially when packets are

Re: Openvpn on FreeBSD 7

2008-06-10 Thread Nejc Škoberne
Hey, I was using it because I could then assign my laptop the same IP easily through my router (a separate device with DHCP) and also have hostnames pushed through DHCP. But I imagine in my case I could do the same thing with a tunnel. Actually I don't think you can do the same thing with a

Re: Openvpn on FreeBSD 7

2008-06-10 Thread Steve Quinn
--- On Tue, 6/10/08, Nejc Škoberne [EMAIL PROTECTED] wrote: Actually I don't think you can do the same thing with a tunnel. You have to use a different IP addresses for the tunnel itself. Have you read the OpenVPN manual? Yes, I did: 'tcpdump -i tun0'. Nothing shows up on the server,

Re: Openvpn on FreeBSD 7

2008-06-09 Thread Nejc Škoberne
Hey, I recently upgraded a machine from FreeBSD 6.3 to 7.0. Everything is working fine except for the OpenVPN server. I had it set up with a bridge configuration, but now even with a basic tunnel I can't get successful ping across the VPN. I can make a connection from both Linux and OS X but

Re: Openvpn on FreeBSD 7

2008-06-09 Thread Andrew Berry
On 9-Jun-08, at 3:49 PM, Nejc Škoberne wrote: I do. I don't use bridging, though. Do you have a good reason to use it? I was using it because I could then assign my laptop the same IP easily through my router (a separate device with DHCP) and also have hostnames pushed through DHCP. But

Re: openvpn server in a jail

2008-04-21 Thread Bill Moran
In response to Rek Jed [EMAIL PROTECTED]: Hi, Is it possible to run an openvpn server inside of a FreeBSD jail? I couldn't get it to work. The primary problem being that OpenVPN needs to create a tun device, and you can't do that inside a jail. Someone more clever than I may have figured

Re: openvpn server in a jail

2008-04-21 Thread Shelby Cain
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Bill Moran wrote: | | I couldn't get it to work. The primary problem being that OpenVPN needs | to create a tun device, and you can't do that inside a jail. | | Someone more clever than I may have figured out a way to pull it off ... | I'd be

Re: openvpn on freebsd problem

2007-05-27 Thread Benjamin Lutz
On Saturday 26 May 2007 16:39, User Pjf wrote: I install openvpn from port. Follow openvpn.net howto, vpn can connect from client to server, but on client side, I cann't ping server side other machines. On my server side, vpn server and gateway is same one box, I use dev tun, the server has

Re: openvpn on freebsd problem

2007-05-27 Thread Pei Pjf
On Sun, May 27, 2007 at 06:37:35PM +0200, Benjamin Lutz wrote: On Saturday 26 May 2007 16:39, User Pjf wrote: I install openvpn from port. Follow openvpn.net howto, vpn can connect from client to server, but on client side, I cann't ping server side other machines. On my server side,

Re: OpenVPN in QEMU on FreeBSD 6.x ...

2006-02-23 Thread Eric Schuele
Marc G. Fournier wrote: Did some searching tonight, to see what was available as an OSS alternative to VMWare, and came across QEMU ... what I'm interested in doing is running a QEMU vServer that runs FreeBSD inside of it, and will support having outside connections talking to it as a VPN

Re: OpenVPN in QEMU on FreeBSD 6.x ...

2006-02-23 Thread [EMAIL PROTECTED]
On 2/23/06, Eric Schuele [EMAIL PROTECTED] wrote: Marc G. Fournier wrote: Did some searching tonight, to see what was available as an OSS alternative to VMWare, and came across QEMU ... what I'm interested in doing is running a QEMU vServer that runs FreeBSD inside of it, and will

Re: OpenVPN in QEMU on FreeBSD 6.x ...

2006-02-23 Thread Marc G. Fournier
On Thu, 23 Feb 2006, [EMAIL PROTECTED] wrote: On 2/23/06, Eric Schuele [EMAIL PROTECTED] wrote: Marc G. Fournier wrote: Did some searching tonight, to see what was available as an OSS alternative to VMWare, and came across QEMU ... what I'm interested in doing is running a QEMU vServer that

[Fwd: Re: [Openvpn-users] Problems on FreeBSD and MacOSX (buffer space available)]

2005-09-21 Thread Derrick MacPherson
: Derrick MacPherson [EMAIL PROTECTED] To: Sean Leach [EMAIL PROTECTED] Cc: Michael Scheidell [EMAIL PROTECTED], openvpn- [EMAIL PROTECTED] Subject: Re: [Openvpn-users] Problems on FreeBSD and MacOSX (buffer space available) Date: Wed, 21 Sep 2005 16:49:29 -0700 I'm having this same issue, and after

Re: openvpn?

2005-01-20 Thread Tillman Hodgson
On Thu, Jan 20, 2005 at 09:11:10PM -0500, Shawn wrote: I have been attempting to get open vpn working on my freebsd 4.11 Alpha machine. SO Far I have done the following.. I did the make install for /usr/ports/security/openvpn/ Where is uses SSL Im trying to understand the config file for

Re: openvpn?

2005-01-20 Thread Jason Henson
On 01/20/05 21:11:10, Shawn wrote: I have been attempting to get open vpn working on my freebsd 4.11 Alpha machine. SO Far I have done the following.. I did the make install for /usr/ports/security/openvpn/ Where is uses SSL Im trying to understand the config file for /etc/ ssl/openssl.cnf