I'm trying to set up masq for the first time on my RedHat 5.0 machine. I
followed all the instructions in the HOW-TO, I have a good PPP link
established and can telnet from the Linux machine to the outside world. I
can also Telnet to the Linux machine from my other machines, but when I try
to Telnet through the Linux machine from another machine I get no response.
According to the packet stats in ipfwadm no packets were received. I've
tried this from another Linux machine aswell as a Mac, both with the masq
machine set as the gateway.
I manually configured ipfwadm with the following lines:
ipfwadm -F -p deny
ipfwadm -F -a m -S 192.168.1.0/24 -D 0.0.0.0/0
I also rebuilt the kernel with the following configuration:
#
# Networking options
#
CONFIG_FIREWALL=y
CONFIG_NET_ALIAS=y
CONFIG_INET=y
CONFIG_IP_FORWARD=y
CONFIG_IP_MULTICAST=y
CONFIG_SYN_COOKIES=y
# CONFIG_RST_COOKIES is not set
CONFIG_IP_FIREWALL=y
CONFIG_IP_FIREWALL_VERBOSE=y
CONFIG_IP_MASQUERADE=y
#
# Protocol-specific masquerading support will be built as modules.
#
CONFIG_IP_MASQUERADE_IPAUTOFW=y
CONFIG_IP_MASQUERADE_ICMP=y
CONFIG_IP_TRANSPARENT_PROXY=y
CONFIG_IP_ALWAYS_DEFRAG=y
CONFIG_IP_ACCT=y
# CONFIG_IP_ROUTER is not set
CONFIG_NET_IPIP=m
# CONFIG_IP_MROUTE is not set
CONFIG_IP_ALIAS=m
I've also tried it with gated disabled with the same results. I'm really at
a loss as to what I did wrong here.
--
Carl MacDonald (aka Scotsman)
Senior Software Engineer
Communities.Com
http://www.teleport.com/~carlm
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For daily digest info, email [EMAIL PROTECTED]