On 27 Sep 2002 14:27:49 +0200 Christian Gagneraud <[EMAIL PROTECTED]>
wrote:

> Do i have to do some prerequite, 
> - i have a correct dhcp config (/etc/networking/interfaces)
> - the doc says for deb:  Enable IP forwarding Where  do i put this
> command?

In Debian, this is controlled by /etc/network/options.  You only need to
enable forwarding on the gateway itself.

> - what about /sbin/route add -net 192.168.whatever eth1 ( ive seen
> somewhere in the liste)

Provided you have your client workstations configured to get their IP from
DHCP and have listed the gateway's address as the default gateway in your
DHCP configuration, this should be done automatically for you.

> - for firewall.conf i have to do
>   - EXT_IP=`ifconfig eth0 | grep -i "addr:" | cut -f2 -d: | cut -f1 -d "
> "` (dhcp conf) (because of DHCP)

Provided that eth0 is your external interface, this should be fine.

>   - if i have an apache server on the interna network and i want it to
> be accessible on the internet i have to use PORT_FORWARDS ?

Yes, the PORT_FORWARDS section is capable of redirecting traffic to
internal machines.

-- 
Jamin W. Collins


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to