Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Enrique Huerta de la Fuente <ehuerta@ixer.mx>
To: netfilter@vger.kernel.org
Subject: Masquerade UDP doesn't work
Date: Wed, 8 Feb 2012 23:35:47 -0600 (CST)	[thread overview]
Message-ID: <29809830.2793.1328765747294.JavaMail.root@ixer.mx> (raw)
In-Reply-To: <9435037.2791.1328765711483.JavaMail.root@ixer.mx>

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


Any ideas?

regards

E.Huerta
 

       reply	other threads:[~2012-02-09  5:35 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <9435037.2791.1328765711483.JavaMail.root@ixer.mx>
2012-02-09  5:35 ` Enrique Huerta de la Fuente [this message]
2012-02-09 11:05   ` Masquerade UDP doesn't work Giles Coochey
2012-02-14  1:09     ` Jan Engelhardt
     [not found] <1993130.2906.1328852412074.JavaMail.root@ixer.mx>
2012-02-10  5:41 ` Enrique Huerta de la Fuente

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=29809830.2793.1328765747294.JavaMail.root@ixer.mx \
    --to=ehuerta@ixer.mx \
    --cc=netfilter@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox