Hello everyone,
I just set a pf.conf file with the following entries:
When I ran
I get the following:
It look like nothing has been is inserted.
Could anyone please advise on how I could solve this issue?
Thank you in advance
Fred
I just set a pf.conf file with the following entries:
Code:
### Interfaces ###
ext_if = bge0
int_if = lo1
### Jails ###
Nginx_jail = 192.168.0.001
MySQL_jail = 192.168.0.002
Nginx_ports = "{ http,https }"
MySQL_ports = "{ 3306 }"
### general ###
scrub in all # normalize packets
nat on $ext_if from 192.168.0.0/24 to any -> ($ext_if)
table persist
### translations ###
rdr on $ext_if proto tcp from any to $ext_if port $Nginx_ports -> $Nginx_jail
rdr on $ext_if proto tcp fron any to $ext_if port $MySQL_ports -> $MySQL_jail
### more general ###
block drop in quick inet from to any
antispoof for $ext_if # prevent several spoofing attacks
root@FreeBSD:~ # pfctl -sn
I get the following:
Code:
No ALTQ support in kernel
ALTQ related functions disabled
Could anyone please advise on how I could solve this issue?
Thank you in advance
Fred