Hello, I'm trying to get my jails working but I have a problem. Indeed, only ICMP connections work, I can't stat the problem.
Here is my pf.conf
Commented lines are useless for fixing the problem. 192.168.50.2 is the ip of my jail; 192.168.1.0/24 is my network.
Thank you.
Here is my pf.conf
Code:
#Macro
int_if = "fxp0"
# Tables
table <flood> persist
table <*beep**beep**beep**beep*er> persist
# Rules
set skip on lo0
set skip on lo1
scrub in all
nat on $int_if from lo1 to any -> ($int_if)
antispoof for fxp0 inet
block log all # Drop all
pass quick log on $int_if proto { icmp icmp6 } # Allow ping
pass out log on $int_if all
pass in quick on $int_if proto tcp from 192.168.1.29 to 192.168.1.40 port ssh
#pass in log on $int_if inet proto tcp from any to 192.168.1.40 port 30000 synproxy state (max-src-conn-rate 3/20, overload <flood> flush global)
#pass in quick log on $int_if proto tcp from 192.168.1.0/24 to 192.168.1.40 port 9050
#pass in log on $int_if proto tcp from {!192.168.1.0/24, 10.0.0.0/24} to 192.168.1.40 port 9001
pass in quick log on $int_if from 192.168.50.2 to any
#block quick on $int_if from <flood>
#block quick on $int_if from <*beep**beep**beep**beep*er>
Commented lines are useless for fixing the problem. 192.168.50.2 is the ip of my jail; 192.168.1.0/24 is my network.
Thank you.