This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
de:openwrt_bonding [2013/03/10 23:59] – [OpenVPN] admin | de:openwrt_bonding [Unknown date] (current) – removed - external edit (Unknown date) 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== OpenWRT ADSL Bonding / Link Aggregation ====== | ||
- | Available or given Hardware and Software: | ||
- | |||
- | * MacMini 2006 (local) | ||
- | * Extended with 2x Apple USB-Ethernet Adapter | ||
- | * KVM virtualized Server (external) | ||
- | * 2x AVM FritBox 3170 (ADSL Modem) | ||
- | |||
- | |||
- | Download OpenWRT x86 - for MacMini and KVM (Server install) | ||
- | |||
- | https:// | ||
- | |||
- | ===== Install on MacMini 2006 - using OS X (local) ===== | ||
- | |||
- | Download OpenWRT: | ||
- | |||
- | wget https:// | ||
- | |||
- | Unzip OpenWRT: | ||
- | |||
- | gunzip openwrt-x86-generic-combined-ext4.img.gz | ||
- | |||
- | Determine disk number by using DiskUtil. Open DiskUtility select Harddisk and press " | ||
- | |||
- | Look for something like " | ||
- | |||
- | Write *.img to Disk: | ||
- | |||
- | sudo dd bs=1m if=openwrt-x86-generic-combined-ext4.img of=/ | ||
- | |||
- | ==== Network setup (local) ==== | ||
- | |||
- | < | ||
- | |||
- | / | ||
- | |||
- | Local Network serving ip addresses for local machines | ||
- | |||
- | config interface ' | ||
- | option ifname ' | ||
- | option type ' | ||
- | option proto ' | ||
- | option netmask ' | ||
- | option ipaddr ' | ||
- | option gateway ' | ||
- | option dns ' | ||
- | |||
- | Internet connection 1 | ||
- | |||
- | config interface ' | ||
- | option proto ' | ||
- | option ifname ' | ||
- | option ipaddr ' | ||
- | |||
- | Internet connection 2 | ||
- | |||
- | config interface ' | ||
- | option proto ' | ||
- | option ifname ' | ||
- | option ipaddr ' | ||
- | |||
- | | XXX.XXX.XXX.XXX | Static ip for " | ||
- | |||
- | ===== Install on Server using KVM (external) ===== | ||
- | |||
- | Download and extract image in corresponding folder: | ||
- | |||
- | cd / | ||
- | wget https:// | ||
- | gunzip openwrt-x86-generic-combined-ext4.img.gz | ||
- | |||
- | Create new virtual machine and select image in / | ||
- | |||
- | ==== Network setup (external) ==== | ||
- | |||
- | change settings in / | ||
- | |||
- | config interface lan | ||
- | option ifname eth0 | ||
- | option type bridge | ||
- | option proto static | ||
- | option ipaddr 188.xxx.xxx.xxx | ||
- | option netmask 255.255.255.XXX | ||
- | option gateway 188.xxx.xxx.xxx | ||
- | |||
- | | **ipaddr** | external ip provided by your hoster e.g. Hetzner | | ||
- | | **gateway** | IP of KVM Bridge e.g. br0 | | ||
- | |||
- | ===== Install required software on both sides (local & external) ===== | ||
- | |||
- | opkg update | ||
- | opkg install openvpn ca-certificates kmod-tun kmod-bonding | ||
- | |||
- | |||
- | ===== OpenVPN ===== | ||
- | |||
- | https:// | ||
- | |||
- | More advanced guide | ||
- | http:// |