Helpful Information
 
 
Category: Linux Help
access to a win machine to internet through ppp connection, from a Linux machine

I have a small network at home, with twp pcs; one running Linux RedHat 7.2, and another Windows 2000. I am connecting to the internet through Linux. But I want to have access to the internet also through the windows box. My connection is dialup ppp. Can this be done with the samba, or not, and how?

Thank you

Your question is very confusing.

>> I want to have access to the internet

Then setup IP Masquerading.

>> also through the windows box

You need to make up your mind and pick either Linux or win2k to be the router and the other be client.

>> My connection is dialup ppp

Don't tell us you want to unplug your phone line from Linux to win2k when you want win2k to be the router.

>> Can this be done with the samba

Totally non-relevant.

>> access to a win machine to internet

Don't understand.

Ok... at least you understood what I am trying to do. The truth is I was a bit confusing. I want the Linux box to be the router. But this is the first time to do it in a Linux machine. I ve done it lots of times to work, where there are windows machines. I tried some combinations through Firewall-config, but the windows box couldn't have access to the intertnet. Some terms in firewall config are different to that I used to know in windows, or I am a bit confused with it's different interface, or I don't know what else to say. Could it be possible to give me a sipmle example of a typical configuration according my situation? If not, I think I will get through this problem soon. Thank you in advance:)

So it appears you just want Linux box to be the router and enable IP Masquerading just to get your win2k box to share a single Internet connection.
Sorry I can't help you with the firewall/nat configuration on Linux, just because I would be plain stupid if I am still running Linux. If you switch to *BSDs and have problems with firewall (ipfw/ipf/pf) configuration, I should be able to help you out.

And while you're switching, have a look at what you would have needed ;):
ipchains HOWTO (http://netfilter.samba.org/ipchains/HOWTO.html) (if you're running a 2.2.x kernel)
iptables HOWTO (http://netfilter.samba.org/unreliable-guides/packet-filtering-HOWTO/) (2.4.x)

Thank you guys for your attention. realnowhereman I will take a look at these how tos. I hope I will find the way, as I did with other subjects using the how tos in the past.

freebsd: I don't know much about bsd systems, but I know they are great for web servers, as all the web sites I've made so far, are all hosted in pair's servers.

But I know nothing about it's graphic desktop environment. As I know, you can run both kde and Gnome, right? what about the applications? Are all Linux apps compatible with bsds? And why are you so negative about Linux platforms? Is there any reasons? Could you tell me, just to know? I am using Linux at home for 10 months. Maybe it is a good idea switching to BSD, as I could have more compatibility with my hosting company. For the moment, I have RedHat 7.2. And didn't like that he rejected MySQL from it's installation software, and have Postgre(!) as the only sql database. But of course that was not a problem, I got it from the mysql site. Anyway...

>> As I know, you can run both kde and Gnome, right?

Not only those but you can run them with more stability and reliability.

>> Are all Linux apps compatible with bsds?

Yes. And you can install appz with maximum flexibility and easier.

>> why are you so negative about Linux platforms?

Linux would be great if BSDs is non-existence. In other words, BSDs makes Linux obsolete.

>> Could you tell me, just to know?

Do a search in BSD forum. Almost of my posts there flamed Linux enough.

Thanks freebsd for the information. I see all are ok if I decide to switch to that platform. Is there any reason you are using freebsd, or all bsds are good the same?

>> Is there any reason you are using freebsd

I've been using all 3 for a while, not just free.

>> or all bsds are good the same?

Not quite. Once you are familiar with one of the three, it shouldn't be too difficult to pick up the others. Why don't you search google to see what the books/docs/people say and search BSD forum to see what I say personally.

Believe me, once you start using BSDs you will never go back to Linux and also think Linux is for nobrainers.










privacy (GDPR)