Variable parsing difference between OpenBSD and FreeBSD?

Forrest Aldrich forrie at forrie.com
Tue Nov 29 23:56:34 GMT 2005


Interestingly, when I "nmap" my server (public ip) from the private 
network, I find SSH.

Which, ironically, is the ONLY service I don't have configured or 
redirected in the pf.conf file.



Daniel Hartmeier wrote:
> On Tue, Nov 29, 2005 at 06:39:54PM -0500, Forrest Aldrich wrote:
>
>   
>> On FreeBSD-6-STABLE if I use:
>>
>> tcp_services = "imap imaps http https"
>> rdr pass on $ext_if inet proto tcp from any to $ext_ad \
>>   port { $tcp_services } -> $server
>>
>> it fails.
>>     
>
> I can't confirm that, it works for me (substituting $ext_if, $ext_ad and
> $server with simple values) on 6-release and -stable. What error do you
> get, precisely? Are you sure $tcp_services is the only difference to
> your working ruleset?
>
> Daniel
>   


More information about the freebsd-pf mailing list