Table Of Contents >
Check NAT translations
How to Check NAT in RRAS |
|
||
If you are performing NAT on your Routing and Remote Access server it is a good idea to check the status of the NAT translations. Here you can see how to perform this check. Video Click here to watch the Video ... |
|||
How did we do it? Please, help us improve this website - post your comments or questions here: //Create form $form_block = ""; if ($_POST[op] != "ds") { // they need to see the form echo "$form_block"; } else if ($_POST[op] == "ds") { // check value of $_POST[sender_name] if ($_POST[sender_name] == "") { $name_err = "Please enter your name! "; $send = "no"; } // check value of $_POST[rcpt_email] if ($_POST[rcpt_email] == "") { $email_err = "Please enter your Friend's e-mail address! "; $send = "no"; } //check value of $_POST[message] if ($send != "no") { // it's ok to send, build mail $to = $_POST[rcpt_email]; $subject = "Re:Comment - natmap" . $_POST[sender_name] . "\r\n"; $mailheaders = "From: " . $_POST[sender_name] . " <" . $_POST[sender_email] . "> \r\n"; $mailheaders .= "Reply-To: $_POST[sender_email]\r\n\r\n"; $msg = "Re:" . $_POST[sender_name] . " - Comment - natmap\r\n"; $msg .= "Sender's Name: $_POST[sender_name]\r\n"; $msg .= "Sender's E-Mail: $_POST[sender_email]\r\n"; $msg .= "Message: $_POST[message]\r\n\r\n"; // send the mail mail($to, $subject, $msg, $mailheaders); //display confirmation to user echo " Thank you! "; } else if ($send == "no") { echo "$name_err"; echo "$email_err"; echo "$message_err"; echo "$form_block"; } } ?> |
PRIVACY NOTE - All information supplied in this form is only used for sending this note and is not saved or used in any other way.