|
|
|
Re: Masquerade UDP doesn't work | |
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] | |
On 2012-02-09 05:35, Enrique Huerta de la Fuente wrote:
Hello, Masquerade do not work at a UDP port, but if it works at a TCP port. (works) iptables -t nat -I POSTROUTING -m tcp -p tcp --dport 22 -o ppp0 -j MASQUERADE (not working) iptables -t nat -I POSTROUTING -m udp -p udp --dport 1195 -o ppp0 -j MASQUERADE
The "-m udp" confuses me. Do you really need to specify that module, try it without the -m option for UDP, I don't tend to use it for TCP either, but if it's not broken, don't fix it...
-- Message sent via my webmail account. -- To unsubscribe from this list: send the line "unsubscribe netfilter" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html
![]() |
![]() |