iptables, voip, mac match
hello,
just reporting a funny one:
One of our clients was trying to use a VOIP application through a linux gateway (iptables-1.2.3). The client had a MAC address of a:b:c:d:e:f and an IP address of 1.2.3.4
When I used this rule on the gateway (FORWARD policy DROP):
iptables -A INPUT -i eth1 -m mac --mac a:b:c:d:e:f -j ACCEPT
- the client could not establish an audio channel to his VOIP
server
But when I used this line:
iptables -A INPUT -i eth1 -s 1.2.3.4 -j ACCEPT
- he could make calls fine.
Just in case anyone runs over this in future. It was unexpected, to say the least. As far as I understand it, both lines should have worked.
Gavin
Quoted 10 lines · Gavin
hello,
just reporting a funny one:
One of our clients was trying to use a VOIP application through a linux gateway (iptables-1.2.3). The client had a MAC address of a:b:c:d:e:f and an IP address of 1.2.3.4
When I used this rule on the gateway (FORWARD policy DROP):
iptables -A INPUT -i eth1 -m mac --mac a:b:c:d:e:f -j ACCEPT
--mac-source ???
Quoted 2 lines
- the client could not establish an audio channel to his VOIP
server
rday
Quoted 8 lines · Gavin
Quoted 7 lines
hello,
just reporting a funny one:
One of our clients was trying to use a VOIP application through a linux gateway (iptables-1.2.3). The client had a MAC address of a:b:c:d:e:f
and an
Quoted 6 lines
Quoted 4 lines
IP address of 1.2.3.4
When I used this rule on the gateway (FORWARD policy DROP):
iptables -A INPUT -i eth1 -m mac --mac a:b:c:d:e:f -j ACCEPT--mac-source ???
= same command, works as an
abbreviation.
Quoted 8 lines
Quoted 3 lines
- the client could not establish an audio channel to his VOIP
serverrday
Quoted 11 lines · Gavin
Quoted 8 lines · Gavin
Quoted 7 lines
hello,
just reporting a funny one:
One of our clients was trying to use a VOIP application through a linux gateway (iptables-1.2.3). The client had a MAC address of a:b:c:d:e:f
and an
Quoted 2 lines
Quoted 2 lines
IP address of 1.2.3.4
Quoted 7 lines
Quoted 4 lines
Quoted 2 lines
When I used this rule on the gateway (FORWARD policy DROP):
iptables -A INPUT -i eth1 -m mac --mac a:b:c:d:e:f -j ACCEPT--mac-source ???= same command, works as an
abbreviation.
ah, something else that's not mentioned in the man page anywhere. i *must* start making a list of these things. :-)
rday