• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 141
  • Last Modified:

sharing internet to clients

Hi
I want to dial up with my server to my ISP
and share the line to my clients!(line proxy server in NT)
but I want know if I can dial up with 2 lines at once time
and share both of them at once time.
0
FARID123199
Asked:
FARID123199
  • 4
  • 3
  • 2
1 Solution
 
FARID123199Author Commented:
Adjusted points to 60
0
 
j2Commented:
You dont need a proxy unless yo uneed caching. WHat you need is masquerading.

1. Set the linux up to dial your ISP.
2. run the following

echo 1 > /proc/sys/net/ipv4/ip_forward
ipchains -A forward -s 192.168.0.0/24 -d 0.0.0.0/0 -b -j MASQ

Done. THis is a very basic setup. And assumes the clients are using 192.168.0.X adresses with a 255.255.255.0 netmask. Then just set the client to use the servers IP as their default GW. And you are done.

You could also use PMFirewall, which also adds firewalling to the above. www.pointman.org. Just to remember to answer yes to "masquerading" when you set it up. You might also wish to do
insmod ip_masq_ftp to add som ftp masquing.
0
 
FARID123199Author Commented:
Hi
thank for your mail
but I said that I want share
two line at once time
0
The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

 
j2Commented:
Oh, thats aggregate PPP, yes, linux supports this, but it isnt easy to set up. "serial load balancing" is what you want.

You would have to read the README.eql in the ../drivers/net/ dir of your linux kernel. AND your ISP must support this. If you are not an experienced linux user, which some knowledge of custom kernels, this really isnt for you.
0
 
EatEmAndSmileCommented:
You may also be interested in checking out the firewall / masquerading modules in /etc/rc.d/rc.modules. They add a lot of features that you'd need if you'd like to use services such as ftp, ICQ, IRC, etc...
0
 
j2Commented:
*psst* rc.modules is in slackware only(?). Unless you KNOW he is using slack, don't make assumptions like that.
0
 
EatEmAndSmileCommented:
As he didn't specify, I'll assume he's using the standard distribution. :)

 I'm sorry, but if you're using a messed up distribution I can't give the step by step procedure, only the phylosophy.
0
 
j2Commented:
Funny, Computer Sweden did a survey a few months back, RedHat (all versions from 4.2 -> 6.1) represented over 40% of all runing systems, Debian held about 20%, Slack (3.2 -> 4.0) had 16%.

"Standard distribution"?
0
 
EatEmAndSmileCommented:
My point was not that Slackware was the most popular distribution, but the only one that's not bloated with unuseful crap, thus, standard.

 By the way, I'm sorry if people in Sweden were misled to believe that they'd be happy with RedHat. :)
0

Featured Post

The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

  • 4
  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now