2.2.3.4. Assign Static Ports and Use iptables Rules
The following iptables rules can then be used to enforce which network the server listens to for these ports:
This means that the server only allows connections to ports 834 and 835 if the requests come from the 192.168.0.0/24 network, regardless of the protocol.