Re: Solaris 10 networking question
- From: KJ <zemplar@xxxxxxxxx>
- Date: 14 May 2007 07:56:54 -0700
On May 14, 12:46 am, "Richard B. Gilbert" <rgilber...@xxxxxxxxxxx>
wrote:
martin_marvin...@xxxxxxxxxxx wrote:
X-No-Archive:yes
This may seem like a stupid question, but I've spent about half the
day on it so I thought I'd ask here. I'm trying to get a home network
going and have a few questions for the patient among you. I have
solaris 10 installed with 2 network interface cards. One is going to
my dsl modem, and the other is to another unix box via a patch cable.
On the Solaris 10 box nic #1 goes to the dsl modem and assigns the
solaris 10 box its ip via DHCP (thanks Rich for your great online
tutorial!). The nic #2 goes to the other unix box. I can ping
successfully between nic #1 and the net and between nic #2 and the
other unix box. NIC #1 and NIC # 2 are on different subnets. So here
are my questions:
1. How can I get the Unix box to connect through Solaris 10's NIC #2
to the internet when NIC #1 is the one that is connected to the dsl
modem.
You have to turn on IP Forwarding and configure your box to act as a
router. I've never done it or needed to. I have a little Linksys
router/firewall/switch (BEFSR81). The uplink port plugs into my cable
modem, and my computers plug into the 8 switch ports.
In addition to getting the box to act as a router, with the internet
being what it is, you probably want to configure it as a firewall as
well. Most people use a program called something like "ipfilter".
It's probably a hell of a lot easier to just spend the $80 or so that a
router/firewall/switch will cost you. OTOH you won't learn much doing
it that way. YMMV.
2. I would like to be able to ssh into the Solaris 10 box from
outside, say from the library. How would I do this when only my dsl
modem has a public ip address?
You use the public IP address and the DSL Modem connects you to your
Solaris box. Note that this is something that takes real courage! If
you allow incoming connections, the whole world is going to be trying to
connect. I've been getting two to ten attempts per minute since I got
internet via my cable TV company. My router does not allow any
connection that was not initiated from my home network.
You can do it securely IF you know what you're doing. If not, good luck!
Just a few suggestions on top of Richards...
If you use Solaris 10 direct to the internet, like any other OS, make
sure you are using a "stable" production version and are keeping up
with security patches.
As for finding your IP with a dynamic IP from your DSL provider, I've
had good luck with Dyndns.org and you can get a free dynamic IP or
purchase an inexpensive domain name that redirects to your dynamic IP
with their service. Further, if you go the hardware firewall route,
Netgear "business class" devices are good and you can do more advanced
routing and can include your Dyndns.org credentials and have it
automatically update with their service. Still, nothing like doing
this yourself at home.
Have you seen Rich's other good guide? http://www.rite-group.com/rich/solaris_nat.html
HTH.
.
- References:
- Solaris 10 networking question
- From: martin_marvinski
- Re: Solaris 10 networking question
- From: Richard B. Gilbert
- Solaris 10 networking question
- Prev by Date: Re: rcp is failing
- Next by Date: Re: Solaris 10 networking question
- Previous by thread: Re: Solaris 10 networking question
- Next by thread: Re: Solaris 10 networking question
- Index(es):
Relevant Pages
|