firewall limit forward

Support for security such as Firewalls and securing linux
Post Reply
willemdh
Posts: 33
Joined: 2014/05/17 15:00:21
Location: Ghent
Contact:

firewall limit forward

Post by willemdh » 2017/10/27 15:42:20

Hello,

Adding this to public.xml on a CentOS 7 server effectively forwards the traffic from 514 to 5514 (after relading firewalld)

Code: Select all

  <masquerade/>
  <forward-port to-port="5514" protocol="udp" port="514"/>
  <forward-port to-port="5514" protocol="tcp" port="514"/>
But it seems my firewall allows anything now on 514. Is there a way to only allow this only for certain source ip's?

Tx

Willem

Post Reply