| 
 
				
					| 
  
  
    | Autor | Nachricht |  
    |  | 
        
					| Titel: Ip masquerading help  Verfasst am: 30.08.2006, 07:33 Uhr |  |  
    | 
        
          | 
 
 Anmeldung: 30. Aug 2006
 Beiträge: 3
 
 
 |  | 
        
          | Hi, Im new to linux and having trouble with this: http://kanotix.com/FAQ-id_cat-23.html the client connection isn't working. Well, it kinda works....my connection just times out. Anyone know how to fix this? |  
          |  |  
         
	        |  |  |  
    |  |  
    |  |  
    |  | 
        
					| Titel: RE: Ip masquerading help  Verfasst am: 30.08.2006, 09:28 Uhr |  |  
    | 
        
          | 
  
 Anmeldung: 25. Mar 2005
 Beiträge: 2133
 
 
 |  | 
        
          | Here's what I do. On the server
 - edit dnsmasq.conf as described in the FAQ,
 - run netcardconfig and assign a static IP address to the network card (e.g., 192.168.0.1), confirm default values for network mask and broadcast, but delete default values for gateway and nameserver, these fields must be empty,
 - start dhcp server /etc/init.d/dnsmasq start,
 - enable IP forwarding/masquerading.
 The appropriate commands are:
 Code: 
su
netcardconfig
 mcedit /etc/dnsmasq.conf
 /etc/init.d/dnsmasq start
 masquerade
 
 Important: By default, masquerade will forward client requests to interface ppp0. If you use another interface to connect to the Internet (e.g., eth1), you must edit the script and replace "ppp0" with "eth1".
 Code: 
mcedit /usr/sbin/masquerade
 On the client just run netcardconfig and set the network card to use DHCP.
 |  
          | _________________
 And I ain't got no worries 'cause I ain't in no hurry at all (Doobie Brothers, "Black Water").
 |  
         
	        |  |  |  
    |  |  
    |  |  
    |  | 
        
					| Titel: RE: Ip masquerading help  Verfasst am: 30.08.2006, 09:55 Uhr |  |  
    | 
        
          | 
 
 Anmeldung: 30. Aug 2006
 Beiträge: 3
 
 
 |  | 
        
          | Thanks a lot! I needed to edit the masquerade script to the correct interface. |  
          |  |  
         
	        |  |  |  
    |  |  
    |  |  
    |  |  |  |