[2024-feb-29] Sad news: Eric Layton aka Nocturnal Slacker aka vtel57 passed away on Feb 26th, shortly after hospitalization. He was one of our Wiki's most prominent admins. He will be missed.
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
howtos:network_services:securely_bridging_ethernet [2018/03/04 21:44 (UTC)] – [Introduction] bifferos | howtos:network_services:ethernet_bridging_with_openvpn [2018/03/13 00:46 (UTC)] – [Consolidation] bifferos | ||
---|---|---|---|
Line 216: | Line 216: | ||
I was going to use Slackware for this, but I decided to cheat and use Slax (Bootable CD distro) to save time on the install. | I was going to use Slackware for this, but I decided to cheat and use Slax (Bootable CD distro) to save time on the install. | ||
- | ===== Putting it all together | + | ===== End to End Testing |
So once all four (yes!) virtual machines are up and running, it should be possible (if all is working) to boot the Private Client and get an IP address in the right range, i.e. between 10.0.0.50 and 10.0.0.70. | So once all four (yes!) virtual machines are up and running, it should be possible (if all is working) to boot the Private Client and get an IP address in the right range, i.e. between 10.0.0.50 and 10.0.0.70. | ||
+ | |||
+ | ===== Consolidation ===== | ||
+ | |||
+ | As I explained in the introduction, | ||
+ | |||
+ | First thing to do is switch off (power down) the ' | ||
+ | |||
+ | Next, we need to assign an ip address to our ethernet bridge on the ' | ||
+ | |||
+ | < | ||
+ | # ifconfig br0 10.0.0.1 netmask 255.255.255.0 | ||
+ | </ | ||
+ | |||
+ | < | ||
+ | Now we just need to run a dnsmasq instance on this br0 interface, to serve requests up to the VPN. Much like the ' | ||
+ | |||
+ | < | ||
+ | interface=br0 | ||
+ | dhcp-range=10.0.0.50, | ||
+ | </ | ||
+ | |||
+ | Then it's just a matter of running up dnsmasq: | ||
+ | |||
+ | < | ||
+ | # chmod 755 / | ||
+ | # / | ||
+ | </ | ||
+ | |||
+ | At this point, rebooting the ' | ||