Hi all,

today I experimented with OpenVPN in bridged mode using a Debian NSLU2
w/ one ethernet interface, behind a NAT router.
I followed the HowTo and the bridge part at
<http://openvpn.net/index.php/documentation/miscellaneous/ethernet-bridging.html>.
So far, so good: As soon as the bridge was initialized, the box was
unreachable from WAN, for all services. After hours of swearing, I
found out the script and the howto miss an important point for people
with devices with only one ethernet connection which also provides
Internet access: Creating a bridge interface apparently kills off the
routing information, so in order to reach anything which is NOT in
your subnet (or be reachable from anything OUTSIDE your subnet), one
has to run "route add default gw 172.16.1.1" before anything will
work. Can someone with doc write access please add this?
I for my part will publish my network setup and my steps on my blog,
so it will at least be indexed by google ;)

Regards,
Marco

PS: The push "redirect-gateway def1 bypass-dhcp" stuff, as specified
in the sample server.conf, also doesn't work with windows clients
(which are then multi-homed): A traceroute still showed the open
hotspot AP as first hop, not the OpenVPN bridge or the NSLUs
gateway... is this a windows bug?
-- 
VMSoft GbR
Nabburger Str. 15
81737 München
Geschäftsführer: Marco Schuster, Volker Hemmert
http://vmsoft-gbr.de

Reply via email to