Message from discussion
IP alias with OpenBSD
Path: g2news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!pln-w!spln!rex!newsgate.newsguy.com!newsp.newsguy.com!mdrn
From: j...@ice-nine.org (jared r r spiegel)
Newsgroups: bit.listserv.openbsd-pf
Subject: Re: IP alias with OpenBSD
Date: 1 May 2006 17:42:27 -0700
Organization: None
Lines: 23
Message-ID: <20060502002637.GB27930@ice-nine.org>
References: <1146488142.235661.246680@i40g2000cwc.googlegroups.com>
NNTP-Posting-Host: localhost.newsguy.com
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
NNTP-Posting-Date: 2 May 2006 00:42:28 GMT
On Mon, May 01, 2006 at 05:55:42AM -0700, Gnat wrote:
> I need some help on setting up IP aliasing with NAT. The need is to
> create static NAT entries for some users due to a limit of 4 sessions
> per Public IP Address for a VPN server. I have 5 addresses from my ISP
> and wanted to use these to get around this 4 sessions per WAN IP. Any
> examples would be greatly appreciated.
did you try something based on:
ext="fxp0"
int="fxp1"
my5addrs="1.2.0.1 1.2.0.2 1.2.0.3 1.2.0.4 1.2.0.5"
nat on $ext -> { $my5addrs }
i've never dealt personally with multiple egress IPs, but that
syntax passes the parser
--
jared
[ openbsd 3.9-current GENERIC ( mar 15 ) // i386 ]