lefthook Posted March 26, 2003 Report Share Posted March 26, 2003 Hi! Im working with a network like: clients-------switch----eth1--linux--eth0--------internet & rules for masquerading: iptables -A POSTROUTING -t nat -s 192.168.200.0/24 -j MASQUERADE iptables --append FORWARD --in-interface eth1 -j ACCEPT echo 1 > /proc/sys/net/ipv4/ip_forward if a bad configured client is connected to switch LM 9 starts to freeze? How to protect? What it could be, double IPs? For example: 192.168.200.65 and 11 work very well, but if I connect a machine 192.168.200.93 everything starts to freeze. I just & just can see with iptraf that it is the machine 93. The router has P4 & 256MB. Quote Link to comment Share on other sites More sharing options...
lefthook Posted March 27, 2003 Author Report Share Posted March 27, 2003 And it does not help if I put: iptables -A INPUT -s 192.168.200.93 -j DROP Quote Link to comment Share on other sites More sharing options...
MottS Posted March 27, 2003 Report Share Posted March 27, 2003 I know nothing about Iptable commands but I configured ICS on my server with the wizard in the MCC and it works #1. What about trying it? From the MCC go 'Network and internet' and clic 'Internet Connection Sharing'. It will install (probably already done) and configure a dhcp server, a firewall (shorewall) and the rules for ip masquerading. You should not have problems after that... Btw, I have the same setup as you. 2 computers are connected to the switch and I can plug 3 mores if I want. HTH MOttS Quote Link to comment Share on other sites More sharing options...
lefthook Posted March 27, 2003 Author Report Share Posted March 27, 2003 I think it was only: echo 1 > /proc/sys/net/ipv4/conf/all/rp_filter what I missed... Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.