Page 1 of 1

Mikrotik VPN for LAN gaming

Posted: Wed Dec 09, 2009 1:13 am
by markrudling
Hi guys

Looking for some advice from a Mikrotik wizard. I am trying to setup a VPN that will allow me to play games with a few of my mates, but using the games LAN functionality.

I have setup the VPN and they can dial in. Once connected, they can ping my computer, access shares etc. However, when searching for the LAN gaming that I’m hosting, they cannot see it, and vice versa. Some searching has told me that this is because the VPN client receives a subnet mask of 255.255.255.255, hence cannot successfully hear or send the games broadcast.

I believe there is a way of routing these broadcasts, but not sure how, and help?

We have tried a few VPN applications that did not work , but I would like this to work via my Mikrotik

Re: Mikrotik VPN for LAN gaming

Posted: Wed Dec 09, 2009 1:49 am
by Chupaka
try to create a bridge, set it in PPP Profile, look at the result...

Re: Mikrotik VPN for LAN gaming

Posted: Mon Dec 21, 2009 2:17 pm
by markrudling
Sorry, very late reply.

Im using the mikrotik to dial a PPPOE connection, where i get my internet from.

How do i create a bridge between the LAN interface, and the VPN connection?

Havent bridged before, so if you could explain please.

Re: Mikrotik VPN for LAN gaming

Posted: Mon Dec 21, 2009 3:27 pm
by Pada
mark, the reason why they can't see the LAN games, is that their LAN games are broadcasting on the wrong interface. They have to change the order of the network interfaces such that the VPN interface is first.

In Windows XP this is how you change the order:
  1. Open My Network Places>View Network Connection or Start>Settings>Control Panel>Network and Dial-up Connections.
    On the Advanced menu, click Advanced Settings.
    On the Adapters and Bindings tab, click the connection that is you want to be the first connection in the Connections box.
    Click the Up arrow at the right-side of the box until it is the first connection in the list, and then click OK.
You have to restart your PC for the change to take effect. If you have Vista or Windows 7, the instructions should be fairly the same - otherwise just search Google :)

If the games support the option to connect directly to an IP address, you don't need to worry about the network interface order.

Re: Mikrotik VPN for LAN gaming

Posted: Mon Dec 21, 2009 3:34 pm
by Chupaka
I have setup the VPN and they can dial in
Im using the mikrotik to dial a PPPOE connection, where i get my internet from.
aren't these different parts of your setup?.. I was telling about dial-in, not your Internet connection...

Re: Mikrotik VPN for LAN gaming

Posted: Mon Dec 21, 2009 3:59 pm
by markrudling
As I understand it, when playing a lan game, the game broadcasts on 255.255.255.0, however the vpn puts you on a 255.255.255.255 network, hence the game cannot recive the broadcast.

I belive the bridge will foward on these broadcast packets.

How would i setup a bridge? I assume i will need to bridge my LAN interface, where im connected, and the VPN connection. Could someone give me pointers on how to do this?

Re: Mikrotik VPN for LAN gaming

Posted: Mon Dec 21, 2009 4:11 pm
by Chupaka
try to create a bridge, set it in PPP Profile, look at the result...
also, add LAN to that bridge