Technical data

4. Packages
cable nets. DNSMASQ DHCP server’s settings have to be changed to achieve that. Package
advanced_networking will be needed as well. Settings in base.txt: IP_NET_1 is the cable LAN
and IP_NET_2 is the WLAN.
IP_NET_N='2'
IP_NET_1='192.168.3.254/24'
IP_NET_1_DEV='br0'
IP_NET_2='192.168.4.254/24'
IP_NET_2_DEV='eth2'
Set DHCP range to suit your needs. For IP_NET_2 two settings are mandatory:
DHCP_RANGE_2_DNS_SERVER1='none'
DHCP_RANGE_2_NTP_SERVER='none'
DHCP_RANGE_2_GATEWAY='none'
Settings in advanced_networking.txt:
OPT_BRIDGE_DEV='yes'
BRIDGE_DEV_BOOTDELAY='yes'
BRIDGE_DEV_N='1'
BRIDGE_DEV_1_NAME='br'
BRIDGE_DEV_1_DEVNAME='br0'
BRIDGE_DEV_1_DEV_N='1'
BRIDGE_DEV_1_DEV_1_DEV='eth0'
OpenVPN Option Router WLAN-Client
OPENVPN_4_NAME=’wlan1’
OPENVPN_4_LOCAL_HOST=’192.168.4.254’ remote 192.168.4.254
OPENVPN_4_LOCAL_PORT=’20001’ rport 20001
OPENVPN_4_SECRET=’wlan1.secret’ secret wlan1.secret
OPENVPN_4_TYPE=’bridge’ dev tap
OPENVPN_4_BRIDGE=’br’
OPENVPN_4_RESTART=’never’
OPENVPN_4_MUTE_REPLAY_WARNINGS=’yes’
comp-lzo
persist-tun
persist-key
ping-timer-rem
ping-restart 60
proto udp
tun-mtu 1500
fragment 1300
mssfix
Table 4.17.: OpenVPN Securing a WLAN.
4.14.9. Additional Links On OpenVPN
At the end here are some links on OpenVPN configuration:
http://openvpn.net
http://de.wikipedia.org/wiki/OpenVPN
http://openvpn.se/
http://arnowelzel.de/wiki/de/fli4l/openvpn
184