How Do I Setup Port Forwarding in Linux?
Contents How Do I Manually Set Port Forwarding? Set up Port Forwarding Log in to the Router as Admin. … Locate the Port Forwarding Options. … Type the Port...
Contents
How do I manually set port forwarding?
Set Up Port Forwarding
- Log in to the router as admin. …
- Locate the port forwarding options. …
- Type the port number or port range that you want to forward. …
- Choose a protocol, either TCP or UDP. …
- Type the static IP address you chose. …
- Enable the port forwarding rule with an Enable or On option.
11 сент. 2020 г.
How do I redirect a port in Linux?
To redirect the port:
- Redirect the port 80 to port 88 for TCP traffic: ~]# firewall-cmd –add-forward-port=port=80:proto=tcp:toport=88.
- Make the new settings persistent: ~]# firewall-cmd –runtime-to-permanent.
- Check that the port is redirected: ~]# firewall-cmd –list-all.