[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
OpenBSD NAT, Proxy, ques
- To: misc_(_at_)_openbsd_(_dot_)_org
- Subject: OpenBSD NAT, Proxy, ques
- From: Col Mustard <cmustard_(_at_)_nyc_(_dot_)_rr_(_dot_)_com>
- Date: Sat, 26 Oct 2002 00:48:23 -0400
I recently got hold of an old compaq proliant 3260 server, it's a huge
old cool machine, well anyway it's running OpenBSD 2.8.
Before i 'scrub' it and decide what *NIX to put in it, i thought i would
at least, play around with it and OBSD. I have never run OBSD
(Debian and Red Hat) so i thought it would be good experience, i
know that OBSD is a good networking choice because of security.
This machine was apparently a NAT, proxy server for someone.
It has two nic, cards (NE 2000, D-Link PnP). This is also what
i would like to use it for as well at home. I have a cable connection
and would like to set this up to take my incoming cable connection then
offer that connection to the other 3 computers in my internal vlan.
I have read the FAQ's and probably missed something, but i've had no
success, any help would be greatly appreciated.
from what i've read.
/etc/hostname.ne1
# get dynamic ip from cable co.
dhcp NONE NONE NONE
/etc/hostname.ne3
# set internal vlan, for all to connect
inet 192.168.0.2 255.255.255.0 NONE media autoselect
/etc/dhclient.conf
interface "ne1" {
supersede domain-name "me.com";
supersede host-name "iam";
supersede subnet-maski, broadcast-address, time-offset, routers,
domain-name, domain-name-servers, host-name, lpr-servers, ntp-servers;
media autoselect;
}
send dhcp-lease-time 3600;
send host-name "iam";
/etc/dhcp.interfaces
ne1 # ?
/etc/hosts
127.0.0.1 localhost
192.168.0.2 me.com
/sbin/dhclient
# this is the MAC address of 'ne1'
.... -more errors, can't bind, etc
Listening on BPF/ne1/00:00:1b:4d:76:3a/unattached
Sending on BPF/ne1/00:00:1b:4d:76:3a/unattached
.... etc
I would be 'semi-happy' to just get a dynamic ip from my provider, to start
with.
TIA.
If you respond please 'cc' me, as i am new to this list and might forget
to check it. Thank you.
-mustard
Visit your host, monkey.org