[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Problems setting up an OpenBSD gateway
- To: "Rink Springer" <rink_(_at_)_springer_(_dot_)_cx>, <misc_(_at_)_openbsd_(_dot_)_org>
- Subject: RE: Problems setting up an OpenBSD gateway
- From: "Dan Cuthbert" <daniel_(_dot_)_cuthbert_(_at_)_uk_(_dot_)_psi_(_dot_)_com>
- Date: Tue, 31 Oct 2000 15:42:07 -0000
- Importance: Normal
- Reply-to: <daniel_(_dot_)_cuthbert_(_at_)_uk_(_dot_)_psi_(_dot_)_com>
-----BEGIN PGP SIGNED MESSAGE-----
do you have the correct rule in ipnat.rules
# $OpenBSD: ipnat.rules,v 1.2 1999/05/08 16:33:10 jason Exp $
# See /usr/share/ipf/nat.1 for examples.
# edit the ipnat= line in /etc/rc.conf to enable Network Address
#This allows us to use this box as the gateway
map <ext nic> 192.168.x.x/24 -> fxp0/32 portmap tcp/udp 10000:20000
map <ext nic> 192.168.x.x/24 -> fxp0/32
European Hosting Research & Engineering
mobile : +44 77 1279 0646
- -----Original Message-----
From: owner-misc_(_at_)_openbsd_(_dot_)_org [mailto:owner-misc_(_at_)_openbsd_(_dot_)_org]On Behalf
Sent: 31 October 2000 15:26
Subject: Problems setting up an OpenBSD gateway
I've installed OpenBSD 2.7 on one of my boxes a few days back. The
(GALLIUM) is supposed to provide gatewaying services to my network.
( INTERNET ) - [MINERVA] - < GALLIUM >
[FREYA] < THALLIUM >
[SPOOKY] < AURUM >
In this overview, MINERVA is directly connected to the cable modem,
box has two network cards. This is a Linux box, which also does NAT
masquarading, as they like to call it :). MINERVA, FREYA and SPOOKY
part of a BNC network, 10.0.0.x.
GALLIUM is a OpenBSD gateway, which should do gatewaying between the
network and the UTP one. It has two network cards, ne0 (at
ne1 (at 10.0.0.4). GALLIUM, THALLIUM and AURUM are all on an UTP
The problem is the following: GALLIUM can ping all boxes in the
including the internet. But any box that uses GALLIUM as gateway, can
access the internet. They can use the 10.0.0.x and 176.16.0.x
all-right, but accessing the internet does not work.
Does anything have an idea why this is? GALLIUM is set up to use
default gateway, and that works. MINERVA uses a route to network
uses 10.0.0.4 as gateway (and MINERVA and all it's clients in the BNC
network can ping anything also correct).
After some tcpdump(1)'s and ip logging stuff, I've found out that
for some reason, *NEVER* forwards packets to the MINERVA gateway,
though it should. I have no idea why this is.
I've spent hours on figuring this out, but to no avail. Can someone
there *please* help me?
-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 6.5.8 for non-commercial use <http://www.pgp.com>
-----END PGP SIGNATURE-----