[Commotion-discuss] Throwing sticks at mesh over secondary port Nanostation m2
Anderson Walworth
anderson at alliedmedia.org
Thu Apr 30 15:48:17 EDT 2015
Hey friends.
I was trying to enable mesh over Ethernet the secondary pass-through port
on a Nano M2 w/ commotion 1.1 with a Loco m5 on the secondary port.
Pass-through power is already enabled.
We have some routers in this configuration in detroit meshing over wireless
and I always wondered if it was possible to mesh over the ethernet via the
passthrough .
I need some guidance I think with the firewall config (attached)
and and possibly in the new interface creation
ENABLE MESHING OVER PASS-THROUGH/SECONDARY PORT
* Router 1 Nanostation *- pass-through power already on
advanced > additional network interfaces>
check the “will you be meshing with other commotion devices” box
10.1.0.4
255.255.255
click save and apply
Go to Advanced > Network interfaces> Add new interface>
named : EthernetPassThru01
*assign static ip *
select "eth1"
* submit*
10.1.0.5
255.255.255.0
add to proper firewall zone in firewall settings ?
select : wan and commotionwireless_46net?
Edit /etc/config/firewall. ?
used scp to edit and replace the original config file...
Copy and re-past every rule that says 'wan' in the same file
now on the newly copied rules replace 'wan' with 'EthernetPassThru01'
(see attached)
*Router 2 Loco M2 plugged into secondary/passthrough*
advanced > additional network interfaces>
check the “will you be meshing with other commotion devices” box
10.1.0.6
255.255.255
Thanks!
Anderson Walworth
--
Allied Media Projects
Detroit Digital Justice Coalition
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.chambana.net/pipermail/commotion-discuss/attachments/20150430/31718316/attachment.html>
-------------- next part --------------
config defaults
option syn_flood '1'
option input 'DROP'
option output 'ACCEPT'
option forward 'DROP'
config zone
option name 'EthernetPassThru01'
option input 'DROP'
option output 'ACCEPT'
option forward 'DROP'
option masq '1'
option network 'EthernetPassThru01'
config zone
option name 'lan'
option input 'ACCEPT'
option output 'ACCEPT'
option forward 'DROP'
option network 'lan'
config zone
option name 'mesh'
option input 'ACCEPT'
option output 'ACCEPT'
option forward 'DROP'
option network 'wan commotionwireless_46net mesh EthernetPassThru01'
config zone
option name 'wan'
option input 'DROP'
option output 'ACCEPT'
option forward 'DROP'
option masq '1'
option network 'wan'
config zone
option name 'vpn'
option input 'DROP'
option output 'ACCEPT'
option forward 'DROP'
option network 'vpn'
config forwarding
option src 'mesh'
option dest 'mesh'
config forwarding
option src 'lan'
option dest 'lan'
config forwarding
option src 'mesh'
option dest 'wan'
config forwarding
option src 'mesh'
option dest 'EthernetPassThru01'
config forwarding
option src 'lan'
option dest 'mesh'
config forwarding
option src 'lan'
option dest 'EthernetPassThru01'
config forwarding
option src 'lan'
option dest 'wan'
config forwarding
option src 'mesh'
option dest 'lan'
config rule
option src 'wan'
option dest_port '22'
option target 'ACCEPT'
option proto 'tcp'
config rule
option src 'EthernetPassThru01'
option dest_port '22'
option target 'ACCEPT'
option proto 'tcp'
config rule
option src 'mesh'
option dest_port '22'
option target 'ACCEPT'
option proto 'tcp'
config rule
option src 'lan'
option dest_port '22'
option target 'ACCEPT'
option proto 'tcp'
config rule
option src 'vpn'
option dest_port '22'
option target 'ACCEPT'
option proto 'tcp'
config rule
option src 'mesh'
option dest_port '53'
option target 'ACCEPT'
option proto 'tcpudp'
config rule
option src 'lan'
option dest_port '53'
option target 'ACCEPT'
option proto 'tcpudp'
config rule
option src 'lan'
option dest_port '80'
option target 'ACCEPT'
option proto 'tcp'
config rule
option src 'EthernetPassThru01'
option dest_port '80'
option target 'ACCEPT'
option proto 'tcp'
config rule
option src 'wan'
option dest_port '80'
option target 'ACCEPT'
option proto 'tcp'
config rule
option src 'vpn'
option dest_port '80'
option target 'ACCEPT'
option proto 'tcp'
config rule
option src 'lan'
option dest_port '443'
option target 'ACCEPT'
option proto 'tcp'
config rule
option src 'vpn'
option dest_port '443'
option target 'ACCEPT'
option proto 'tcp'
config rule
option src 'lan'
option dest_port '8082'
option target 'ACCEPT'
option proto 'tcp'
config rule
option src 'mesh'
option dest_port '698'
option target 'ACCEPT'
option proto 'udp'
config rule
option src 'wan'
option dest_port '698'
option target 'ACCEPT'
option proto 'udp'
config rule
option src 'EthernetPassThru01'
option dest_port '698'
option target 'ACCEPT'
option proto 'udp'
config rule
option src 'lan'
option dest_port '698'
option target 'ACCEPT'
option proto 'udp'
config rule
option src 'mesh'
option proto 'icmp'
option target 'ACCEPT'
config rule
option src 'lan'
option proto 'icmp'
option target 'ACCEPT'
config rule
option src 'wan'
option proto 'icmp'
option target 'ACCEPT'
config rule
option src 'EthernetPassThru01'
option proto 'icmp'
option target 'ACCEPT'
config rule
option src 'vpn'
option proto 'icmp'
option target 'ACCEPT'
More information about the Commotion-discuss
mailing list