Open port via ssh

I am currently remote. I have access to my server via ssh already, but do not have access to my firewall on wan side. I need to open another port. Is it possible to do this over ssh connection to x750? I can get on ssh to x750 via my server over lan, but don’t know how to do port forwarding setting over ssh

Better yet, if someone can tell me how to set a DMZ on the x750 I would appreciate it.

What is your main firewall? X750?

Can you check /etc/config/firewall and find the port forward config?

Check [OpenWrt Wiki] Firewall configuration /etc/config/firewall for general config.

Here is an example of port forward rules

config redirect
        option enabled '1'
        option target 'DNAT'
        option src 'wan'
        option dest 'lan'
        option proto 'tcp udp'
        option src_dport '2222'
        option dest_ip ''
        option dest_port '2222'
        option name 'test'