From: "Leonardo Rodrigues Magalhães" <leolistas@solucoesip.net>
To: netfilter@lists.netfilter.org, Robert Jones <rjonese@shaw.ca>
Subject: Re: iptables and port 113/auth requests
Date: Tue, 4 Feb 2003 20:00:37 -0300 [thread overview]
Message-ID: <000c01c2cca1$3b8ccf40$3201a8c0@ESTACAO> (raw)
In-Reply-To: 000801c2cc97$6a1feb80$0201a8c0@robs
If only a single user ( and no more than one ) requires this, you could
try forwarding in PREROUTING, like:
iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 113 -j DNAT --to
192.168.1.XX:113
It should work. But this will redirect ALL ident connections that reach
your machine to internal user machine. It's impossible to know if it's an
mirc ident request or if it's a sendmail ident request for example.
Sincerily,
Leonardo Rodrigues
----- Original Message -----
From: Robert Jones
To: netfilter@lists.netfilter.org
Sent: Tuesday, February 04, 2003 6:50 PM
Subject: iptables and port 113/auth requests
I am trying to build a firewall and i have a problem
i have redhat 8.0
2 nic cards eth0 and eth1..... eth0 being external eth1 being internal
eth0 is connected to a cable modem. gets its ip via dhcp
i run a dhcpd server on my eth1
int lan is 192.168.1.0
trying to set up ip masquerading for my int lan
some of my users use mirc on irc servers that required an ident reply (port
113)
i would like the ident requests from the irc server to be fowarded to the
int lan so that mirc can reply to the requests
i domt know if this is even possible but was wondering if anyone could help
me
prev parent reply other threads:[~2003-02-04 23:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-02-04 21:50 iptables and port 113/auth requests Robert Jones
2003-02-04 22:25 ` Rob Sterenborg
2003-02-04 23:00 ` Leonardo Rodrigues Magalhães [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='000c01c2cca1$3b8ccf40$3201a8c0@ESTACAO' \
--to=leolistas@solucoesip.net \
--cc=netfilter@lists.netfilter.org \
--cc=rjonese@shaw.ca \
/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.