[OpenVPN home] [Date Prev] [Date Index] [Date Next]
[OpenVPN mailing lists] [Thread Prev] [Thread Index] [Thread Next]
Google
 
Web openvpn.net

Re: [Openvpn-users] TUN and TAP on same server?


  • Subject: Re: [Openvpn-users] TUN and TAP on same server?
  • From: "siegfried" <siegfried@xxxxxxxxxxx>
  • Date: Fri, 4 Aug 2006 07:13:57 -0600

>
>
>>
>>siegfried wrote:
>>> Thanks for that info. 
>>> 
>>> Why would not I have to do something special to keep the two instances
>>> (one in bridging mode, one in route mode)
>>> of openvpn from fighting over the same port? Would they not be both
>>> trying to use port 1194?
>>
>>You'd need to specify a different port for each, yes. See the "--port" 
>>directive.
>>
>
>Can I not just say "port 1195" in my routing mode configuration file?
>
>When I fire up this additional instance of openvpn on my linksys
>openwrt router and start the corresponding routing mode client on my
>notebook at a wireless cafe (where the router is at home) it looks
>good. On the notebook I see both tun and tap devices with good proper
>looking ip addresses. Specifically, I see a tun0 for 10.169.6.6.
>
>I then abort the bridging instance of openvpn client on my notebook and (of
>course) the tap device disappears from the ifconfig display.  
>
>I can ping myself (10.169.6.6) and the router (10.169.6.1) but I
>cannot ping any of the other lan on my lan at home. Why not? My
>desktop machine is at 10.169.1.8 and cannot be pinged in routing mode. Why
>not?

I forgot to mention that I added the following line:

push "route 10.169.1.0 255.255.255.0"

should this not allow me to ping 10.169.1.8?

I also have

Server 10.169.6.0 255.255.255.0

And I commented out the "server-bridge" command.

>
>Thanks,
>Siegfried
>
>

______________________
OpenVPN mailing lists
https://lists.sourceforge.net/lists/listinfo/openvpn-users


Warning: require_once(../../../archive_common.php) [function.require-once]: failed to open stream: No such file or directory in /home/openvpn/domains/openvpn.net/public_html/archive/openvpn-users/2006-08/msg00059.html on line 222

Fatal error: require_once() [function.require]: Failed opening required '../../../archive_common.php' (include_path='/usr/local/lib/php') in /home/openvpn/domains/openvpn.net/public_html/archive/openvpn-users/2006-08/msg00059.html on line 222