forwarding networking ports in Centos 7

how to forward port  in firewalld...? in my source ip I want to connect on port 80 and have firewalld port forward to 2566. ...?

Tags: CentOS
user image Author :   albiejames
0

just follow the below steps...

firewall-cmd --permanent --add-rich-rule ' rule family="ipv4" source address = "source ip" forward-port port="2566" protocol = "tcp" to-port="80"' '

user image
arunkumarak December 06, 2017
Add comment