diff --git a/usr/local/share/bastille/rdr.sh b/usr/local/share/bastille/rdr.sh index be8c62e2..2490eb2c 100644 --- a/usr/local/share/bastille/rdr.sh +++ b/usr/local/share/bastille/rdr.sh @@ -91,7 +91,7 @@ while [ $# -gt 0 ]; do usage fi ( pfctl -a "rdr/${JAIL_NAME}" -Psn; - printf '%s\nrdr on $ext_if inet proto tcp to port %s -> %s port %s\n' "$EXT_IF" "$2" "$JAIL_IP" "$3" ) \ + printf '%s\nrdr pass on $ext_if inet proto tcp to port %s -> %s port %s\n' "$EXT_IF" "$2" "$JAIL_IP" "$3" ) \ | pfctl -a "rdr/${JAIL_NAME}" -f- shift 3 ;; @@ -100,7 +100,7 @@ while [ $# -gt 0 ]; do usage fi ( pfctl -a "rdr/${JAIL_NAME}" -Psn; - printf '%s\nrdr on $ext_if inet proto udp to port %s -> %s port %s\n' "$EXT_IF" "$2" "$JAIL_IP" "$3" ) \ + printf '%s\nrdr pass on $ext_if inet proto udp to port %s -> %s port %s\n' "$EXT_IF" "$2" "$JAIL_IP" "$3" ) \ | pfctl -a "rdr/${JAIL_NAME}" -f- shift 3 ;;