-
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

TP-Link TL-SG105 5-Port Gigabit Ethernet Unmanaged Metal Desktop Network Switch
$19.99

NETGEAR GS308EP Essential Series 8-Port Gigabit PoE+ Unmanaged Switch
$49.99

Cisco WS-C3650-12X48UR-L 48-Port Stackable Layer 3 8x10G SFP+ Port Switch
$129.99

TP-Link TL-SG1048 48-Port Gigabit Rackmount Switch New Factory Sealed
$199.99

NETGEAR 5-Port Gigabit Ethernet Unmanaged Switch (Gs305) - Desktop Quiet Fanless
$16.41

10-Port Gigabit PoE Network Switch with 8 PoE+ Ports with 2 Combo SFP Slots 125W
$39.99

5 Port Gigabit Unmanaged Ethernet Switch, Home Network Hub, Office Ethernet S...
$9.64

TP-Link TL-SG105, 5 Port Gigabit Unmanaged Ethernet Switch, Network Hub, Ethern
$15.25

5Ports Gigabit Network Switch w/ 4 PoE+ Ports Total 52W each port 30W Plug&Play
$31.99

Brocade ICX6450-24 24-Port Gigabit Ethernet Network Switch W/ Ears
$74.99