Difference: ECAD0Firewalld (3 vs. 4)

Revision 420 Nov 2020 - BarryGreen

Line: 1 to 1
META TOPICPARENT name="JackAudioConnectionKitNotes"
firewall-cmd --zone=public --permanent --add-port=0-65535/tcp

firewall-cmd --zone=public --add-port=0-65535/tcp

firewall-cmd --zone=public --permanent --add-port=0-4463/udp

firewall-cmd --zone=public --add-port=0-4463/udp

firewall-cmd --zone=public --permanent --add-port=4471-65535/udp

firewall-cmd --zone=public --add-port=4471-65535/udp

systemctl enable firewalld

systemctl start firewalld

this should allow all ports through except 4454 to 4470 udp. Others are blocked by primary firewall.

Trying to add hole

sudo firewall-cmd --add-rich-rule='rule family=ipv4 source address= accept'

not working
this worked:

firewall-cmd --zone=jackson --add-rich-rule='rule family=ipv4 source address= port port=4470 protocol=udp accept'

jackson rules. Add interface to make active

jackson (active)
target: default
icmp-block-inversion: no
interfaces: bond0.108
services: ssh
ports: 4471-65535/udp 0-4463/udp 0-65535/tcp
masquerade: no
rich rules:
rule family="ipv4" source address="" port port="4470" protocol="udp" accept

rich rule added to open up port 4470

  How to get ip address of connected
$ set -- $SSH_CLIENT
$ echo $1

$1 is the ip address
\ No newline at end of file
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2021 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding RHUL Physics Department TWiki? Send feedback