Dear visitor, welcome to KDE-Forum.org.
If this is your first visit here, please read the Help. It explains in detail how this page works.
To use all features of this page, you should consider registering.
Please use the registration form, to register here or read more information about the registration process.
If you are already registered, please login here.
how to share internet connection?
people, how did we share the internet connection in linux system? i use the redhat9 linux distribution, i want to share my internet connection from my linux system to another computer that connected via LAN that using windows 98, thanks for replying
Anwar Muttaqien
look up for the truth
Not here...
I'm no authority on KDE, but I think you need to look elsewhere for information on "internet sharing".
One place to look might be: http://tldp.org and search for "internet connection sharing"
thank yo guys!
thanks for the idea, i dont know does it work or not in my system, but its giving me something to do
Anwar Muttaqien
look up for the truth
for "internet sharing" e.g. NAT
you have to use the program
iptables
search for that keyword
an incomplete example
IPT=/sbin/iptables
# enable ipv4 packet forwarding
echo "1" >/proc/sys/net/ipv4/ip_forward
# masq'd hosts:
$IPT -t nat -A POSTROUTING -s 192.168.0.0/24 -o eth0 -j SNAT --to-source <your ISP ip adress>
#portforwarding to an internal machine is done like this
$IPT -t nat -A PREROUTING -p tcp -d <ISP ip adress> -i eth0 --dport 8888 -j DNAT --to-destination <internal machine>:8888
to use NAT and iptables your kernel has to be compiled with various networking options enabled, also your distribution may have a program to set things like this up.
this is the plain manual way
after that you have to either start an DNS server on your linux machine and use it on windows, or use the ISPs dns server from within windows whitout starting your own DNS server. use the linux internal network ip adress as gateway on windows, and be sure there are no iptables firewall rules that block your traffic (REJECT). list with iptables -L -v as root
also you may manipulate the default firewall rules, be sure what you are doing! read the iptables Howtos etc.
this all is not related to kde in any way yet