Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
November 22, 2024, 01:15:46 PM
News
: LinuxSolved.com Linux Help Community Forum..
Home
Search
Login
Register
Linux Forums - Linux Help,Advice & support community:LinuxSolved.com
»
Network Troublshooting
»
General Networking Support in Linux
»
Internet sharing between linux pc and win98se pc
« previous
next »
Print
Pages: [
1
]
Author
Topic: Internet sharing between linux pc and win98se pc (Read 6006 times)
sekhar_vrc
Linux Noob !
Posts: 18
Internet sharing between linux pc and win98se pc
«
on:
August 03, 2004, 06:55:14 AM »
hello
pc-1 is having R.H 9.0
pc-2 is having win98 S.E
pc-1 is having ppp internet connection and is working fine.
How can i implement internet sharing.
Please help me
sekhar
Logged
firewall
Linux Noob !
Posts: 8
Internet sharing between linux pc and win98se pc
«
Reply #1 on:
August 03, 2004, 10:03:30 AM »
use Squid : it is a high-performance proxy caching server.
http://tldp.org/LDP/lame/LAME/linux-admin-made-easy/squid-upgrades.html
OR
You can do this with IPTABLES rules too if u like to learn new things:
You need to have "rOOt access.
1) edit the file:
/etc/sysctl.config
add a 1 to the ip_forward like so:
net/ipv4/ip_forward = 1
save and close file.
2) at the prompt type:
iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
Then at the prompt again type:
/etc/init.d/iptables save
or
service iptables save
Restart the network services, like so:
/etc/init.d/network restart
or
service network restart
All this is done on the firewall machine.
The eth0 is the network interface pointing to the Internet not your local network
This will let all pc on the local net to get online and the main pc will masquerade the internal IP address to look like the request is comming from the firewall pc.
Hope this helps.
Logged
sekhar_vrc
Linux Noob !
Posts: 18
Thank you very much-ics made simple in linux
«
Reply #2 on:
August 04, 2004, 01:57:27 AM »
Hello
I have choosen your second suggestion.
i.e used iptables and implemented internet sharing.
It is very simple to use it.
Fantastic
Thank you very much
sekhar
Logged
Print
Pages: [
1
]
« previous
next »
Linux Forums - Linux Help,Advice & support community:LinuxSolved.com
»
Network Troublshooting
»
General Networking Support in Linux
»
Internet sharing between linux pc and win98se pc