mirror of
				https://github.com/Ysurac/openmptcprouter-feeds.git
				synced 2025-03-09 15:40:03 +00:00 
			
		
		
		
	Add enable option for glorytun
This commit is contained in:
		
							parent
							
								
									56fe7f0819
								
							
						
					
					
						commit
						f3f3d49fab
					
				
					 2 changed files with 6 additions and 0 deletions
				
			
		|  | @ -10,6 +10,7 @@ local basicParams = { | |||
| 	-- Widget, Name, Default(s), Description | ||||
| 	-- | ||||
| 					 | ||||
| 	{ Flag,"enable",0, translate("Enable") }, | ||||
| 	{ Value,"port",65001, translate("TCP port # for both local and remote") }, | ||||
| 	{ Value,"dev","tun0", translate("Interface name") }, | ||||
| 	{ Value,"host","vpnserver.example.org", translate("Remote host name or ip address") }, | ||||
|  |  | |||
|  | @ -8,6 +8,7 @@ config glorytun_recipe servertcp | |||
| 	option localip			"192.168.99.1" | ||||
| 	option remoteip			"192.168.99.2" | ||||
| 	option proto			"tcp" | ||||
| 	option enable			"0" | ||||
| 
 | ||||
| config glorytun_recipe clienttcp | ||||
| 	option _description		"Simple TCP client configuration" | ||||
|  | @ -19,6 +20,7 @@ config glorytun_recipe clienttcp | |||
| 	option localip			"192.168.99.2" | ||||
| 	option remoteip			"192.168.99.1" | ||||
| 	option proto			"tcp" | ||||
| 	option enable			"0" | ||||
| 
 | ||||
| config glorytun_recipe serverudp | ||||
| 	option _description		"Simple UDP server configuration" | ||||
|  | @ -31,6 +33,7 @@ config glorytun_recipe serverudp | |||
| 	option remoteip			"192.168.99.2" | ||||
| 	option proto			"udp" | ||||
| 	option mtuauto			"1" | ||||
| 	option enable			"0" | ||||
| 
 | ||||
| config glorytun_recipe clientudp | ||||
| 	option _description		"Simple UDP client configuration" | ||||
|  | @ -43,3 +46,5 @@ config glorytun_recipe clientudp | |||
| 	option remoteip			"192.168.99.1" | ||||
| 	option proto			"udp" | ||||
| 	option mtuauto			"1" | ||||
| 	option enable			"0" | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue