All of lore.kernel.org
 help / color / mirror / Atom feed
From: ASC - Ronald Roeleveld <r.roeleveld@ascinternational.nl>
To: "'netfilter@lists.netfilter.org'" <netfilter@lists.netfilter.org>
Subject: Port forward
Date: Tue, 4 Feb 2003 11:31:16 +0100	[thread overview]
Message-ID: <D007132BBC42D5118FD20002A52844414BCF2B@ASC01> (raw)

[-- Attachment #1: Type: text/plain, Size: 855 bytes --]

Hi all,
 
Iam trying to set up a port forward for several hours now, but I don't seem
to get it working right.
When I type the following command:
iptables -A PREROUTING -p tcp --destination-port 25 -i eth0 -j DNAT
--to-destination 192.168.22.6:25
I get this output:
iptables: Invalid argument
I did do iptables -X PREROUTING so the chain does exist.
Can anyone please help me out..
What I want is that all incoming connections on eth0 on port 25 are routed
to another machine on the internal network 192.168.22.6
 
Thanks in advance,
Ronald Roeleveld 
System Administrator 

ASCINTERNATIONAL 
Vlietweg 17c, 2266 KA, Leidschendam, The Netherlands 
Tel. +31 (0)70 3178400, Fax +31 (0)70 3204760
E-mail: r.roeleveld@ascinternational.nl
<mailto:r.roeleveld@ascinternational.nl> , Website:
http://www.ascinternational.nl <http://www.ascinternational.nl/>  

 

[-- Attachment #2: Type: text/html, Size: 2524 bytes --]

             reply	other threads:[~2003-02-04 10:31 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-04 10:31 ASC - Ronald Roeleveld [this message]
  -- strict thread matches above, loose matches on Subject: below --
2003-02-04 10:41 Port forward Eugene Joubert
2003-02-04 10:56 ASC - Ronald Roeleveld
2003-02-04 11:53 ` Sven Schuster
2003-02-04 13:11 ASC - Ronald Roeleveld
2003-02-04 13:28 ` Patrick Maartense
2003-02-04 13:31 ` saint
2003-02-04 13:20 Eugene Joubert
2003-02-04 13:43 ASC - Ronald Roeleveld
2003-08-18 22:29 Messages to console Len L.
2003-08-19 10:58 ` André Valente
2003-08-21 13:38   ` Port forward Rimas

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=D007132BBC42D5118FD20002A52844414BCF2B@ASC01 \
    --to=r.roeleveld@ascinternational.nl \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.