* iptables and port 113/auth requests
@ 2003-02-04 21:50 Robert Jones
2003-02-04 22:25 ` Rob Sterenborg
2003-02-04 23:00 ` Leonardo Rodrigues Magalhães
0 siblings, 2 replies; 3+ messages in thread
From: Robert Jones @ 2003-02-04 21:50 UTC (permalink / raw)
To: netfilter
[-- Attachment #1: Type: text/plain, Size: 584 bytes --]
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
[-- Attachment #2: Type: text/html, Size: 1297 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* RE: iptables and port 113/auth requests
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
1 sibling, 0 replies; 3+ messages in thread
From: Rob Sterenborg @ 2003-02-04 22:25 UTC (permalink / raw)
To: netfilter
> 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
Did you try using (as one of the first rules) :
iptables -A FORWARD -m state --state RELATED,ESTABLISHED -j ACCEPT
Rob.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: iptables and port 113/auth requests
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
1 sibling, 0 replies; 3+ messages in thread
From: Leonardo Rodrigues Magalhães @ 2003-02-04 23:00 UTC (permalink / raw)
To: netfilter, Robert Jones
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2003-02-04 23:00 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 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.