* gluon-core, gluon-client-bridge: introduce new firewall zone: local_client * gluon-core: put clients in local_client zone, introduce drop-zone, set dns-rules and zones * gluon-respondd: allow respondd on mesh * gluon-status-page-api: allow http input on mesh and client
		
			
				
	
	
		
			13 lines
		
	
	
		
			231 B
		
	
	
	
		
			Lua
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			231 B
		
	
	
	
		
			Lua
		
	
	
		
			Executable File
		
	
	
	
	
| #!/usr/bin/lua
 | |
| local uci = require('simple-uci').cursor()
 | |
| 
 | |
| uci:section('firewall', 'rule',  'mesh_l3roamd', {
 | |
| 	name = 'mesh_l3roamd',
 | |
| 	src = 'mesh',
 | |
| 	dest_port = '5523',
 | |
| 	proto = 'udp',
 | |
| 	target = 'ACCEPT',
 | |
| })
 | |
| 
 | |
| uci:save('firewall')
 |