<?php

	//--------------------------------------------------------------------------------------------------------
	// On prolonge la session
	//--------------------------------------------------------------------------------------------------------
	include("../M0/session_start.php") ;

	include("../M0/communs_en_tete_HTML.html") ;

?>

<font size="1" face="Arial, Helvetica, sans-serif">&nbsp;</font>

<table align="center" width="<?php echo $tables_width ; ?>"  border="2" cellspacing="2" cellpadding="2" bordercolor="#ffffff" bgcolor="#000033">	
	
	<?php
		include('../M0/titre_jaune.php');
		$sous_menu_titre = "-&nbsp;&nbsp;sondes AQCM05&nbsp;&nbsp;-";
		affiche_titre_jaune_simple($sous_menu_titre);
	?>
	
</table>

<font size="1" face="Arial, Helvetica, sans-serif">&nbsp;</font>

<?php
	include('../M0/display_user_only.php'); 
?>

<div align="center">
<form name="form2" method="post" action="./AQCM_create_wireguard_peer.php">
	
	<table width="<?php echo($tables_width); ?>" border="2" cellspacing="2" cellpadding="2" bordercolor="#ffffff" bgcolor="#000033">	
		
		<tr valign="middle" bordercolor="#666666"> 
			<td align="center">
			
				<table width="90%" align="center" >
					<tr valign="middle" bordercolor="#666666"> 
						<td align="left">
							La création d'un nouveau « peer administrateur » pour le tunnel VPN WIREGUARD est réservé aux administrateurs
							suffisamment sûrs de leur niveau d'expertise.<br><br>
						</td>
					</tr>
				</table>
				
				<table width="98%" align="center" >

					<tr>
						<td align="right"  width="35%">
							<label>peer name :&nbsp;</label>
						</td>
						<td align="left">
							<input type="text" id="Peer_Name" name="Peer_Name" value="?" maxlength="20" size="24" class="txtField" >
						</td>
					</tr>
					
					<tr>
						<td align="right"  width="35%">
							<label>peer address :&nbsp;</label>
						</td>
						<td align="left">
							<input type="text" id="Peer_Address" name="Peer_Address" value="10.0.0.xxx" maxlength="20" size="24" class="txtField" >
						</td>
					</tr>
					
				</table>
				
				<div><p>

				<table width="98%" align="center">
					<tr>
						<td align="center" colspan="2">
						
								<input type="submit" value="créer le fichier de configuration wireguard" class="button_A" >
						
						</td>
					</tr>
				</table>
				
				</p></div>
				
			</td>
		</tr>

	</table>

	
</form>
</div>
			
<?php 
	include('../M0/communs_bouton_retour_index_M4.html'); 
?>

<script>
function SetDefaultsValues() {
  document.getElementById("aqcm_SMTP_Host").value = "smtp.gmail.com";
  document.getElementById("aqcm_SMTP_Port").value = "465";
  document.getElementById("aqcm_SMTP_SMTPSecure").value = "ssl";
  document.getElementById("aqcm_SMTP_Username").value = "mon_adresse@gmail.com";
  document.getElementById("aqcm_SMTP_Password").value = "12345678";
  document.getElementById("aqcm_SMTP_setFrom").value = "adresse_expediteur@gmail.com";
  document.getElementById("aqcm_SMTP_addBCC").value = "adresse_en_copie@gmail.com";
}
</script>

</body>
</html>