[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Pf redirection problem



Hitete spewed:
> Here is what I want :
> 
>     INTERNET
>          |>          |>          |>          |ext_if (address=1.1.1.1)                           dmz_if
>   OPENBSD-------------------------------------------DMZ (SMTP SERVER)
> smtp_dmz
>          |>          |>  INTERNAL LAN
> 
> rdr pass on $ext_if fron any to 1.1.1.1 port 5555 -> smtp_dmz port 22
> 
> pass out on dmz_if from any to dmz_net keep state
you might try:
  rdr on $ext_if to $dmz_if port 5555 -> $smtp_dmz port 22
  pass in on $ext_if to $dmz_net port 5555 keep state
  I think those should work.
-- 
=== Asenchi ===============================================
-----------------------------------------------------------
- [WWW]: www.asenchi.com [EMAIL]: [email protected]     -
- [PGP]: 1024D/65724DA8 [ICQ]: 56039913 [AIM]: asenchi    -
- [IRC]: Asenchi | irc.freenode.net | #asenchi, #rweather -
-----------------------------------------------------------
============================= Follow the uncharted path ===