-
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
ASUS H110M-R Motherboard Intel 6th/7th Gen LGA1151 DDR4 Micro-ATX i/o shield
$42.00
***NEW*** BCM RX67Q Gaming Motherboard | Intel Q67 2nd/3rd Gen. | LGA1155 | DDR3
$29.77
Micro ATX Desktop Motherboard ASUS H110M-C LGA 1151
$31.95
ASUS Prime Z390-A LGA 1151 Intel Z390 SATA USB 3.1 ATX Motherboard NO I/O
$99.00
Gigabyte AMD B550 UD AC Gaming Motherboard - AMD B550 Chipset - AM4 Socket - AMD
$89.99
MSI B450M PRO-VDH MAX AM4 AMD B450 USB3.2 Micro-ATX Motherboard
$67.99
Asrock Z390 Phantom Gaming 4S/AC Wifi 8th/9th Gen Intel 1151 Motherboard Bulk
$47.55
ASRock H110 Pro BTC+ LGA 1151 Intel H110PROBTC Motherboard w/processor+heatsink
$69.99
***NEW*** BCM RX67Q mATX Gaming Motherboard Combo | Intel i5-3470 | 16GB DDR3
$49.77
BTC-S37 Mining Motherboard Kit /w SSD & Ram Preinstalled
$59.99