Advertisement
cayenne79

Untitled

Jul 31st, 2020
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.20 KB | None | 0 0
  1. root@OpenMPTCProuter:~# iptables-save | grep udp
  2. -A zone_lan_helper -p udp -m comment --comment "!fw3: Amanda backup and archiving proto" -m udp --dport 10080 -j CT --helper amanda
  3. -A zone_lan_helper -p udp -m comment --comment "!fw3: RAS proto tracking" -m udp --dport 1719 -j CT --helper RAS
  4. -A zone_lan_helper -p udp -m comment --comment "!fw3: SIP VoIP connection tracking" -m udp --dport 5060 -j CT --helper sip
  5. -A zone_lan_helper -p udp -m comment --comment "!fw3: SNMP monitoring connection tracking" -m udp --dport 161 -j CT --helper snmp
  6. -A zone_lan_helper -p udp -m comment --comment "!fw3: TFTP connection tracking" -m udp --dport 69 -j CT --helper tftp
  7. -A OUTPUT -p udp -m multiport --ports 123,53 -j DSCP --set-dscp 0x24
  8. -A dscp_postrouting -p udp -m multiport --sports 53,123,5353 -m multiport --dports 0:65535 -m comment --comment "DNS udp and NTP" -j DSCP --set-dscp 0x28
  9. -A dscp_postrouting -p udp -m multiport --sports 53,123,5353 -m multiport --dports 0:65535 -m comment --comment "DNS udp and NTP" -j RETURN
  10. -A dscp_postrouting -p udp -m multiport --sports 0:65535 -m multiport --dports 65001 -m comment --comment "OMR vpn" -j DSCP --set-dscp 0x30
  11. -A dscp_postrouting -p udp -m multiport --sports 0:65535 -m multiport --dports 65001 -m comment --comment "OMR vpn" -j RETURN
  12. -A dscp_prerouting -p udp -m multiport --sports 53,123,5353 -m multiport --dports 0:65535 -m comment --comment "DNS udp and NTP" -j DSCP --set-dscp 0x28
  13. -A dscp_prerouting -p udp -m multiport --sports 53,123,5353 -m multiport --dports 0:65535 -m comment --comment "DNS udp and NTP" -j RETURN
  14. -A dscp_prerouting -p udp -m multiport --sports 0:65535 -m multiport --dports 65001 -m comment --comment "OMR vpn" -j DSCP --set-dscp 0x30
  15. -A dscp_prerouting -p udp -m multiport --sports 0:65535 -m multiport --dports 65001 -m comment --comment "OMR vpn" -j RETURN
  16. -A omr-bypass -p udp -m udp --dport 27015:27050 -j MARK --set-xmark 0x5393/0xffffffff
  17. -A zone_lan_forward -p udp -m comment --comment "!fw3: Allow-Lan-to-Wan" -j zone_wan_dest_ACCEPT
  18. -A zone_vpn_input -p udp -m udp --dport 67 -m comment --comment "!fw3: Allow-DHCP-Request-VPN" -j ACCEPT
  19. -A zone_wan_input -p udp -m udp --dport 68 -m comment --comment "!fw3: Allow-DHCP-Renew" -j ACCEPT
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement