Hi community,
I've got some troubles using my computer as a router.
Here is a short glimpse at my situation.
comp1 is running a hd-installation of the latest knoppix 4.02 CD Image, german.
comp2 is a laptop computer and sometimes connected to comp1's net over a hub.
comp1 has two ethernet network cards, eth1 and eth2
eth1 is responsible for my inet connection over ppp
eth2 should act as dhcp and router
dhcp is working fine (dhcp3-server)
but although i think i have set up everything alright, comp1 won't let comp2 access the net.
here's what i made at comp1:
in /etc/dhcp3/dhcpd.conf
/proc/sys/net/ipv4/ip_forward is set to 1Code:. . option domain-name-servers 192.168.0.1; option routers 192.168.0.1; option broadcast-address 192.168.0.255; option subnet-mask 255.255.255.0; range 192.168.0.100 192.168.0.200; . .
i then type
comp2 gets an ip if i call ifup or pump, it also has /etc/resolv.conf containing 192.168.0.1Code:iptables -t nat -A POSTROUTING -o eth2 -j MASQUERADE
no matter if i turn the /usr/sbin/firewall on or off
nameresolving and routing won't work from comp1
Did I forget something? Is there a trick?
Thanks for any help.
cheers,
Partisan

2-Bay/4-Bay Hard Drive Enclosure for 3.5"/2.5'' SATA HDD/SSD 10Gbps USB-C 3.2
$75.99
OWC Mercury Elite Pro 2 Bay RAID Enclosure with USB 3.2 for Dual 3.5 inch HDDs
$87.99
Intel VROC Premium RAID Controller Card PCIe Add-On Module VROCPREMMOD
$265.00
Broadcom 9600-24i RAID Controller PCIe Gen 4.1 Tri-Mode NEW 05-50111-01004
$649.99
WAVLINK RAID 2 Bay Hard Drive Docking Station SATA 2.5/3.5'' SSD HDD Enclosure
$119.99
Acasis USB 3.2 2 Bay HDD RAID Enclosure for 2.5/3.5" SATA Drives External Array
$55.00
Dell PowerEdge HBA330 LP PCI-E 12GBs RAID SAS Controller Adapter J7TNV
$18.95
NVME M.2 Adapter Card PCIE X16 Splitter Expansion Controller 4-Disk Soft RAID
$24.43
CalDigit VR minin 2 Portable Raid Storage On The Go
$75.00
Areca ARC-1882IX-24 (16i4e)24-Port RAID Controller Card w/BBU /HDD Monitor Board
$300.00