The problem is:
I connect to my ISP via TA-router(ISDN)and it's connected to my RedHat6.0
via LAN,my client (win) and the linux can reach the internet.But every time
when i try to connect to a server that needs identd my connection it's
refused,for example Mirc on EFNET,here is a example:
*** Connecting to irc-w.primenet.com (6667)
Local host: unknown (210.163.187.235)
-irc-w.primenet.com- *** Looking up your hostname...
-irc-w.primenet.com- *** Found your hostname, cached
-irc-w.primenet.com- *** Checking Ident
-irc-w.primenet.com- *** No Ident response
-irc-w.frontiernet.net- *** Notice -- It seems that you don't have identd
installed on your host.
-irc-w.frontiernet.net- *** Notice -- If you wish to have your username show
up without the ~ (tilde),
-irc-w.frontiernet.net- *** Notice -- then install identd.
Closing Link: p06-dn06okazaki.aichi.ocn.ne.jp (Please run Identd to use
primenet. (1998/09/18 08.37))
Any one know how can i fix this mess?I tryed to use ALL the masq options
with ipchains in IPCHAINS-HOWTO,but no success.
Here is the configuration os the server and client.
Win98:I've set the gateway with the IP of my RedHat6.0,and i did not sign an
IP,netmask ou DNS.
Linux RedHat:
IP forwarding ok,runing a cached DNS with no valid names out my network(just
for internal proposes).Linux Gateway is the ROUTER IP.
ROUTER IP = 192.168.0.1
LINUX IP = 192.168.0.3
WIN IP(AUTO)= 192.168.0.2
ISP primary DNS = 203.139.161.40
Others:
/sbin/ifconfig eth0 192.168.0.3 netmask 255.255.255.0 up
/sbin/depmod -a
/sbin/modprobe ip_masq_irc port=6666,6667,6668,6669
some ipchain rules that i've used:
ipchains -M -S 7200 10 160
ipchains -F forward
ipchains -P forward REJECT
ipchains -F input
ipchains -P input REJECT
ipchains -F output
ipchains -P output REJECT
ipchains -A input -i eth0 -s 192.168.0.0/24 -d 0.0.0.0/0 -j ACCEPT
ipchains -A input -i eth0 -s 192.168.0.0/24 -d 0.0.0.0/0 -l -j REJECT
ipchains -A input -i eth0 -s 0.0.0.0/0 -d 192.168.0.3/32 -j ACCEPT
ipchains -A input -i lo -s 0.0.0.0/0 -d 0.0.0.0/0 -j ACCEPT
ipchains -A input -s 0.0.0.0/0 -d 0.0.0.0/0 -l -j REJECT
ipchains -A forward -s 192.168.0.0/24 -j MASQ
And many others rules on IP-Masquerade-HOWTO.
Thanks!
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com
--
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.