It is currently 23.10.2017 18:44


All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: OpenVPN bridging not passing broadcast packets
PostPosted: 24.02.2010 13:16 
DES
DES

Joined: 24.02.2010 13:01
Posts: 2
Hi all,

I am new to OpenVPN and I am trying to setup OpenVPN in bridged mode to allow my brother (who is at school) to connect so we can play multi-player LAN games. I currently use a PPTP vpn server modified to forward broadcast packets (so games show in server lists). However I would like to use openvpn as I suspect it is faster and more secure.

Currently I have the VPN working, he can connect and ping all hosts on my network (he can copy files as well) however no LAN games appear in server browsers (for a number of different games).

Hopefully someone with a bit more know-how can look at my config/setup and see where I have gone wrong?

here's my server config:

local 192.168.7.250
port 1194
proto udp
dev tap
dev-node tap-bridge
ca "C:\\Program Files\\OpenVPN\\config\\ca.crt"
cert "C:\\Program Files\\OpenVPN\\config\\server.crt"
key "C:\\Program Files\\OpenVPN\\config\\server.key" # This file should be kept secret
dh "C:\\Program Files\\OpenVPN\\config\\dh1024.pem"
ifconfig-pool-persist ipp.txt
server-bridge 192.168.7.250 255.255.255.0 192.168.7.75 192.168.7.90
push "dhcp-option DNS 192.168.7.1"
push "dhcp-option WINS 192.168.7.1"
client-to-client
duplicate-cn
keepalive 30 120
cipher BF-CBC # Blowfish (default)
comp-lzo
persist-key
status openvpn-status.log
log openvpn.log
verb 3
mute 20


Also I've attached a simple visio pdf of the network.

Thanks to anyone who can shed some light!


Attachments:
File comment: Network Visio Diagram
openvpn.zip [15.33 KiB]
Downloaded 124 times
Top
Offline Profile  
Reply with quote  
 Post subject: Re: OpenVPN bridging not passing broadcast packets
PostPosted: 24.02.2010 21:45 
openvpn.eu Admin
openvpn.eu Admin
User avatar

Joined: 23.01.2006 08:05
Posts: 3321
Location: near Vienna
Hello

There are two kind of broadcasts:
1. global broadcasts use the address 255.255.255.255. AFAIK it's not recommended to use this address anymore. Todays Linux doesn't allow it by default.
2. subnet-specific broadcasts will use an address like 192.168.1.255 or 10.255.255.255 depending on the subnet mask.

Some Games won't broadcast on all devices. Few games will use the first network interface. Others will skip "strange" interfaces like virtual adapters.

You may try to set the virtual adapter as the first adapter in the network configuration in Windows.

_________________
regards,
note
Please take a look at our rules. Besucht mal unsere Wiki !


Top
Offline Profile  
Reply with quote  
 Post subject: Re: OpenVPN bridging not passing broadcast packets
PostPosted: 25.02.2010 13:22 
DES
DES

Joined: 24.02.2010 13:01
Posts: 2
thanks note,

I did try moving the openvpn TAP adapter to the top of the network interface list on the client side...still no go.

My understanding though is that if my client XP machine is hosting (on local LAN only 1 ethernet adapter) any broadcast packets from that machine would be sent to all other ethernet devices in that subnet (including my bridged adapter) thus when the bridged adapter receives the broadcast it would travel down the TAP adapter as well (and thus down to my client side...

Interestingly if I run wireshark on the client TAP adapter while connected I do get some broadcast traffic (BROWSER elections, ARP traffic). I cannot ping the broadcast address (192.168.7.255) from the client however (which I can do from any local LAN machine).

Any further thoughts? Would it help if I forced all traffic out my local side when connected to the openvpn?

Thanks!


Top
Offline Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ]  Moderator: Moderators

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Theme created StylerBB.net