28.03.2024, 19:09 UhrDeutsch | English
Hallo Gast [ Registrierung | Anmelden ]

Neues Thema eröffnen   Neue Antwort erstellen
Vorheriges Thema anzeigen Druckerfreundliche Version Einloggen, um private Nachrichten zu lesen Nächstes Thema anzeigen
Autor Nachricht
apoptosis
Titel: Ip masquerading help  BeitragVerfasst 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?
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
ockham23
Titel: RE: Ip masquerading help  BeitragVerfasst 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").
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
apoptosis
Titel: RE: Ip masquerading help  BeitragVerfasst 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.
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
Beiträge vom vorherigen Thema anzeigen:     
Gehe zu:  
Alle Zeiten sind GMT + 1 Stunde
Neues Thema eröffnen   Neue Antwort erstellen
Vorheriges Thema anzeigen Druckerfreundliche Version Einloggen, um private Nachrichten zu lesen Nächstes Thema anzeigen
PNphpBB2 © 2003-2007 
 
Deutsch | English
Logos and trademarks are the property of their respective owners, comments are property of their posters, the rest is © 2004 - 2006 by Jörg Schirottke (Kano).
Consult Impressum and Legal Terms for details. Kanotix is Free Software released under the GNU/GPL license.
This CMS is powered by PostNuke, all themes used at this site are released under the GNU/GPL license. designed and hosted by w3you. Our web server is running on Kanotix64-2006.