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

[Openvpn-users] can ping when linux server is tun, but not when it's tap. why?


  • Subject: [Openvpn-users] can ping when linux server is tun, but not when it's tap. why?
  • From: Wallace Yang <yangres2002@xxxxxxxxxx>
  • Date: Thu, 8 Feb 2007 10:44:41 -0500 (EST)

Dear OpenVPN users:

I'm new to openvpn.  I have two computers on my LAN
behind a firewall to the internet.  I tried a linux
TUN openvpn server, and it works with a Win2000
openvpn client.  However, when I use a linux TAP
openvpn server instead, both can connect, but they
can't ping.  After the server is connected, when I
type ifconfig, only eth0 and lo are listed.  Where as
if I use linux TUN, I see a tun device listed.

The following is my server.conf:
============================================
port 1194

proto udp

dev tap

ca /etc/openvpn/easy-rsa/keys/ca.crt
cert /etc/openvpn/easy-rsa/keys/server.crt
key /etc/openvpn/easy-rsa/keys/server.key  

dh /etc/openvpn/easy-rsa/keys/dh1024.pem

ifconfig-pool-persist ipp.txt

server-bridge 10.10.0.83 255.255.255.0 10.10.0.52
10.10.0.53

keepalive 10 120

comp-lzo

persist-key
persist-tun

status openvpn-status.log

verb 3
==============================================

On the client side, connection "initialization is
completed" without any errors.  The following client
configuration file was used:

===================================================
client



dev tap


proto udp



remote 10.10.10.83 1194


resolv-retry infinite



nobind




persist-key

persist-tun



ca "C:\\Program
Files\\OpenVPN\\easy-rsa\\keys-lin\\ca.crt"

cert "C:\\Program
Files\\OpenVPN\\easy-rsa\\keys-lin\\client1.crt"

key "C:\\Program
Files\\OpenVPN\\easy-rsa\\keys-lin\\client1.key"



comp-lzo



verb 3

=====================================================
Thank you for your help.

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