🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: bit.listserv.openbsd-pf
Article #150

Re: binat-to address that's not assign to interface (4.9)

#150
From: Brian Keefer
Date: Tue, 25 Jan 2011 20:44
25 lines
2042 bytes
On Jan 25, 2011, at 12:15 PM, Karl O. Pinc wrote:

> On 01/25/2011 01:30:45 PM, Brian Keefer wrote:
>> 
>> Now I'm building firewalls for much larger networks with /25 of
>> external IPs.  They will all be either static or dynamic NAT, so
>> proxy-ARP doesn't seem like the way to go.  Do I absolutely have to
>> assign all these addresses to the external interface in order to use
>> them for nat-to/binat-to, or can I simply have the upstream router 
>> set
>> a route to one IP that I assign to the external interface (this is
>> done already) and PF will be able to handle the translations?
> 
> You should expect the ISP to route.  (On their DSL lines, at least
> here, they often bridge, which is why you must fuss about with
> ARP.)
> 
> Of course, it all depends on how the ISP does it.

In this case the upstream router is maintained by our ops team and it is indeed routing (they wanted me to give them an IP to act as the gateway).

So as I understand it, I should be OK to only assign a single IP (the one that the router has set it's route to for my subnet) and PF will handle the rest.  Someone correct me if I'm horribly wrong there.

--
bk
Technical Details
Message-ID: <B44909C0-EC6D-48D8-BBB9-7B0F11D252AF@smtps.net>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!npeer03.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!spln!newsgate.newsguy.com!newsp.newsguy.com!mdrn
References: <1295986510.15318.3@mofo>

Show Full Headers
Complete Article Headers
X-Google-Thread: ff4ef,4a9095a84f0a9356
X-Google-NewGroupId: yes
X-Google-Attributes: gidbffa70e3,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!npeer03.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!spln!newsgate.newsguy.com!newsp.newsguy.com!mdrn
From: chort@smtps.net (Brian Keefer)
Newsgroups: bit.listserv.openbsd-pf
Subject: Re: binat-to address that's not assign to interface (4.9)
Date: 25 Jan 2011 12:44:01 -0800
Organization: None
Lines: 30
Message-ID: <B44909C0-EC6D-48D8-BBB9-7B0F11D252AF@smtps.net>
References: <1295986510.15318.3@mofo>
NNTP-Posting-Host: [10.23.12.150]
Mime-Version: 1.0 (Apple Message framework v1082)
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 8bit
NNTP-Posting-Date: 25 Jan 2011 20:44:01 GMT