<p><br />yes, thanks. got that</p><p>cheers</p><p>Rich<br /> <br /><br /><strong>On Tue Oct  9 12:50 , Costa Tsaousis  sent:<br /><br /></strong><blockquote style="border-left: 2px solid rgb(245, 245, 245); margin-left: 5px; margin-right: 0px; padding-left: 5px; padding-right: 0px;">O/H <a href="javascript:top.opencompose('rich@thevillas.eclipse.co.uk','','','')">rich@thevillas.eclipse.co.uk</a> Ýγραψε:<br />
><br />
><br />
> snat to "${HOME_MYIP}" \<br />
>     outface "${HOME_MYIF}" \<br />
>     src "${HOME_LAN}" dst "${WEBSERVER}"<br />
><br />
>  <br />
><br />
> dnat to ${WEBSERVER}:80                     \<br />
>     inface "${HOME_MYIF}"                     \<br />
>     src "${HOME_LAN}"                     \<br />
>     dst "${PUBLIC_MYIP}" proto tcp dport 80<br />
>  <br />
><br />
> router lan2lan inface "${HOME_MYIF}" outface "${HOME_MYIF}"    \<br />
>     src "${HOME_LAN}" dst "${HOME_LAN}"<br />
>     server http accept<br />
>     server https accept<br />
><br />
For https you also need to dnat port 443. You this dnat instead of the <br />
previous:<br />
<br />
dnat to ${WEBSERVER}                    \<br />
    inface "${HOME_MYIF}"               \<br />
    src "${HOME_LAN}"                     \<br />
    dst "${PUBLIC_MYIP}" proto tcp dport "80 443"<br />
<br />
Note that I have removed the port from ${WEBSERVER}.<br />
<br />
Costa<br />
</blockquote>
</p><BR>