-
network server
can i use knoppix for sharing internet on a network as a server??
-
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.
-
Member
registered user
Re: network server
Originally Posted by
arruda
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.
Code:
#!/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:
Code:
$ 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:
Code:
$ sudo Desktop/startnat
Happy surfing for your family
tom
-
automatic start as a router / nat
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
Similar Threads
-
By adrianmak in forum General Support
Replies: 1
Last Post: 11-09-2004, 04:27 AM
-
Replies: 0
Last Post: 09-13-2004, 03:58 PM
-
By stimz in forum Networking
Replies: 2
Last Post: 03-22-2004, 09:04 PM
-
Replies: 0
Last Post: 02-12-2004, 02:55 PM
-
By thenexuscode in forum Networking
Replies: 1
Last Post: 02-11-2004, 01:54 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Apple Mac Powerbook Duo 230 Vintage Laptop
$60.00
Vintage MediaMate Early 90’s Macintosh Mac Desktop PC Home Computer Stand #18200
$50.00
Vintage Apple Macintosh Classic Model M0420 *Powers ON
$79.99
Vintage Macintosh 512k Motherboard With 800K Roms Tested Working 512ke Computer
$79.00
Apple Studio Display Monitor M2454 15" vintage Mac LCD
$80.00
Vintage Apple Macintosh II 2 M5000 Computer no power very nice w drives card
$350.00
VINTAGE REFURBISHED MACINTOSH SE WITH BLUESCSI RECAPPED POWER SUPPLY
$300.00
Apple Extended Keyboard II for Mac IIgs ADB Desktop Bus Vintage M3501 M0312
$69.99
Apple Macintosh SE/30 M5119 Vintage Mac Computer BAD FLOPPY DRIVE FOR PARTS
$350.00
APPLE MACINTOSH PLUS M0001A Vintage Mac Computer Tested Working
$799.99