Subject: | |
From: | |
Reply To: | |
Date: | Fri, 6 Sep 2013 02:51:50 +1000 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
Thanks Mark. I am digging into it.
On 06/09/2013, at 1:06 AM, Mark Stodola <[log in to unmask]> wrote:
> Try searching for 'linux iptables nat' or similar. There are hundreds, if not thousands of tutorials available.
>
> -Mark
>
> On 09/05/2013 09:18 AM, n00b 101 wrote:
>> Hi Mark,
>>
>> I prefer to use an ethernet switch with a NIC in each computer so that I
>> can try to add one more computer later on if I need.
>>
>> As to setting up iptables/NAT forward traffic, could you show one or two
>> tutorials on websites? Or, what keywords should be used to search?
>>
>> Thanks a lot.
>>
>>
>> On Thu, Sep 5, 2013 at 11:40 PM, Mark Stodola <[log in to unmask]
>> <mailto:[log in to unmask]>> wrote:
>>
>> On 09/05/2013 01:56 AM, n00b 101 wrote:
>>
>> Hi,
>>
>> I have two computers running Scientific Linux 6.4. Computer A
>> (used as
>> a server) uses wireless WiFi to connect to a wireless router so
>> that it
>> can surf the Internet. Computer B (used as a client) has no
>> wireless
>> WiFi and needs to be connected to the Computer A so that it can
>> go out
>> to the world as well. For some purposes, cable connection between
>> Computer B and the wireless router has been opted out.
>>
>>
>> Is the best way to connect Computers A and B by using a switch
>> or router
>> via Ethernet cables?
>>
>> noob.
>>
>>
>> If I followed all of that correctly, the best way is using an
>> ethernet switch with a NIC in each computer. Alternately, you could
>> skip the switch and use a crossover cable if there are no other
>> computers involved. You would then setup iptables/NAT on computer A
>> to forward the traffic from B to the internet. There are many
>> examples and tutorials on the web to help you along.
>>
>> Regards,
>> Mark
>>
>> --
>> Mr. Mark V. Stodola
>> Senior Control Systems Engineer
>>
>> National Electrostatics Corp.
>> P.O. Box 620310
>> Middleton, WI 53562-0310 USA
>> Phone: (608) 831-7600 <tel:%28608%29%20831-7600>
>> Fax: (608) 831-9591 <tel:%28608%29%20831-9591>
>
>
> --
> Mr. Mark V. Stodola
> Senior Control Systems Engineer
>
> National Electrostatics Corp.
> P.O. Box 620310
> Middleton, WI 53562-0310 USA
> Phone: (608) 831-7600
> Fax: (608) 831-9591
|
|
|