View Full Version : network server
arruda
01-28-2003, 05:13 PM
can i use knoppix for sharing internet on a network as a server??
AvidLinuxUser
01-28-2003, 06:45 PM
Yes and No.
Yes you can as most of the software like iptables is on the CD.
Is there a nice graphical way on the CD, not that I know of.
There are a number of projects on the web that are debian based that do this with a graphical frontend even on some.
tuxtom
01-29-2003, 01:06 AM
can i use knoppix for sharing internet on a network as a server??Yes you can! Use knoppix as a router.
>>> HOWTO <<<
Just configure your I'net connection.
Configure your internal nic.
Copy the following script as startnat to the Desktop.
#!/bin/sh
# start MASQUERADE
# Interface to Internet
IFACE_EXT="ppp0"
# Iptables
IPTABLES="/sbin/iptables"
# delete all rules
$IPTABLES -F
$IPTABLES -t nat -F
# delete all additional tables
$IPTABLES -X
$IPTABLES -t nat -X
# Switch on ip-Forwarding
echo "1" > /proc/sys/net/ipv4/ip_forward
# start masquerading
$IPTABLES -t nat -A POSTROUTING -o $IFACE_EXT -j MASQUERADE
echo MASQUERADE started
make the script executable for root & save the config on floppy - including the desktop files.
In konsole:
$ sudo su
# chmod 777 Desktop/startnat
# /usr/sbin/saveconfig
reboot the system with knoppix floppyconfig.
In kde start your Internet connection, then run the script
In konsole:
$ sudo Desktop/startnat
Happy surfing for your family
tom
rubis
02-15-2003, 10:34 PM
How to start knoppix automatic as a router/ nat ?
Is there a way to force knoppix to read the floppy and config files automatic when it starts ?
Rubis
Powered by vBulletin® Version 4.2.2 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.