Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 05-14-2008, 11:41 PM   #1
LQ Newbie
Registered: May 2008
Posts: 1

Rep: Reputation: 0
OpenVPN Bridge... Clients cant ping server or network

Hey everyone,
What I am trying to do is configure OpenVPN in Bridge Mode so I can allow clients to connect to play LAN games over the internet and access files on machines on my network from the internet. I would also like all clients to be able to access the internet through the VPN Connection.

I used the script to bridge from OpenVPN to bridge eth0 ( with tap0 ( ifconfig verifies this.

So far I can get the clients to connect to the OpenVPN server but the clients are unable to access the OpenVPN server or any other servers on the Local network for ping or even just file sharing.

IP Address of the local network: 192.168.1.x
IP Address for the Physical Ethernet Card in the OpenVPN Server:
IP Address of the OpenVPN Server:
IP Address pool for OpenVPN Clients:
The OpenVPN Server is running on Fedora 8 OS.

Here is my server config:
port 1195
proto udp
dev tap0
ca keys/ca.crt
cert keys/server.crt
key keys/server.key
dh keys/dh1024.pem
;mode server
keepalive 10 120
max-clients 10
status openvpn-status.log
verb 3
push "redirect-gatway def1"
push "dhcp-option DNS"
Client Config:
dev tap
proto udp
remote My IP Address 1195
resolv-retry infinite
ca ca.crt
cert client.crt
key client.key
ns-cert-type server
verb 3
Am I missing something in the configuration file or forgetting to do something? I have been trying for a week to get this to work with no luck TIA
Old 05-24-2008, 06:59 PM   #2
Registered: Jan 2005
Location: germany
Distribution: suse, opensuse, debian, others for testing
Posts: 307

Rep: Reputation: 33
so you want to span _one_ subnet over 2 physically separated sites right ?

site A (subnet 1) .............server A ---------internet------------ server B ..... site B (subnet 1)

or just let single clients from somewhere gain access to your 192.168.1.x network ?

I think bridged setup only makes sense if all ips are in the same subnet and thus avoid having to set additional routing tables. you should have a look at the routing tables and try which hosts can be pinged from where.

Last edited by rtspitz; 05-24-2008 at 07:00 PM.


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
Routing Between OpenVPN Clients and Remote Network... sancho Linux - Networking 2 12-14-2007 10:28 AM
OpenVPN - Can't ping private network chabam Linux - Networking 2 11-27-2007 07:35 AM
Cannot ping OpenVPN client after server restart skubik Linux - Networking 3 10-15-2007 01:42 PM
OpenVPN bridge problem acetone802000 Linux - Networking 2 05-18-2007 04:31 AM
openvpn server and client cannot ping both direction odie_chan Linux - Networking 0 07-08-2006 12:06 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:03 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
Open Source Consulting | Domain Registration