<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<html lang="en">
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<title>
GitLab
</title>



<style>img {
max-width: 100%; height: auto;
}
</style>
</head>
<body>
<div class="content">
<h3>
Imran Hussain pushed to branch master
at <a href="https://projects.sucs.org/sucs/sucs">sucs / SUCS</a>
</h3>
<h4>
Commits:
</h4>
<ul>
<li>
<strong><a href="https://projects.sucs.org/sucs/sucs/commit/e364c11a4bbf32206358ca3f8692c2204fab99eb">e364c11a</a></strong>
<div>
<span>by Imran Hussain</span>
<i>at 2018-05-01T19:29:36+01:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Don't force stuff going to our own webserver from ourselves through the proxy
</pre>
</li>
</ul>
<h4>1 changed file:</h4>
<ul>
<li class="file-stats">
<a href="#b728c11683811f6943953b54e36fbfbdd91c653e">
ansible/roles/sucs-firewall/templates/firewall-rules
</a>
</li>
</ul>
<h4>Changes:</h4>
<li id="b728c11683811f6943953b54e36fbfbdd91c653e">
<a href="https://projects.sucs.org/sucs/sucs/commit/e364c11a4bbf32206358ca3f8692c2204fab99eb#b728c11683811f6943953b54e36fbfbdd91c653e"><strong>ansible/roles/sucs-firewall/templates/firewall-rules</strong></a>
<hr>
<table class="code white" style="font-family: monospace; font-size: 12px;" bgcolor="#fff" width="100%" cellpadding="0" cellspacing="0">
<tr class="line_holder match" id="" style="line-height: 1.6;">
<td class="diff-line-num unfold js-unfold old_line" data-linenumber="518" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">...</td>
<td class="diff-line-num unfold js-unfold new_line" data-linenumber="518" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">...</td>
<td class="line_content match " style="padding-left: 0.5em; padding-right: 0.5em; color: rgba(0,0,0,0.3);" bgcolor="#fafafa">@@ -518,7 +518,7 @@ $IPT -t nat -A PREROUTING -i $INTERFACE_GUEST -m mark ! --mark 1 -p tcp -m tcp -</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="518" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
518
</td>
<td class="diff-line-num new_line" data-linenumber="518" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
518
</td>
<td class="line_content noteable_line" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC518" class="line" lang="shell"><span class="nv" style="color: teal;">$IPT</span> <span class="nt" style="color: navy;">-t</span> nat <span class="nt" style="color: navy;">-A</span> PREROUTING <span class="nt" style="color: navy;">-i</span> <span class="nv" style="color: teal;">$INTERFACE_GUEST</span> <span class="nt" style="color: navy;">-m</span> mark <span class="o" style="font-weight: 600;">!</span> <span class="nt" style="color: navy;">--mark</span> 1 <span class="nt" style="color: navy;">-p</span> tcp <span class="nt" style="color: navy;">-m</span> tcp <span class="nt" style="color: navy;">--dport</span> 80 <span class="nt" style="color: navy;">-j</span> DNAT <span class="nt" style="color: navy;">--to</span> 137.44.10.63</span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="519" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
519
</td>
<td class="diff-line-num new_line" data-linenumber="519" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
519
</td>
<td class="line_content noteable_line" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC519" class="line" lang="shell"></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="520" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
520
</td>
<td class="diff-line-num new_line" data-linenumber="520" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
520
</td>
<td class="line_content noteable_line" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC520" class="line" lang="shell"><span class="c" style="color: #998; font-style: italic;"># Rest of Transparent Proxy</span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="521" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
521
</td>
<td class="diff-line-num new_line old" data-linenumber="521" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
 
</td>
<td class="line_content noteable_line old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC521" class="line" lang="shell"><span class="nv" style="color: teal;">$IPT</span> <span class="nt" style="color: navy;">-t</span> nat <span class="nt" style="color: navy;">-A</span> PREROUTING <span class="o" style="font-weight: 600;">!</span> <span class="nt" style="color: navy;">-i</span> <span class="nv" style="color: teal;">$INTERFACE_OUTSIDE</span> <span class="o" style="font-weight: 600;">!</span> <span class="nt" style="color: navy;">-s</span> <span class="nv" style="color: teal;">$PROXY_BOX</span> <span class="nt" style="color: navy;">-p</span> tcp <span class="nt" style="color: navy;">--dport</span> 80 <span class="nt" style="color: navy;">-m</span> policy <span class="nt" style="color: navy;">--dir</span> <span class="k" style="font-weight: 600;">in</span> <span class="nt" style="color: navy;">--pol</span> none <span class="nt" style="color: navy;">-j</span> DNAT <span class="nt" style="color: navy;">--to</span> <span class="nv" style="color: teal;">$PROXY_BOX</span>:<span class="nv" style="color: teal;">$PROXY_PORT</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="522" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
 
</td>
<td class="diff-line-num new new_line" data-linenumber="521" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
521
</td>
<td class="line_content new noteable_line" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC521" class="line" lang="shell"><span class="nv" style="color: teal;">$IPT</span> <span class="nt" style="color: navy;">-t</span> nat <span class="nt" style="color: navy;">-A</span> PREROUTING <span class="o" style="font-weight: 600;">!</span> <span class="nt" style="color: navy;">-i</span> <span class="nv" style="color: teal;">$INTERFACE_OUTSIDE</span> <span class="o" style="font-weight: 600;">!</span> <span class="nt" style="color: navy;">-s</span> <span class="nv" style="color: teal;">$PROXY_BOX</span> <span class="o" style="font-weight: 600;"><span class="idiff left">!</span></span><span class="idiff"> </span><span class="nt" style="color: navy;"><span class="idiff">-d</span></span><span class="idiff"> </span><span class="nv" style="color: teal;"><span class="idiff">$NET_INSIDE</span></span><span class="idiff right"> </span><span class="nt" style="color: navy;">-p</span> tcp <span class="nt" style="color: navy;">--dport</span> 80 <span class="nt" style="color: navy;">-m</span> policy <span class="nt" style="color: navy;">--dir</span> <span class="k" style="font-weight: 600;">in</span> <span class="nt" style="color: navy;">--pol</span> none <span class="nt" style="color: navy;">-j</span> DNAT <span class="nt" style="color: navy;">--to</span> <span class="nv" style="color: teal;">$PROXY_BOX</span>:<span class="nv" style="color: teal;">$PROXY_PORT</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="522" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
522
</td>
<td class="diff-line-num new_line" data-linenumber="522" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
522
</td>
<td class="line_content noteable_line" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC522" class="line" lang="shell"></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="523" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
523
</td>
<td class="diff-line-num new_line" data-linenumber="523" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
523
</td>
<td class="line_content noteable_line" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC523" class="line" lang="shell"><span class="c" style="color: #998; font-style: italic;"># pptp vpns</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="524" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
524
</td>
<td class="diff-line-num new_line" data-linenumber="524" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
524
</td>
<td class="line_content noteable_line" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC524" class="line" lang="shell"><span class="nv" style="color: teal;">$IPT</span> <span class="nt" style="color: navy;">-A</span> FORWARD <span class="nt" style="color: navy;">-i</span> <span class="nv" style="color: teal;">$INTERFACE_GUEST</span> <span class="nt" style="color: navy;">-p</span> 47 <span class="nt" style="color: navy;">-m</span> state <span class="nt" style="color: navy;">--state</span> NEW,RELATED,ESTABLISHED <span class="nt" style="color: navy;">-j</span> ACCEPT</span>
</pre>
</td>
</tr>

</table>
<br>
</li>

</div>
<div class="footer" style="margin-top: 10px;">
<p style="font-size: small; color: #777;">

<br>
<a href="https://projects.sucs.org/sucs/sucs/commit/e364c11a4bbf32206358ca3f8692c2204fab99eb">View it on GitLab</a>.
<br>
You're receiving this email because of your account on projects.sucs.org.
If you'd like to receive fewer emails, you can
adjust your notification settings.
<script type="application/ld+json">{"@context":"http://schema.org","@type":"EmailMessage","action":{"@type":"ViewAction","name":"View Commit","url":"https://projects.sucs.org/sucs/sucs/commit/e364c11a4bbf32206358ca3f8692c2204fab99eb"}}</script>
</p>
</div>
</body>
</html>