RE: Setting Up A Home Network ...

2006-02-14 Thread fbsd_user
yes xp pro can run as gateway with lan behind it

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of albi
Sent: Tuesday, February 14, 2006 8:56 AM
To: Kumar
Cc: freebsd-questions@freebsd.org
Subject: Re: Setting Up A Home Network ...


On Tue, 14 Feb 2006 21:48:33 +0800
Kumar <[EMAIL PROTECTED]> wrote:

> Is it possible to set up internet connection, between a XP Pro
box,
> and a FreeBSD-current box, without the use of a router, I have got
> two ethernet cards on the box running XP Pro, and one ethernet
card
> on the box running FreeBSD-current, and a cross over cable.
>
> Is it theoretically possible ?

if you put 2 nics in the FreeBSD-box with the cross-cable it's
possible
yes, follow the firewall-instructions :
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/firewalls.
html

if you want to keep the 2 nics in the ms-windows-machine, i would
suggest to ask in a ms-windows-forum/list etc.

--
grtjs, albi
gpg-key: lynx -dump http://scii.nl/~albi/gpg.asc | gpg --import
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
"[EMAIL PROTECTED]"

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Setting Up A Home Network ...

2006-02-14 Thread albi
On Tue, 14 Feb 2006 21:48:33 +0800
Kumar <[EMAIL PROTECTED]> wrote:

> Is it possible to set up internet connection, between a XP Pro box,
> and a FreeBSD-current box, without the use of a router, I have got
> two ethernet cards on the box running XP Pro, and one ethernet card
> on the box running FreeBSD-current, and a cross over cable.
> 
> Is it theoretically possible ?

if you put 2 nics in the FreeBSD-box with the cross-cable it's possible
yes, follow the firewall-instructions : 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/firewalls.html

if you want to keep the 2 nics in the ms-windows-machine, i would
suggest to ask in a ms-windows-forum/list etc.

-- 
grtjs, albi
gpg-key: lynx -dump http://scii.nl/~albi/gpg.asc | gpg --import
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Setting Up A Home Network ...

2006-02-14 Thread Kumar
Is it possible to set up internet connection, between a XP Pro box, and a
FreeBSD-current box, without the use of a router, I have got two ethernet
cards on the box running XP Pro, and one ethernet card on the box running
FreeBSD-current, and a cross over cable.

Is it theoretically possible ?
--
Thanks & Regards

Kumar
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: Setting up a home network with FreeBSD (not connected to the Internet yet)

2005-08-30 Thread Will Maier
On Mon, Aug 29, 2005 at 08:45:12PM -0700, Maude User wrote:
> I was able to borrow someone's keyboard and monitor to install FreeBSD onto
> the server - but after HTTP and FTP and NFS are set up I was hoping I could
> return the keyboard and monitor and be able to install and configure any
> additional packages using the laptop as the console. The laptop has an
> internal CD-RW. The server has a USB CD-RW - but no monitor or keyboard.

> Is this just a simple "intranet" I'm setting up here?  Can anyone point me
> to documentation that would answer the following types of questions:

> - What sort of cables should I get?

To connect the laptop and 1U via ethernet? Crossover cables (as opposed to
patch cables).

> - Since the server won't be connected to the Internet for now, can I pick
> any old IP address, host name and domain name?

Sure. That said, I usually set up test hosts like that using private IPs
(10.X.X.X, 172.16.X.X, 192.168.X.X) out of habit. The laptop needs to be in
the same subnet, though, as the server. So, if the 1U is 10.0.0.1, the laptop
should be something like 10.0.0.2 (depends on the netmask you choose).

> - Once the network is set up, can I use something like SSH or Webmin from
> the laptop to install and configure packages on the server, without
> attaching a keyboard and monitor?

Yes. Just as you would use ssh to administer the 1U when it's at the
datacenter, you can use ssh to play with it at home. Webmin is accessed via
HTTP; once it's installed and configured on the 1U, connect to the 1U's IP
address in your browser.

> - What security should I be setting up NOW, so that the server will be
> secure once it goes co-lo?

The usual: ensure you're running as few services as possible (`sockstat -4` to
see what's listening on the network), prepare an update and backup scheme for
the system and its applications (apply updates now and plan for updates in the
future), lock down user accounts, etc. Subscribe to the FreeBSD security
mailing list[0] and read updates.

[0]http://www.freebsd.org/security/

-- 

o--{ Will Maier }--o
| jabber:[EMAIL PROTECTED] | email:[EMAIL PROTECTED] |
| [EMAIL PROTECTED] | [EMAIL PROTECTED] |
*--[ BSD Unix: Live Free or Die ]--*

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Setting up a home network with FreeBSD (not connected to the Internet yet)

2005-08-29 Thread Maude User
Hello All -

I have a 1U rackmount server (running FreeBSD 5.4)
and a laptop (dual-boot running WinXP-Pro and
FreeBSD 5.3) and I'd like to connect the two in a
home network (not connected to the Internet) so I
can learn web development using Apache, PHP,
Python, Plone, Ruby, MySQL, PostgreSQL etc. 

Later I'll co-locate the server in a datacenter. I'd
like the home network setup to be similar to the
eventual co-lo setup so that it would provide a
realistic environment for learning and testing,
with minimal changes once I migrate the server
from my home to co-lo.

The server has two 1000Base-T, 100Base-TX and
10Base-T Ethernet LAN RJ45 ports (Intel 82541GI
and 82547GI controllers), supporting TCP, UPD, IPv4.

For the time being, the only client connecting to
this server will be the laptop. I don't have
broadband at home, so neither the server nor the
laptop will be connected to the Internet. There's a
cybercafe in the neighborhood with broadband where
I can download files, lookup documentation and
burn CDs.

I was able to borrow someone's keyboard and
monitor to install FreeBSD onto the server - but
after HTTP and FTP and NFS are set up I was hoping
I could return the keyboard and monitor and be
able to install and configure any additional
packages using the laptop as the console. The
laptop has an internal CD-RW. The server has a USB
CD-RW - but no monitor or keyboard.

Is this just a simple "intranet" I'm setting up here?
Can anyone point me to documentation that would
answer the following types of questions:

- What sort of cables should I get?

- Since the server won't be connected to the
Internet for now, can I pick any old IP address,
host name and domain name?

- Once the network is set up, can I use something
like SSH or Webmin from the laptop to install and
configure packages on the server, without
attaching a keyboard and monitor?

- What security should I be setting up NOW, so that
the server will be secure once it goes co-lo?

Thanks for any help.

Scott in Brooklyn






Start your day with Yahoo! - make it your home page 
http://www.yahoo.com/r/hs 
 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Help setting up a home network with FreeBSD

2003-03-29 Thread Rod Person
On Sat, 29 Mar 2003 20:53:30 +
Andrew Boothman <[EMAIL PROTECTED]> wrote:

>So can the server talk to the Internet perfectly fine? Can the other >machines talk 
>to the server?

No the other machines can not talk to the server. I even tried to ping the server by 
server name but nothing.



> Do you need to use NAT to connect the other machines or do Verizon give you 
> multiple IPs. If you need NAT, you should simply be able to set 
> gateway_enable="yes"
> natd_enable="yes"
> natd_interface=" natd_flags="-dynamic -deny_incoming"


Yes I was trying to use NAT. My natd_flags are different from yours. I try these.

 
> Then if your server is set us the default router for your other machines, 
> everything should just work! You'll need to set-up the IPs of the other 
> machines by hand and you'll also need to give the machines the IP of 
> Verizon's DNS server. But you can begin to check that everything works by 
> pinging around with IP addresses only.
> 


This may be my problem here. I was trying to get DHCP to work. Not that I really 
wanted it but thought that I did. So if I hard code the addresses I may have better 
luck. I will give this a try

Thanks

Rod
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Help setting up a home network with FreeBSD

2003-03-29 Thread Alfonso Romero
Ok, why don´t you first try using static IP addresses for your workstations,
and see if you can ping from them?

- Original Message -
From: "Rod Person" <[EMAIL PROTECTED]>
To: "Alfonso Romero" <[EMAIL PROTECTED]>
Sent: Saturday, March 29, 2003 9:41 PM
Subject: Re: Help setting up a home network with FreeBSD


On Sat, 29 Mar 2003 14:13:47 -0600
Alfonso Romero <[EMAIL PROTECTED]> wrote:

> Hi, Rod, I read your posting and have the same problem. But I´m using
> FreeBSD 4.7. I don´t know if there is too much difference between 5.0 and
> 4.7, but I also have tried all the things in the handbook and the FAQs.
Are
> you using natd?
> Can you ping www.yahoo.com from your workstations?
>

from the workstation I can ping nothing. I've tried natd and allowing the
ppp_nat but neither has worked.

I think the problem is that dhcp isn't working for me but not sure.

Rod


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Help setting up a home network with FreeBSD

2003-03-29 Thread Andrew Boothman
On Saturday 29 March 2003 8:08 pm, Rod Person wrote:
> Hello,
>
> for the last week I have been trying to set up a home network with FreeBSD.
>
> I have been successful in setting up the 5.0 server to connect to my
> verizon dsl account. I've configure the kernel for use as a firewall and
> set this up as a gateway machine. I like the 2nd nic to connect to my hub
> and server dhcp addresses to the other machines on the network.
>
> I been searching for a tutorial or how-to but nothing I have read has been
> successful it letting the the other machines to access the internet via the
> server.

So can the server talk to the Internet perfectly fine? Can the other machines 
talk to the server?

Do you need to use NAT to connect the other machines or do Verizon give you 
multiple IPs. If you need NAT, you should simply be able to set 
gateway_enable="yes"
natd_enable="yes"
natd_interface="http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Help setting up a home network with FreeBSD

2003-03-29 Thread Volker Kindermann
Hi Rod,


> I have been successful in setting up the 5.0 server to connect to my
> verizon dsl account. I've configure the kernel for use as a firewall
> and set this up as a gateway machine. I like the 2nd nic to connect to
> my hub and server dhcp addresses to the other machines on the network.

what exactly won't work? Please provide us with some more information.
Is forwarding turned on on the gateway machine?

Does dhcpd work correctly? Does DNS work?

If something don't work, please give us the config-files and log file
entries.

This shouldn't be a big problem, so with the right information this list
will help you out. :-)

 -volker

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Help setting up a home network with FreeBSD

2003-03-29 Thread Rod Person
Hello,

for the last week I have been trying to set up a home network with FreeBSD.

Here is what I have:
FreeBSD 5.0 server 2 nics
FreeBSD 4.8 workstation
Windows XP machine
Windows 98 machine.

I have been successful in setting up the 5.0 server to connect to my verizon dsl 
account. I've configure the kernel for use as a firewall and set this up as a gateway 
machine. I like the 2nd nic to connect to my hub and server dhcp addresses to the 
other machines on the network.

I been searching for a tutorial or how-to but nothing I have read has been successful 
it letting the the other machines to access the internet via the server.

Can someone point me in the right direction to a good how to or supply me with some 
tips.

TIA

Rod

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"