Skip to content

Commit 85ea38b

Browse files
chore(PortForward): make 'target' field use internal_direct
1 parent 55e6242 commit 85ea38b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pfSense-pkg-RESTAPI/files/usr/local/pkg/RESTAPI/Models/PortForward.inc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@ class PortForward extends Model {
109109
allow_self: false,
110110
allow_l2tp: false,
111111
allow_pppoe: false,
112+
internal_direct: true,
112113
help_text: 'The IP address or alias of the internal host to forward matching traffic to.',
113114
);
114115
$this->local_port = new PortField(

0 commit comments

Comments
 (0)