[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freebsd-hackers
Subject:    Re: Fun with PF & redirection
From:       Julian Elischer <julian () freebsd ! org>
Date:       2014-12-22 22:09:12
Message-ID: 54989688.9050601 () freebsd ! org
[Download RAW message or body]

On 12/22/14 8:48 PM, krad wrote:
> should that be 5044:65334 rather than 65334:5044?
> also make sure you are not filtering ports 5044-65334 and that the $spoof_port
> isnt filtered
>
> On 21 December 2014 at 20:40, Stephen Hocking <stephen.hocking@gmail.com>
> wrote:
>
>> Hi all,
>>
>> I'm using PF on a 10.1 box, and am trying to redirect a range of ports to a
>> single port, with a rule like this:
>>
>> rdr on $ext_if proto tcp from any to any port 65334:5044 -> $spoof_host
>> port $spoof_port
>>
>> spoof_host has been set to 127.0.0.1.
>>
>> This does not seem to work. Any ideas?
use ipfw?
   fwd 127.0.0.1:$spoof_port tcp from any to me 5044-65334
>>
>>     Stephen
>> _______________________________________________
>> freebsd-hackers@freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
>> To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"
>>
> _______________________________________________
> freebsd-hackers@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"
>
>

_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic