Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Jul 2000 11:25:11 +0200
From:      "K'lyum" <87ch197@gadz.org>
To:        <freebsd-questions@FreeBSD.org>
Subject:   Firewalling and Proxy [The las message has a wrong e-mail]
Message-ID:  <002201bff875$bb051dc0$83c3a8c0@bbgorgu>

next in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
Hi,

First i'm very impressed by the quality of the job done..
I'm sorry to ask such a question but i can't find help on the freebsd.org site .
 
So i'm using freebsd 4.0 release as a firewall with firewall enabled in kernel.

All is working fine but i want my web server (wich is behind the firewall) to be accessible by external machines (on the Internet). So i decide to use the rule forward of the Firewall :

ipfw add fwd webserver,80 tcp from any to firewallmachine 80 in recv tun0

The rule is applied when a connection is made (I used the log option) but the web client can't get any answer..

Can i use such a solution for my configuration or am I totally wrong ?

I Thank you if you can add an answer on the website or by mail

Timothy Nelson
Union des Eleves de l'Ecole Nationale Supérieur des Arts et Métiers de Paris [France]
Student Association of the National Engeenering Institute

[-- Attachment #2 --]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META content="MSHTML 5.00.2920.0" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>
<DIV><FONT face=Arial size=2>Hi,</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>First i'm very impressed by the quality of the job 
done..</FONT></DIV>
<DIV><FONT face=Arial size=2>I'm sorry to ask such a question but i can't find 
help on the freebsd.org site .</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>So i'm using freebsd 4.0 release as a firewall with 
firewall enabled in kernel.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>All is working fine but i want&nbsp;my web server 
(wich is behind the firewall) to be accessible&nbsp;by external machines (on the 
Internet). So i decide to use the rule forward of the Firewall :</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>ipfw add fwd webserver,80 tcp from any to 
firewallmachine 80 in recv tun0</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>The rule is applied when a connection is made (I 
used the log option) but the web client can't get any answer..</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Can i use such a solution for my configuration or 
am I totally wrong ?</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>I Thank you if you can add&nbsp;an answer on the 
website or by mail</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Timothy Nelson</FONT></DIV>
<DIV><FONT face=Arial size=2>Union des Eleves de l'Ecole Nationale Supérieur des 
Arts et Métiers de Paris [France]</FONT></DIV>
<DIV><FONT face=Arial size=2>Student Association of the National Engeenering 
Institute</FONT></DIV></FONT></DIV></BODY></HTML>

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?002201bff875$bb051dc0$83c3a8c0>