Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Paul Goodyear <pgudge@gmail.com>
To: netfilter@lists.netfilter.org
Subject: iptables on DLink DSL-502T Modem/Router
Date: Tue, 8 Nov 2005 01:47:00 +0000	[thread overview]
Message-ID: <cc8f3f150511071747m64e3841ava98596bfe776fcf3@mail.gmail.com> (raw)

Hi all,

Does iptables version v1.2.6a support forwarding from a source IP?

The reason I ask, is I have a DLink DSL-502T modem router, the router
has linux on and running iptables.

The webadmin for the router does not allow you to create ip filters,
port forwarding is there but not filtering.

I want to allow access to port 3389 from only 1 internet IP address.
Should this work? (81.81.81.81 being an example)

iptables -A INPUT -s 81.81.81.81 -d 192.168.1.2 -p tcp --dport 3389 -j ACCEPT

The router does no allow me to connect in once this rule is in iptables.

Thanks.

Paul.


             reply	other threads:[~2005-11-08  1:47 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-08  1:47 Paul Goodyear [this message]
2005-11-08  2:31 ` iptables on DLink DSL-502T Modem/Router /dev/rob0
2005-11-08 20:39   ` Paul Goodyear
2005-11-08 20:58     ` iptables on DLink DSL-502T Modem/Router (nfcan: addressed to exclusive sender for this address) Jim Laurino
2005-11-08 21:16     ` iptables on DLink DSL-502T Modem/Router /dev/rob0
2005-11-08 21:57       ` Paul Goodyear
2005-11-08 22:28         ` /dev/rob0
2005-11-09  0:57           ` Paul Goodyear
2005-11-09  1:04 ` Anthony Sadler

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=cc8f3f150511071747m64e3841ava98596bfe776fcf3@mail.gmail.com \
    --to=pgudge@gmail.com \
    --cc=netfilter@lists.netfilter.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