Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Forward broadcast packets over VPN using Iptables
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Flyswatter
n00b
n00b


Joined: 20 May 2003
Posts: 3
Location: Canada

PostPosted: Wed Sep 03, 2003 9:46 pm    Post subject: Forward broadcast packets over VPN using Iptables Reply with quote

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
View user's profile Send private message
Freak_NL
Apprentice
Apprentice


Joined: 27 Jun 2002
Posts: 261
Location: The Netherlands

PostPosted: Thu Sep 04, 2003 8:16 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
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