IP masq, forward ?
I am a new debian user.
I have 2 eth in system, and I want to use as gateway for local net.
in the etc/network/interfaces
----------------------------------------------
# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)
# The loopback interface
iface lo inet loopback
# The first network card - this entry was created during the Debian
installation
# (network, broadcast and gateway are optional)
iface eth1 inet static
address 192.168.0.1
netmask 255.255.255.0
network 192.168.0.0
broadcast 192.168.0.255
# gateway 195.38.101.206
iface eth0 inet static
address 195.38.101.206
netmask 255.255.254.0
network 195.38.100.0
broadcast 195.38.100.255
gateway 195.38.100.1
route add -net 195.38.101.206 netmask 255.255.254.0 dev eth0
route add default gw 195.38.100.1 metric 1 dev eth0
--------------------------------------------------------------
etc/options
---------------------------------------------------------
ip_forward=yes
spoofprotect=yes
syncookies=no
--------------------------------------------------------
I change the WIN2000 server.
The local terminals can ping the output eth card but I can't go out on the
internet.
>From gateway I can go out.
So simply what and where I must write to resolve this problem.
and, where i can find a documentation, step by step to understand the linux
platform.
I pograming in DOS,WINDOWS since 1990 , so imagine what is in my mind... :)
I try MAN but I want to understand, to feel the LINUX system.
Thanx
Felix
Reply to: