🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

2 total messages Started by Krzysztof Żurawski Mon, 26 Oct 2009 20:20
freebsd i pf
#21040
Author: Krzysztof Żurawski
Date: Mon, 26 Oct 2009 20:20
13 lines
1172 bytes
witam
mam pytanie do znawcow tamatu pf

jest tak przekierowanie na squida dziala


rdr on $int_if inet proto tcp from any to any port 80 -> 192.168.0.1 
port 8080

ale jak przekierowac konkretnego klienta na inny serwer
#rdr on $int_if inet proto tcp from 192.168.0.240 to any port 80 -> 
192.168.0.222 port 80
ale to nie dziala a juz nie ma pomyslow
Re: freebsd i pf
#21041
Author: Paweł Slotorsz
Date: Mon, 26 Oct 2009 21:10
31 lines
1597 bytes
Dnia 26-10-2009 o 21:20:21 Krzysztof Żurawski <zurawskik@wp.pl> napisał(a):

> witam
> mam pytanie do znawcow tamatu pf
>
> jest tak przekierowanie na squida dziala
>
>
> rdr on $int_if inet proto tcp from any to any port 80 -> 192.168.0.1  
> port 8080
>
> ale jak przekierowac konkretnego klienta na inny serwer
> #rdr on $int_if inet proto tcp from 192.168.0.240 to any port 80 ->  
> 192.168.0.222 port 80
> ale to nie dziala a juz nie ma pomyslow

kolejnosc regul, najpierw to:

> #rdr on $int_if inet proto tcp from 192.168.0.240 to any port 80 ->  
> 192.168.0.222 port 80

a pozniej to:

> rdr on $int_if inet proto tcp from any to any port 80 -> 192.168.0.1  
> port 8080


-- 
Pozdrawiam,

Paweł Slotorsz
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads