View previous topic :: View next topic |
Author |
Message |
Flyswatter n00b
Joined: 20 May 2003 Posts: 3 Location: Canada
|
Posted: Wed Sep 03, 2003 9:46 pm Post subject: Forward broadcast packets over VPN using Iptables |
|
|
Hi,
I have a vpn setup with a friend using OpenVPN and I was wondering if it is possible to forward a broadcast packet coming in eth0 to another interface, say tun0, using iptables. Some games, like starcraft for instance, don't have a direct connect option, they just broadcast to 255.255.255.255 trying to find a game which I can't figure out how to forward over the tun interface.
Thanks |
|
Back to top |
|
|
Freak_NL Apprentice
Joined: 27 Jun 2002 Posts: 261 Location: The Netherlands
|
Posted: Thu Sep 04, 2003 8:16 am Post subject: |
|
|
You could look into using a tap device for your VPN (instead of tun) and bridge the network on both sides. With the tap device you can tunnel every ethernet package, instead of just IP. OpenVPN supports it. You would then make a bridge out of your local ethernet and your tunnel. This is assuming you have at least "some" bandwidth and a relatively quiet network on both sides.
For as far as the computers behind your gateways are concerned, you are on the same network. |
|
Back to top |
|
|
|
|
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 vote in polls in this forum
|
|