4 VoCore
Benedikt Kristinsson edited this page 2020-05-08 22:42:46 +02:00

I'm using a vocore as a vpn'd wifi access point in one location. the wifi antenna is tiny and the reception is according to that, but it works great short range and is extremely stable.

allow wifi clients to talk to each other

By default the openwrt install will isolate the wifi. the setting to un-isolate it does not work on its own, since it depends on another setting (enabling multicast to unicast), but setting that will implicitly un-isolate the network.

Change /etc/config/network, add the last option line:

config interface 'lan'
	option macaddr '' # redacted
	option type 'bridge'
	option proto 'static'
	option ipaddr '192.168.61.1'
	option netmask '255.255.255.0'
	option ip6assign '60'
	option ifname 'eth0.1'
	option multicast_to_unicast '0'  # add this setting

Without this things like Chromecast will not work.

use openvpn as a normal nat exit gateway

run this as root on the shell

uci set firewall.@zone[1].device="tun0"
uci commit firewall
service firewall restart   

that will assign the vpn interface to the wan-zone in the firewall