Linux Forums - Linux Help,Advice & support community:LinuxSolved.com
Network Troublshooting => General Networking Support in Linux => Topic started by: amnyarku on April 11, 2005, 09:06:48 AM
-
Pls,
I have install fedora core 2 and connected its to the internet and it working perfectly but my problem is, I want to share the connection with my client computer without using a proxy server. Can somebody help me out?
Thank You
Kwame Amoah.
-
i think it,NO WAY!!!!!
:oops: :oops: :oops:
if fact i hope there is a way to achieve it!!
-
i think it,NO WAY!!!!!
:oops: :oops: :oops:
if fact i hope there is a way to achieve it!!
-
hi there
Ya i think, there is no otherway to do the same.., YMZ said true.. but may be another knows it well.
Gaurav
-
hi there
Ya i think, there is no otherway to do the same.., YMZ said true.. but may be another knows it well.
Gaurav
-
If you do not want to use proxy server, use Internet sharing through NAT.
It will solve your problem.
-
And you can do that either by using some software like "FireStarter" or configuring iptables .
See Internet Sharing in Linux (http://www.linuxsolved.com/forums/ftopic115.html) .
-
Pls,
I have install fedora core 2 and connected its to the internet and it working perfectly but my problem is, I want to share the connection with my client computer without using a proxy server. Can somebody help me out?
Thank You
Kwame Amoah.
Create the script as below and follow the instruction in same
# Defines the location of iptables executables.
iptables=/sbin/iptables
#Clears if any old iptable rules/ policies are there.
iptables --flush -t nat
# Now we will do Masquerading ie. we are doing NAT.
iptables --table nat --append POSTROUTING --out-interface ppp0 -j MASQUERADE
iptables --append FORWARD --in-interface eth0 -j ACCEPT
# Enabling packet forwarding.
echo 1 > /proc/sys/net/ipv4/ip_forward
# Copy this file to /etc/rc.d/rc.nat
# make it executable : chmod 7555 /etc/rc.d/rc.nat
# Now add following lines in rc.local
# /etc/rc.d/rc.nat
# this will allow to set your machine as gateway at every startup