Hello 
    I was trying to make my linux machine Internet
gateway for all other machine to access net by
following PCquest articel " Linux as Your Internet
Gateway "
My "/etc/sysconfig/network" is as follows

NETWORKING=yes
HOSTNAME=server2
FORWARD_IPV4=yes
GATEWAYDEV=
GATEWAY=

Then I did flushing of all existing rules of Firelwall
(-F)
"/sbin/ipfwadm -F -f"

then did set default policy of
"/sbin/ipfwadm -F -a accept m  -S 192.168.100.3/24 -D
0.0.0.0/0"

then this error comes
 unexpected argument 'm', I tried mith +m then also
the same error 
later on i did the command without giving "m" like

"/sbin/ipfwadm -F -a accept -S 192.168.100.3/24  -D
0.0.0.0/0"
it took it without any error
as it is given that "m" parameter turns on
masquerading on all packets to make it appear as if
they orginate from the gateway.

without giving "m" parameter will it have some problem
on the browsing from clients

the contents of "/etc/rc.d/rc.fw" is
#!/bin/sh
/sbin/ipchains -F
/sbin/ipcahins -P forward DENY
/sbin/ipchains -A forward -s
192.168.100.0/255.255.255.0 -j MASQ
/sbin/ipchains -L


now when i connected to net, from the nodes  it was
able to browse. they were able to use Yahoo Messenger.
But I want "ping,telnet,mail, MSN messenger " clients
from the nodes to work. What more should i do to
enable "ping,telnet,mailclients,MSN mesenger" to work
behind the proxy  
                          Thanks in advance
                            Joseph 
      


__________________________________________________
Do You Yahoo!?
Send instant messages with Yahoo! Messenger.
http://im.yahoo.com/

-----------------------------------------------------------------------
The LIH mailing list archives are available at:
http://lists.linux-india.org/cgi-bin/wilma/linux-india-help

Reply via email to