DSL/iptables problem
At work, we have a very small network, just a server and a couple of clients. The server is running SuSE 7.2 on Kernel 2.4.4 and hosts our Samba shares and the clients are mostly WinNT.
I installed PPPoE on the server today and it works very fine on the server itself. But, try as I might, I can't get the clients to connect to a site outside the network.
I am not sure if its a server or a client problem.
I enabled IP_FORWARDING.
I clamped the MRTU.
I played around a bit with iptables:
Then I realized that no client could connect now to Samba and changed to:
But it still won't work.
I also played around with the client settings but NT just does what it wants.
Somebody in here is bound to have done this before.. Could you please give me some pointers where I am going wrong on the server and the clients? Help is greatly appreciated!
I installed PPPoE on the server today and it works very fine on the server itself. But, try as I might, I can't get the clients to connect to a site outside the network.
I am not sure if its a server or a client problem.
I enabled IP_FORWARDING.
I clamped the MRTU.
I played around a bit with iptables:
iptables -A POSTROUTING -t nat -d 0/0 -j MASQUERADEThen I realized that no client could connect now to Samba and changed to:
iptables -A POSTROUTING -t nat -d ! 192.168.20.0/24 -j MASQUERADEBut it still won't work.
I also played around with the client settings but NT just does what it wants.
Somebody in here is bound to have done this before.. Could you please give me some pointers where I am going wrong on the server and the clients? Help is greatly appreciated!
