Hello, everyone!
I am currently trying to configure my RT-AC66U router (running Merlin's firmware version 376.48_3) to allow incoming VoIP packets through UDP port 5090. I have added the following code to the firewall-start script within /jffs/scripts/:
Immediately after executing this script, I attempt a test call and the router's system log shows the following entries:
The following is displayed:
Thanks for your time!
- TangoMike
I am currently trying to configure my RT-AC66U router (running Merlin's firmware version 376.48_3) to allow incoming VoIP packets through UDP port 5090. I have added the following code to the firewall-start script within /jffs/scripts/:
Code:
chmod a+rx /jffs/scripts/*
#!/bin/sh
iptables -I FORWARD 1 -p udp --dport 5090 -j ACCEPT
logger -t "$0" "'firewall-start' has been executed."
The router is clearly still dropping these packets. If I run the following command:Nov 22 18:55:17 firewall-start: 'firewall-start' has been executed.
Nov 22 18:56:02 kernel: DROP <4>DROP IN=eth0 OUT= MAC=/*router/* <1>SRC=108.168.254.32 DST=73.176.128.215 <1>LEN=1180 TOS=0x00 PREC=0x20 TTL=52 ID=0 DF PROTO=UDP <1>SPT=5090 DPT=41397 LEN=1160
Nov 22 18:56:02 kernel: DROP <4>DROP IN=eth0 OUT= MAC=/*router/* <1>SRC=108.168.254.32 DST=73.176.128.215 <1>LEN=1180 TOS=0x00 PREC=0x20 TTL=52 ID=0 DF PROTO=UDP <1>SPT=5090 DPT=41397 LEN=1160
Nov 22 18:56:03 kernel: DROP <4>DROP IN=eth0 OUT= MAC=/*router/* <1>SRC=108.168.254.32 DST=73.176.128.215 <1>LEN=1180 TOS=0x00 PREC=0x20 TTL=52 ID=0 DF PROTO=UDP <1>SPT=5090 DPT=41397 LEN=1160
Code:
iptables -L FORWARD -v
These packets should clearly be allowed. Why is this happening?Chain FORWARD (policy DROP 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
57 29893 ACCEPT udp -- any any anywhere anywhere udp dpt:5090
Thanks for your time!
- TangoMike