[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: IP masquerading



Try to install ipmasq with dselect, also it's recommended to install a DHCPD
server to configure the other computers in the network.

IPMASQ does the masquerading from eth1 to eth0 standard, so Eth0 is internet
and eth1 is internal.

Here is a Sample of My dhcpd config file, make sure that eth1 has the IP
number of 192.168.1.1 (in my config)

Example of Dhcpd.conf;

subnet 192.168.1.0 netmask 255.255.255.0 {
range 192.168.1.2 192.168.1.60;
default-lease-time 86400;
max-lease-time 86400;
option routers 192.168.1.1;
option ip-forwarding off;
option broadcast-address 192.168.1.255;
option subnet-mask 255.255.255.0;
option domain-name-servers 62.108.1.65, 62.108.1.66;
}



> Hi,
> 
> I am sorry for a newbie question, but I don't succeed to make my config work.
> My server has two network cards : eth0 ( address 193.262.112.46 ) with a xDSL
> internet connection, and eth1 (address 192.168.0.1) on my private network. On
> this network, I have a coputer (IP address 192.168.0.2) which wants to share
> the internet connection with the server. How can I do that with IP
> masquerading ? I use a kernel 2.4 and iptables.
> 
> Thanks for any help
> 
> Best regards
> 
> 
> --  
> To UNSUBSCRIBE, email to debian-isp-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


________________________________
* J a n  E n n i n g
MoBiLe:06-26 106 926
faX:020 88 26 297
mailto:enning@kleinejan.org
http://www.kleinejan.org
ICQ:5506065




Reply to: