Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 08-31-2008, 01:44 AM   #1
LQ Newbie
Registered: Aug 2008
Posts: 1

Rep: Reputation: 0
OpenVPN cannot connect to remote network behind server

My OpenVPN client connects fine. I can reach the VPN Server on both the OpenVPN TUN interface and eth0. The router on eth0 is aware of the network for OpenVPN ( It forwards all traffic to the OpenVPN server. The OpenVPN server has no firewall and has IPV4 forwarding enabled. TCPDUMP on both the client and the server shows a ping request but no response.

Any ideas?
Old 08-31-2008, 05:27 AM   #2
LQ Guru
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 671Reputation: 671Reputation: 671Reputation: 671Reputation: 671Reputation: 671
Here is the openvpn's howto:

They recommend starting openvpn from the command line instead of a service before the ping test.
To simplify troubleshooting, it's best to initially start the OpenVPN server from the command line (or right-click on the .ovpn file on Windows), rather than start it as a daemon or service:

    openvpn [server config file] 

A normal server startup should look like this (output will vary across platforms):

    Sun Feb  6 20:46:38 2005 OpenVPN 2.0_rc12 i686-suse-linux [SSL] [LZO] [EPOLL] built on Feb  5 2005
    Sun Feb  6 20:46:38 2005 Diffie-Hellman initialized with 1024 bit key
    Sun Feb  6 20:46:38 2005 TLS-Auth MTU parms [ L:1542 D:138 EF:38 EB:0 ET:0 EL:0 ]
    Sun Feb  6 20:46:38 2005 TUN/TAP device tun1 opened
    Sun Feb  6 20:46:38 2005 /sbin/ifconfig tun1 pointopoint mtu 1500
    Sun Feb  6 20:46:38 2005 /sbin/route add -net netmask gw
    Sun Feb  6 20:46:38 2005 Data Channel MTU parms [ L:1542 D:1450 EF:42 EB:23 ET:0 EL:0 AF:3/1 ]
    Sun Feb  6 20:46:38 2005 UDPv4 link local (bound): [undef]:1194
    Sun Feb  6 20:46:38 2005 UDPv4 link remote: [undef]
    Sun Feb  6 20:46:38 2005 MULTI: multi_init called, r=256 v=256
    Sun Feb  6 20:46:38 2005 IFCONFIG POOL: base= size=62
    Sun Feb  6 20:46:38 2005 IFCONFIG POOL LIST
    Sun Feb  6 20:46:38 2005 Initialization Sequence Completed
Pay particular attention to Since you are using a bridge instead of routing subnets, look at the part where the tun config line is commented out and the comment is removed from the "tap" line when setting up the interface.

Last edited by jschiwal; 08-31-2008 at 05:44 AM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
OpenVPN client has not default gateway when connect to OpenVPN server sailershen Linux - Security 3 03-04-2010 03:20 AM
OpenVPN Bridge... Clients cant ping server or network ligerous Linux - Networking 1 05-24-2008 07:59 PM
openvpn fails to connect to its server over a gprs modem ppp connection nass Linux - Networking 0 05-07-2008 04:41 PM
Routing Between OpenVPN Clients and Remote Network... sancho Linux - Networking 2 12-14-2007 11:28 AM
Remote connect to network through speedtouch ADSL hobz Linux - Networking 4 01-21-2005 11:13 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:13 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration