Linux Netfilter discussions
 help / color / mirror / Atom feed
From: "Massimo Balestra" <m.balestra@reply.it>
To: netfilter@lists.samba.org
Subject: udp packet on port 111
Date: Wed, 14 May 2003 15:29:16 +0200	[thread overview]
Message-ID: <004401c31a1c$d16b6a30$01640d0a@replynet.prv> (raw)
In-Reply-To: <004001c31a0a$5cf103c0$09603fca@Housecall>


Hi everybody,

I have problem with iptables and maybe somebody can help me to find a
solution.

I need to connect to another network through a ppp connection.

What I did has been: to set the ppp connection and set iptables to forward
the packets with the remote network as destination to the ppp.
Then I set the route of my pc using the linux machine as the gateway.

Everything works well, http, ssh, xwindows, is all OK. I can also enter into
a Cisco VPN in the remote network.
There is only one application that does not work.

I don't know how this application is done. I simply did a tcpdump while I
was using this application.
Note: the ping from my pc to the destination server works. Only this
application doesn't. Unfortunately it is a windows application. Looks that
this application receives and sends udp packets but they are not forwarded
correctly.

Here is the tcpdump / windump result. (sunrpc is port 111)

------------------------------
on the gateway machine:
tcpdump -i ppp0

15:02:30.528227 10.5.17.21.1491 > 10.21.109.84.sunrpc:  udp 56
15:02:30.675801 10.21.109.46.sunrpc > 10.5.17.21.1491:  udp 28 (DF)
15:02:30.675840 10.5.17.21 > 10.21.109.46: icmp: 10.5.17.21 udp port 1491
unreachable [tos 0xc0]
15:02:45.530046 10.5.17.21.1491 > 10.21.109.84.sunrpc:  udp 56
15:02:45.728534 10.21.109.46.sunrpc > 10.5.17.21.1491:  udp 28 (DF)
15:02:45.728564 10.5.17.21 > 10.21.109.46: icmp: 10.5.17.21 udp port 1491
unreachable [tos 0xc0]
15:03:15.548364 10.5.17.21.1491 > 10.21.109.84.sunrpc:  udp 56
15:03:15.683612 10.21.109.46.sunrpc > 10.5.17.21.1491:  udp 28 (DF)
15:03:15.683641 10.5.17.21 > 10.21.109.46: icmp: 10.5.17.21 udp port 1491
unreachable [tos 0xc0]

-----------------------
On my pc:
windump -p udp
15:03:10.320679 IP platone.replynet.prv.1491 > ttsat.111: udp 56
15:03:25.319739 IP platone.replynet.prv.1491 > ttsat.111: udp 56
15:03:55.332502 IP platone.replynet.prv.1491 > ttsat.111: udp 56

Can someone help me?
Thanks

Massimo



      parent reply	other threads:[~2003-05-14 13:29 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-13 15:13 iptables problem hare ram
2003-05-13 17:02 ` Guilherme Viebig
2003-05-14 11:17   ` hare ram
2003-05-14 11:38     ` Bikrant Neupane
2003-05-14 13:29     ` Massimo Balestra [this message]

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='004401c31a1c$d16b6a30$01640d0a@replynet.prv' \
    --to=m.balestra@reply.it \
    --cc=netfilter@lists.samba.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