Re: Inquiry:How to enable NAT on Debian 3.1 ?
On Mon, Nov 23, 2009 at 08:44:06PM +0300, Rakotomandimby Mihamina wrote: 11/23/2009 08:35 PM, Tzafrir Cohen: /me senses a mixing of repositories. /me senses he wants to make things the wrong way. /me senses he refuses to take any advice which might involve learning before typing away at the root prompt. -dsr- -- http://tao.merseine.nu/~dsr/eula.html is hereby incorporated by reference. You can't defend freedom by getting rid of it. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: Inquiry:How to enable NAT on Debian 3.1 ?
On Mon, Nov 23, 2009 at 07:00:00AM +, hadi motamedi wrote: Dear All On my Debian 3.1 , You're not upgrading? I installed the Asterisk 1.4.13 and DECT application software and then when I want to try for NAT You want to use an old and unmaintained Linux system as your firewall? I issue as the followings : #iptables -t nat -A POSTROUTING -s 10.20.30.0/24 -o eth0 -j MASQUERADE But it didn't get through . So I checked if the NAT is enabled on my Debian server , as the followings : #echo 1 /proc/sys/net/ipv4/ip_forward But still I cannot try for NAT . What do you mean? How have you tested that? Can you please let me know which other setings maybe influenced and need to be checked for enabling the NAT ? Thank you in advance Can we have some more details of your network settings? Oh, and: http://www.catb.org/~esr/faqs/smart-questions.html -- Tzafrir Cohen | tzaf...@jabber.org | VIM is http://tzafrir.org.il || a Mutt's tzaf...@cohens.org.il || best ICQ# 16849754 || friend -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: Inquiry:How to enable NAT on Debian 3.1 ?
Thank you for your reply . It returns as the followings when I try for NAT : “iptables v1.2.11 kernel needs to be upgraded”. Can you please let me know what is the problem ? On Mon, Nov 23, 2009 at 9:41 AM, Tzafrir Cohen tzaf...@cohens.org.ilwrote: On Mon, Nov 23, 2009 at 07:00:00AM +, hadi motamedi wrote: Dear All On my Debian 3.1 , You're not upgrading? I installed the Asterisk 1.4.13 and DECT application software and then when I want to try for NAT You want to use an old and unmaintained Linux system as your firewall? I issue as the followings : #iptables -t nat -A POSTROUTING -s 10.20.30.0/24 -o eth0 -j MASQUERADE But it didn't get through . So I checked if the NAT is enabled on my Debian server , as the followings : #echo 1 /proc/sys/net/ipv4/ip_forward But still I cannot try for NAT . What do you mean? How have you tested that? Can you please let me know which other setings maybe influenced and need to be checked for enabling the NAT ? Thank you in advance Can we have some more details of your network settings? Oh, and: http://www.catb.org/~esr/faqs/smart-questions.html -- Tzafrir Cohen | tzaf...@jabber.org | VIM is http://tzafrir.org.il || a Mutt's tzaf...@cohens.org.il || best ICQ# 16849754 || friend -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: Inquiry:How to enable NAT on Debian 3.1 ?
On Mon, Nov 23, 2009 at 10:15:33AM +, hadi motamedi wrote: Thank you for your reply . It returns as the followings when I try for NAT : “iptables v1.2.11 kernel needs to be upgraded”. What exactly do you tried to do? /me senses a mixing of repositories. -- Tzafrir Cohen | tzaf...@jabber.org | VIM is http://tzafrir.org.il || a Mutt's tzaf...@cohens.org.il || best ICQ# 16849754 || friend -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: Inquiry:How to enable NAT on Debian 3.1 ?
11/23/2009 08:35 PM, Tzafrir Cohen: /me senses a mixing of repositories. /me senses he wants to make things the wrong way. -- Architecte Informatique chez Blueline/Gulfsat: Administration Systeme, Recherche Developpement +261 33 11 207 36 -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Inquiry:How to enable NAT on Debian 3.1 ?
Dear All On my Debian 3.1 , I installed the Asterisk 1.4.13 and DECT application software and then when I want to try for NAT I issue as the followings : #iptables -t nat -A POSTROUTING -s 10.20.30.0/24 -o eth0 -j MASQUERADE But it didn't get through . So I checked if the NAT is enabled on my Debian server , as the followings : #echo 1 /proc/sys/net/ipv4/ip_forward But still I cannot try for NAT . Can you please let me know which other setings maybe influenced and need to be checked for enabling the NAT ? Thank you in advance