Inetrnet connection sharing between a Slackware box and windows box
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Inetrnet connection sharing between a Slackware box and windows box
I have a slackware box (that I managed to install after two days) and it has two NIC cards, and adsl modem connected to eth0.
I also have a windows box with one NIC card connected by a cable to the eth1 on the slackware box.
Now, I would like to share the internet connection the slackware box has with the windows box.
Can somebody please help me, or maybe direct me to the proper documentation?
2.1. What is IP Masquerade?
IP Masquerade is a networking function in Linux similar to the one-to-many (1:Many) NAT (Network Address Translation) servers found in many commercial firewalls and network routers. For example, if a Linux host is connected to the Internet via PPP, Ethernet, etc., the IP Masquerade feature allows other "internal" computers connected to this Linux box (via PPP, Ethernet, etc.) to also reach the Internet as well. Linux IP Masquerading allows for this functionality even though these internal machines don't have an officially assigned IP address.
Quote:
2.3. Who Can Benefit From IP Masquerade?
If you have a Linux host connected to the Internet and..
if you have internal computers running TCP/IP connected that are connected to this Linux box via on a network, and/or
if your Linux host has more than one modem and acts as a PPP or SLIP server connected to other computers, and these machines do not have official or public assigned IP addresses (i.e. addressed with private TCP/IP numbers).
If you want those OTHER machines to communicate to the Internet without spending extra money to acquire additional Public / Official TCP/IP addresses from your ISP, then you should either configure Linux to be a router or purchase an external router.
I have a slackware box (that I managed to install after two days) and it has two NIC cards, and adsl modem connected to eth0.
I also have a windows box with one NIC card connected by a cable to the eth1 on the slackware box.
Now, I would like to share the internet connection the slackware box has with the windows box.
Can somebody please help me, or maybe direct me to the proper documentation?
Hello planetsheinker,
U didn't specified that has your problem been solved or not.
Me to have the same configuration of two systems as you have.
So if you are still in trouble then i could help you out.
Hello planetsheinker,
U didn't specified that has your problem been solved or not.
Me to have the same configuration of two systems as you have.
So if you are still in trouble then i could help you out.
regards
The problem was solved using http://www.fs-security.com/.
But I dont really like this solution :-(
So if you have a better one, I am all years :-)
The problem was solved using http://www.fs-security.com/.
But I dont really like this solution :-(
So if you have a better one, I am all years :-)
Its the only solution i know to provide the second machine internet connection through the first one as gateway.
I did this using Shorewall. B'coz the configuration files of shorewall will decide the way you are permitting the seocond machine to access the internet.
Buy an external ADSL router with a LAN port - circa 30 quid. Configure it to act as a DHCP server and auto connect. Use NAT if you need certain services on a given machine.
Use a simple switch or hub to connect both PCs and the router together and Bob is your uncle.
Also makes it easy to expand the network at a later date.
My windows and Linux box have their own connection from a standard linksys 4 port router. How ever you can look in /usr/doc on your machine, and reference keywords and locate specific instructions for setting up Samba or server or Lisa etc. Hope this helps
Well I guess it wasn't much help, just thought having a router do the work instead of the system, less bog. Most routers today will do just what you want, generic loging routing etc. closing ports limiting access Isolating machines
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.